MCP tools and gates
Hosted MCP tools wrap selected public API capabilities. Always discover the live
contract with tools.list and tools.schema — do not assume HTTP API parity.
Discover tools
| Tool | Purpose |
|---|---|
tools.list | List every tool visible in this session, with safety metadata. |
tools.schema | Fetch one tool contract by name. |
mcp.health | Endpoint readiness, auth source, and safety posture. |
Example agent instruction:
Safety gates
Hosted MCP defaults to read-only behavior. Mutating and paid tools require explicit flags in the tool arguments.
| Gate | Required for | Meaning |
|---|---|---|
allow_write=true | Write tools and paid tools | Opt in to a mutating MCP call. |
idempotency_key | Write tools and paid tools | Stable key for safe retries. |
allow_paid=true | Paid generation tools | Opt in to billable generation. |
max_spend_usd | Paid generation tools | Hard spend cap checked against admission preview. |
dry_run=true | Paid generation tools | Run admission preview only; do not submit the job. |
Server instructions also state this default: mutating tools need allow_write
plus idempotency_key; paid tools additionally need allow_paid and
max_spend_usd.
Auth interaction
| Session auth | What the gates do |
|---|---|
OAuth Phase 1 (mcp:read) | Write/paid tools are not available. Calls return insufficient_scope even if you pass gate flags. |
| API key | Tools are visible. Gate flags still required for write/paid execution. |
Tool inventory (hosted)
Grouped from the current hosted registry. Names use the live tool ids.
Meta and health
mcp.healthtools.listtools.schemahealth.servicehealth.v1
Account and catalog
account.mebalance.getusage.getcatalog.listgeneration.admission_preview
Jobs
Read:
jobs.listjobs.getjobs.statusjobs.resultjobs.eventsjobs.wait
Write (needs allow_write + idempotency_key):
jobs.cancel
Assets
Read:
assets.listassets.getassets.download_url
Write (needs allow_write + idempotency_key):
assets.createassets.upload_urlassets.complete
Hosted MCP cannot read files from your laptop. Upload flow is: create upload
URL → client PUT bytes → assets.complete.
Avatars
Read:
avatars.listavatars.getavatars.search
Paid (needs allow_write, allow_paid, max_spend_usd, idempotency_key):
avatars.create
Avatar videos
Read:
avatar-videos.listavatar-videos.get
Paid (needs allow_write, allow_paid, max_spend_usd, idempotency_key):
avatar-videos.create
Not available on hosted MCP
These are not hosted MCP tools today:
- Image generation MCP tools
- Generic video generation MCP tools (outside Avatar Video)
- Music generation MCP tools
- STT MCP tools
- Video Router MCP tools
Use the Developer API for those families. catalog.list may show
HTTP capabilities that do not have matching MCP tools yet.
Playbooks
Playbook A — OAuth read-only discovery (Cursor / Claude)
- Connect to
https://mcp.sume.com/mcpwith OAuth. - Call
mcp.healthand confirmauth_sourceis OAuth. - Call
tools.listand keep onlyread_onlytools in mind. - Call
catalog.list,balance.get, andjobs.listas needed. - Stop before any write/paid tool. OAuth Phase 1 will deny them.
Playbook B — Inspect one tool before paying
- Call
tools.schemawithname: "avatars.create"(oravatar-videos.create). - Call
generation.admission_previewor the paid tool withdry_run=true. - Confirm estimate, balance, and queue behavior.
- Only then submit with
allow_write=true,allow_paid=true,max_spend_usd, and a freshidempotency_key— and only on an API-key session until OAuth write/paid scopes ship.
Playbook C — Paid avatar create (API-key remote MCP)
Use only when the user explicitly confirms spend.
Required arguments pattern:
- First call with
dry_run=trueand review the preview. - Repeat with
dry_runomitted orfalseto submit. - Poll with
jobs.status/jobs.wait, then readjobs.result. - Prefer Sume public ids and
media.sume.comURLs in agent reports. Do not paste signed URLs, OAuth tokens, or API keys into chat logs.
Playbook D — Local CLI instead of hosted MCP
Use when the agent already runs local shell commands. Drive Avatar workflows
with sume avatars / sume avatar-videos / sume jobs, and Image/Video/Music
via the Developer API. Local sume mcp remains coming_soon in
current CLI releases — do not treat it as a working stdio server yet.
Hosted OAuth and local CLI login are different flows; do not expect
sume login to mint hosted MCP OAuth tokens.