Developer Docs
Agent Patterns
Common REST and MCP workflows for external agents.
Project Status Briefing
Use MCP when the caller is an agent:
get_projectget_project_readiness_rollupget_project_workstreamscalendar.list_eventsget_project_economicswhen the key has PM/admin scope
Return links back to the app instead of duplicating editable UI.
QA Extension And Site Review
Use REST for browser extension runtime calls:
GET /api/qa-extension/client-bootstrapGET /api/projects/{id}/qa-configPOST /api/projects/{id}/qa-items
Use willa-qa-extension or a scoped user key. Keep screenshots and attachment uploads out of prompt context unless the workflow explicitly needs visual analysis.
Meeting Notes Ingestion
Use REST or MCP depending on source:
- Slack slash command or external transcript tool:
POST /api/meeting-transcripts - Agent tool call:
meeting_transcript.ingest
Store plaintext transcripts as documents and extract structured actions/decisions through the shared ingestion helper.
Shopify App Coordination
Use:
GET /api/shopify/app-bootstrapGET /api/shopify/store-snapshotsPOST /api/shopify/staged-actions- MCP
shopify_staged_action_create
Staged actions are submitted for Willa approval. Agents should not execute irreversible Shopify writes directly.
Figma Section Ledger
Use:
GET /api/figma/projects/resolvePOST /api/figma/section-ledgersPOST /api/figma/section-ledgers/{id}/events- MCP
list_figma_section_ledgers - MCP
get_figma_comment_mirror
Agents should preserve the distinction between internal and client Figma files.