MCP tools and result lifecycle
The hosted endpoint is the MCP URL shown in Connection. It exposes six research tools and get_balance. Transport discovery and research discovery are public; private results and paid account operations require a credential with the appropriate scope.
| Tool | Arguments | Result and access |
|---|---|---|
list_targets |
Optional provider, model_query, limit |
Installed adapters/presets and optional model catalog; public. |
start_run |
Complete run input | {run, created}; write scope for account starts, or a supported guest payment challenge. |
get_run |
run_id, optional wait_ms |
Run directly; read scope. Wait is 0–10000 ms, default 1000 ms for MCP. |
get_results |
run_id, optional filters/cursor/limit/include_raw |
{observations, next_cursor}; read scope. |
list_runs |
Optional project, limit, cursor, legacy before |
{runs, next_cursor}; read scope. |
cancel_run |
run_id |
Updated run; write scope. |
get_balance |
No research-run arguments | Hosted account balance; read scope. |
See the REST reference for shared input limits and result filters. Clients can expose tool names with their own display prefixes; inspect the tool descriptions and schemas from your connected endpoint.
A complete tool sequence
Section titled “A complete tool sequence”- Discover current providers/models with
list_targets. - Construct explicit prompts, targets, repetitions, locale, budget cap, and a unique idempotency key.
- Check the observation count and available balance; choose bounded inputs.
- Call
start_runwith the same intended input once authorized to spend. - Poll
get_runusing the returnedrun.idasrun_id. - Call
get_resultsand follow itsnext_cursoruntil null.
Use include_raw: true only when full captured payloads or source text are useful. Preserve errors and warnings alongside successful evidence.
Durable states
Section titled “Durable states”Runs progress through queued and running to aggregate states succeeded, partial, failed, or cancelled. Individual observations use pending, running, succeeded, failed, cancelled, or unknown_outcome. A run’s aggregate state does not replace inspection of its observations.
An unknown outcome means a dispatched request’s result could not be established. It is retained rather than automatically retried as a second paid call. Cancellation stops pending observations and requests cancellation of active work, but can leave completed answers and incurred costs.
If a client loses a response, read durable state or replay the exact input under its original idempotency key. A changed payload under the same key conflicts; a new key creates new work. Tool errors carry structured error information; check state before interpreting a retryable failure as permission to duplicate a paid operation.
Your agent or integration supplies scheduling, extraction, and interpretation. Read repeated observations before turning results into a recurring review.