POST /mcp. Open a session with initialize
first (Transport). Authorization runs in the gateway before
retrieval: the model never sees mail outside the grant.
Catalog
raw_read and send always phone-approve. Other tiers may auto-run after a grant.
Session order
initialize+notifications/initializedtools/listonce- Structured tools when the intent matches
askfor one clear questionget_excerptonly when the user explicitly needs raw text
Call shape
Result wrapping
Successful tool payloads are JSON strings inside MCPresult.content[].text
(or equivalent content blocks). Parse that text as JSON.
Typical shapes:
Error-shaped payloads use
{"error":"…","message":"…"} (+ approval fields). See
Errors and Approvals.
Output guarantees
- Structured tools return extracted fields, not email bodies.
- Answers are length-capped and redacted for codes / card-like numbers.
- Prompt injection in email cannot widen the grant.