Ratel Docs
Reference

MCP tools

Every tool the Ratel Platform MCP server exposes, with its scope and parameters.

The MCP server exposes 98 tools: 75 read tools and 23 write tools. A project API key needs mcp:read for read tools and mcp:write for write tools.

Generated from ratel-cloud@a213fd5f (2026-11-14).

Account and projects

Find out what the credential reaches.

ToolKindWhat it does
whoamireadWho am I
list_projectsreadList projects
get_project_overviewreadProject overview

whoami

Who am I · read · scope mcp:read

Identify the credential calling this server: which project and organization it can reach. Most tools act on a project, and this tells you which one you have.

No parameters.

list_projects

List projects · read · scope mcp:read

List the projects this credential can reach, with their ids and slugs. Use the returned id as projectId for other operations.

No parameters.

get_project_overview

Project overview · read · scope mcp:read

Counts of skills and active experiments for a project, plus whether it has ingested any telemetry yet. The best first call to orient in a project.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.

Catalog

Read and change skills, declared tools and catalog overrides.

ToolKindWhat it does
list_skillsreadList skills
get_skillreadGet skill
get_catalog_statusreadCatalog status
list_declared_toolsreadTools the runtime declares
list_invoked_toolsreadTools telemetry has seen called
list_catalog_overridesreadList retrieval-description overrides
list_runtime_catalogreadCatalog tools and skills
create_skillwriteCreate skill
update_skillwriteUpdate skill
publish_skillwritePublish skill
archive_skillwriteArchive skill
import_skillswriteImport skills
set_catalog_overridewriteOverride a catalog entry's searchable description

list_skills

List skills · read · scope mcp:read

Cloud skills in the project catalog with their status, tags, and a preview of the body. Filter by status or end user, search by name or description, sort by name, runs or last update. Use get_skill for a full body.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
status"draft" | "published" | "archived"noRestrict to one lifecycle status.
endUserIdstringnoRestrict to a single end user id, when the project segments by one. (max 200 chars)
querystringnoCase-insensitive text matched against the name, the searchable description and the agent description. (max 200 chars)
sort"name" | "runs" | "updated"noOrder as the Skills table does. Omitted: most recently updated first.
direction"asc" | "desc"noSort direction. Defaults to ascending for name and descending otherwise.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.
offsetintegernoDefault 0.

get_skill

Get skill · read · scope mcp:read

One skill in full, including the complete body text and both descriptions.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillIdstringyes(UUID)

get_catalog_status

Catalog status · read · scope mcp:read

One-call health check for a project's catalog: how many skills and tools exist, how many tools carry a usable description, the published catalog version, and whether the runtime has adopted it.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

list_declared_tools

Tools the runtime declares · read · scope mcp:read

Tools the runtime has declared to Ratel, with their definitions and freshness. Flags any with no description text, which is the single most common reason a tool is never retrieved. This is what the runtime says exists; list_invoked_tools is what telemetry has seen actually called.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
includeInactivebooleannoDefault false.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_invoked_tools

Tools telemetry has seen called · read · scope mcp:read

Tools telemetry has actually seen invoked, with call counts, token usage, cost, and last-seen time. Compare against list_declared_tools to find declared-but-unused or used-but-undeclared tools.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_catalog_overrides

List retrieval-description overrides · read · scope mcp:read

Searchable-description overrides set in Ratel Platform for runtime catalog entries, which replace the description the runtime would otherwise match on.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_runtime_catalog

Catalog tools and skills · read · scope mcp:read

The tools and skills the Catalog page shows, with each one's entryId, agent description, searchable description in effect and where it comes from, the runtime default, any override and whether the runtime adopted it, tags, staleness and usage. Take entryId from here for set_catalog_override.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
kind"tool" | "skill" | "all"noRestrict to tools or skills. Default "all".
querystringnoCase-insensitive text matched against the name, the searchable description and the agent description. (max 200 chars)
source"managed" | "observed" | "cloud" | "all"nomanaged: synced from the runtime, editable with set_catalog_override. observed: seen in traces only. cloud: skills created in Ratel Platform. Default "all".
sort"name" | "calls" | "tokens" | "cost" | "lastSeen"noSkills sort by runs for calls; tokens and cost apply to tools. Default "calls".
direction"asc" | "desc"noSort direction. Defaults to ascending for name and descending otherwise.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.
offsetintegernoDefault 0.

create_skill

Create skill · write · scope mcp:write

Add a skill to the project catalog. Subject to the organization's skills-per-project plan limit. Creates as a draft unless status is set to published.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillobjectyes—

update_skill

Update skill · write · scope mcp:write

Change one or more fields of an existing skill. Pass expectedVersion to make the edit conditional on the version you read, which is how concurrent edits are detected.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillIdstringyes(UUID)
patchobjectyes—

publish_skill

Publish skill · write · scope mcp:write

Move a skill to published so the retrieval engine can serve it. Publishing bumps the project's catalog version.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillIdstringyes(UUID)
expectedVersionintegerno(min 1)

archive_skill

Archive skill · write · scope mcp:write

Move a skill to archived so it stops being served. Archiving is reversible by publishing again; it does not delete the skill.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillIdstringyes(UUID)
expectedVersionintegerno(min 1)

import_skills

Import skills · write · scope mcp:write

Bulk upsert skills by name: each one is created if absent, updated if its content differs, and left alone if identical. Made for onboarding an existing folder of skill files in one call. The plan limit is checked against the whole batch first, so an import that would exceed it changes nothing at all.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillsobject[]yes(max 100 items)

set_catalog_override

Override a catalog entry's searchable description · write · scope mcp:write

Replace the searchable description (the text retrieval matches against) of one runtime-synced tool or skill. Take kind and entryId from list_runtime_catalog. Pass null to clear the override and fall back to the runtime's text. Does not change the description the agent reads.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
kind"tool" | "skill" | "fact"yesWhich catalog the entry belongs to, as reported by list_runtime_catalog.
entryIdstringyesThe entry's entryId from list_runtime_catalog. A tool's name is not always its entryId. (max 512 chars)
searchableDescriptionstring | nullyesThe replacement text, or null to clear the override.

Traces, spans and cost

Read runs, spans, logs, token cost and ingest diagnostics.

ToolKindWhat it does
get_trace_healthreadLatency and error rate
list_tracesreadList traces
get_tracereadGet trace
list_span_groupsreadSpans grouped by model, tool or operation
get_span_totalsreadSpan totals for a filtered slice
get_cost_by_dayreadCost and tokens per day
get_cost_by_toolreadCost and tokens per tool
get_traces_ingest_diagnosticsreadTrace ingest diagnostics
get_run_summaryreadRun as a conversation
get_spanreadGet span
get_trace_conversationreadTrace conversation
list_spansreadList spans
list_logsreadList logs
compare_tracesreadCompare two traces
get_trace_rankingreadTrace ranking records
get_turnreadGet turn
get_run_statsreadRun totals for a filtered set
get_sessionreadGet session replay

get_trace_health

Latency and error rate · read · scope mcp:read

Headline health over a window, from spans: trace count, error rate, p50 and p95 latency, plus token and cost totals. The cheapest answer to how a project is performing. For spend questions prefer get_cost_by_day, which reads the metrics the customer sees on their own dashboard and works even when trace surfaces are off.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
includeDailybooleannoAlso return a per-day series over the window. Default false.

list_traces

List traces · read · scope mcp:read

Runs (traces) as the Runs page lists them: duration, status, spans, tokens, cost, variant. Filter by name, model, tool, experiment, variant, status, service, environment or duration, token and cost ranges; sort and page with cursor. includeDetails adds each run's ask and tools. get_run_summary opens one; get_run_stats totals the same filters.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
modelstringno(max 200 chars)
toolstringno(max 200 chars)
errorOnlybooleannoOnly traces containing an error span.
experimentstringno(max 200 chars)
rootNamestringnoRun (top-level span) name contains this text. (max 200 chars)
spanNamestringnoKeep runs with a span whose name contains this text. (max 200 chars)
armstringnoExperiment variant (arm) contains this text. (max 200 chars)
status("unset" | "ok" | "error")[]noSpan status, any of. (max 3 items)
servicestring[]noExact service names, any of. (max 20 items)
environmentstring[]noExact deployment environments, any of. (max 20 items)
minDurationMsnumbernoSpan duration at least this, in ms.
maxDurationMsnumberno—
minTokensnumbernoSpan tokens (input plus output) at least this.
maxTokensnumberno—
minCostUsdnumbernoSpan cost at least this, in USD.
maxCostUsdnumberno—
sort"started" | "duration" | "tokens" | "cost"noDefault "started".
direction"asc" | "desc"noDefault "desc".
cursorstringnonextCursor from the previous call. Keep every other parameter the same; it carries the window. (max 4000 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.
includeFacetsbooleannoAlso return the available filter values for this window. Default false.
includeDetailsbooleannoAlso return each run's ask (when content is captured), tools called, and status. Default false.

get_trace

Get trace · read · scope mcp:read

The span breakdown for one trace: each span's name, kind, status, duration, tokens, and where they apply its step kind, model, tool, cost, error type and search. Payload bodies are not returned: get_span opens one span in full, get_trace_conversation shows the messages.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
traceIdstringyesThe 32-character hex trace id, as list_traces returns it. (max 64 chars)
limitintegerno(1–200) Default 200.

list_span_groups

Spans grouped by model, tool or operation · read · scope mcp:read

Span statistics grouped by operation name, model, or tool: call counts, error counts, latency and token usage. The one to reach for when the question is which model or tool dominates, and the only grouped view carrying latency. For per-tool token and cost totals that match the dashboard, prefer get_cost_by_tool.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
modelstringno(max 200 chars)
toolstringno(max 200 chars)
errorOnlybooleannoOnly traces containing an error span.
experimentstringno(max 200 chars)
groupBy"name" | "model" | "tool"noDefault "name".
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_span_totals

Span totals for a filtered slice · read · scope mcp:read

One row of span totals for a filtered slice: span count, error count, token totals and cost. Use it to size a specific slice (one model, one tool, errors only) rather than to browse. Same source as get_trace_health, so prefer that one for latency percentiles, or get_cost_by_day for spend.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
modelstringno(max 200 chars)
toolstringno(max 200 chars)
errorOnlybooleannoOnly traces containing an error span.
experimentstringno(max 200 chars)

get_cost_by_day

Cost and tokens per day · read · scope mcp:read

Per-day token counts and cost from the derived event metrics, broken down by context source. This is the series the project home page and dashboard render, so it is the number to quote for spend, and it is available whether or not trace surfaces are enabled. Use the span-based tools instead for latency or individual requests.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.

get_cost_by_tool

Cost and tokens per tool · read · scope mcp:read

Token and call totals per tool over a window, from the derived event metrics, which is the source to quote for per-tool spend. Ratel gateway meta-tools are marked so they are not mistaken for the agent's own. Use list_span_groups grouped by tool instead when you need latency or error counts per tool.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_traces_ingest_diagnostics

Trace ingest diagnostics · read · scope mcp:read

Whether this project has received any agent events or OTel spans, and when the latest of each arrived. Answers whether a project that looks empty has received data at all. For why SDK events were refused or dropped, call list_sdk_events with view rejects or drops.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

get_run_summary

Run as a conversation · read · scope mcp:read

One run told as a conversation, as the run panel shows it: the ask, the answer, each model call, tool call and search in order with its timing, the run's error, and totals for duration, tokens and cost. The best first read of a run. get_span opens a step by its id; get_trace_conversation has the full messages.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
traceIdstringyesThe 32-character hex trace id, as list_traces returns it. (max 64 chars)
maxStepsintegernoSteps to list (max 100). (1–100) Default 50.

get_span

Get span · read · scope mcp:read

One span in full, as the step inspector and Details tab show it: identity, timing, status, model, tokens, cost, search query and hits, error type, tool arguments and result, and its attributes and experiment attributes, each value previewed. Use get_trace to find span ids.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
traceIdstringyesThe 32-character hex trace id, as list_traces returns it. (max 64 chars)
spanIdstringyesThe span id, from get_trace or get_run_summary. (max 64 chars)
attributePrefixstringnoOnly attributes whose key starts with this, e.g. gen_ai. or ratel. (max 200 chars)

get_trace_conversation

Trace conversation · read · scope mcp:read

The Conversation tab of one trace: the system, user, assistant and tool messages in order, each once, and the tool calls with their arguments and results. Needs message content capture; without it the list is empty and get_run_summary still shows the steps. Page long conversations with offset.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
traceIdstringyesThe 32-character hex trace id, as list_traces returns it. (max 64 chars)
offsetintegernoMessages to skip, for the next page. Default 0.
limitintegernoMessages to return (max 100). (1–100) Default 40.
maxCharsintegernoCharacters kept per message. (200–4000) Default 1500.
includeToolCallsbooleannoDefault true.

list_spans

List spans · read · scope mcp:read

Individual spans across runs, as the Spans page lists them: name, step kind, model, tool, duration, status, tokens and cost. All spans or top-level only, the same filters and sorts as list_traces, paged by cursor. For totals per model or tool use list_span_groups; get_span opens one.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
scope"all" | "root"noroot lists top-level spans only. Default "all".
namestringnoSpan name contains this text. (max 200 chars)
modelstringno(max 200 chars)
toolstringno(max 200 chars)
errorOnlybooleannoOnly spans with error status.
experimentstringno(max 200 chars)
armstringnoExperiment variant (arm) contains this text. (max 200 chars)
status("unset" | "ok" | "error")[]noSpan status, any of. (max 3 items)
servicestring[]noExact service names, any of. (max 20 items)
environmentstring[]noExact deployment environments, any of. (max 20 items)
minDurationMsnumbernoSpan duration at least this, in ms.
maxDurationMsnumberno—
minTokensnumbernoSpan tokens (input plus output) at least this.
maxTokensnumberno—
minCostUsdnumbernoSpan cost at least this, in USD.
maxCostUsdnumberno—
sort"started" | "duration" | "tokens" | "cost"noDefault "started".
direction"asc" | "desc"noDefault "desc".
cursorstringnonextCursor from the previous call. Keep every other parameter the same; it carries the window. (max 4000 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_logs

List logs · read · scope mcp:read

SDK logs and experiment records, as the Logs page lists them, newest first: name, time, trace and span, service, experiment and variant, with body and attributes previewed. Filter by name, experiment, or logs with no trace; paged by cursor. For one trace's ranking records use get_trace_ranking.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
eventNamestringnoLog name contains this text. (max 200 chars)
experimentstringnoExperiment name contains this text. (max 200 chars)
tracelessOnlybooleannoOnly logs not attached to a trace. Default false.
cursorstringnonextCursor from the previous call. Keep every other parameter the same; it carries the window. (max 4000 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

compare_traces

Compare two traces · read · scope mcp:read

Two traces side by side, as the Compare page shows them: name, duration, status, span and error counts, tokens, cost and experiment variant for each, the difference B minus A, and how many of each experiment record type each one has. Use it to compare a slow run with a fast one or two variants.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
traceIdAstringyesThe 32-character hex trace id, as list_traces returns it. (max 64 chars)
traceIdBstringyesThe second trace id; must differ from traceIdA. (max 64 chars)

get_trace_ranking

Trace ranking records · read · scope mcp:read

The Ranking tab of one trace: the experiment records it carries, in order (results, comparisons, skips, fallbacks, drops, outcomes), each with its variant, role and key attributes such as agreement and result counts. Empty when no experiment touched the run. list_logs searches these across runs.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
traceIdstringyesThe 32-character hex trace id, as list_traces returns it. (max 64 chars)
limitintegernoRecords to return (max 100). (1–100) Default 50.

get_turn

Get turn · read · scope mcp:read

One agent turn call by call, as the turn page shows it: each search with its query and top hits, each tool or skill call with its outcome, timing, rank it was offered at and error, plus the session's previous and next turn. Turn ids come from Agent health insights and tasks. A call with a traceId opens with get_run_summary.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
turnIdstringyesThe turn id (a UUID). (max 64 chars)
limitintegernoCalls to return (max 100). (1–100) Default 50.

get_run_stats

Run totals for a filtered set · read · scope mcp:read

Totals for the runs matching the same filters as list_traces, as the Runs page header shows them: run count, failed runs, error rate, p50, p95 and p99 duration, tokens, cost, and runs per day or hour. For the unfiltered project get_trace_health is cheaper; for spend to quote prefer get_cost_by_day.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
modelstringno(max 200 chars)
toolstringno(max 200 chars)
errorOnlybooleannoOnly traces containing an error span.
experimentstringno(max 200 chars)
rootNamestringnoRun (top-level span) name contains this text. (max 200 chars)
spanNamestringnoKeep runs with a span whose name contains this text. (max 200 chars)
armstringnoExperiment variant (arm) contains this text. (max 200 chars)
status("unset" | "ok" | "error")[]noSpan status, any of. (max 3 items)
servicestring[]noExact service names, any of. (max 20 items)
environmentstring[]noExact deployment environments, any of. (max 20 items)
minDurationMsnumbernoSpan duration at least this, in ms.
maxDurationMsnumberno—
minTokensnumbernoSpan tokens (input plus output) at least this.
maxTokensnumberno—
minCostUsdnumbernoSpan cost at least this, in USD.
maxCostUsdnumberno—
bucket"day" | "hour"noVolume series granularity. Hourly applies to windows up to 7 days. Default "day".

get_session

Get session replay · read · scope mcp:read

One session step by step: turns, model calls, searches and tool calls, what the context held at each model call, notes on unused or missing tools and why each tool choice was good or bad, with totals. Message text only with the content opt-in. Also What-if options and past runs, read only.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sessionIdstringyesThe session id, as traces carry it. (max 256 chars)
offsetintegernoFirst step to return, for paging through a long session. Default 0.
stepsintegernoSteps to return (max 200). (1–200) Default 60.
includeTextbooleannoInclude message text of model calls that kept it. Only honoured when the project's content opt-in is on. Default false.

Agent health

Read health signals and their examples, and ask for a new analysis.

ToolKindWhat it does
get_agent_healthreadGet agent health
list_issue_examplesreadList issue examples
set_health_signal_hiddenwriteHide or show a slow tool issue
request_analysiswriteRequest a fresh reading
get_self_correctionsreadGet self-corrections
get_analysis_freshnessreadGet analysis freshness

get_agent_health

Get agent health · read · scope mcp:read

The Agent health page for a 7, 30 or 90 day window: tiles, turn shapes, flow map, capture level and what more capture unlocks, setup, page state, open issues (cut to the plan) and hidden ones, recent imports. Call list_issue_examples for an issue's turns.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
windowDays7 | 30 | 90noDays to read: 7, 30 or 90. A window longer than the plan includes falls back to the longest it does. Default 7.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_issue_examples

List issue examples · read · scope mcp:read

Example turns behind one or more Agent health issues, newest first: each step of the turn (search, tool call, outcome, rank) with the step the issue is about flagged. Turns per issue follow the plan; none on a plan without examples. Issue ids come from get_agent_health.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
issueIdsstring[]yesIssue ids from get_agent_health or list_insights. (max 30 items)

set_health_signal_hidden

Hide or show a slow tool issue · write · scope mcp:write

Hide an open slow tool issue (latency_outlier or wait_heavy) as slow by design, or show a hidden one again. Changes what the team's Agent health page lists, not what is measured. Hidden issues appear in get_agent_health as hiddenIssues.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
signalIdstringyesThe issue id from get_agent_health (issues or hiddenIssues). (UUID)
hiddenbooleanyestrue hides the issue as slow by design; false shows it again.

request_analysis

Request a fresh reading · write · scope mcp:write

Ask for a fresh reading of Agent health (what: health) or of Intents (what: intents), each with a 10 minute cooldown. Returns the job id to poll with get_job_status, or the cooldown. Then get_analysis_freshness.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
what"health" | "intents"yeshealth: the Agent health reading. intents: the Intents reading.

get_self_corrections

Get self-corrections · read · scope mcp:read

The Self-corrections page: how often the agent goes back on itself per 100 turns against the window before, by kind, after which tool, by task and by intent, top phrases (when replies are captured), recent examples and the fixes of open issues. Filter by tool, task or intent.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
windowDays7 | 30 | 90noDays to read: 7, 30 or 90. A window longer than the plan includes falls back to the longest it does. Default 7.
toolstringnoOnly after this tool: a catalog id, or skill:<id>. (max 200 chars)
taskstringnoOnly in this task id (get_agent_health tasks). (max 200 chars)
intentstringnoOnly in this intent id (list_intents). (max 200 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_analysis_freshness

Get analysis freshness · read · scope mcp:read

When the project's analysis last finished, whether it is working now and import progress; with section (overview, health, self_corrections, tasks, intents, fixes) also that page's last finished time and pending jobs. Poll after request_analysis; get_job_status follows one job.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
section"overview" | "health" | "self_corrections" | "tasks" | "intents" | "fixes"noOne page's analysis: its own background jobs.

Intents and calibration

Read what users ask for and how well the judge agrees with people.

ToolKindWhat it does
list_intentsreadList intents
get_intentreadGet intent
list_calibrationsreadList calibrations
get_calibrationreadCalibration detail
list_calibration_mismatchesreadCalibration mismatches

list_intents

List intents · read · scope mcp:read

The Intents page: what people want from the agent, each intent with turns, share, answered rate, sentiment, tasks, tools, self-corrections, asked again, what people ask next and trend, plus the Flows (where conversations go step by step). Call get_intent for one intent's breakdown.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sort"turns" | "answered" | "negative" | "name"noturns: busiest first. answered: least answered first. negative: most negative first. name: A to Z. Default "turns".
includeFlowsbooleannoInclude the Flows: where conversations go, step by step. Default true.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_intent

Get intent · read · scope mcp:read

One intent's panel: its numbers, what its asks are for and the ways people ask it, what else the same ask wants, the steps it is done in (usual tools and order, matching task) and a few example asks, cut short. Intent ids come from list_intents.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
intentIdstringyesAn intent id from list_intents. (max 128 chars)
examplesintegernoExample asks to include (0 to 5). (0–5) Default 3.

list_calibrations

List calibrations · read · scope mcp:read

Experiments in this project that recorded ranking comparisons, with how many selections were compared and how many disagreed. The starting point for calibration work: find the experiment with a mismatch rate worth explaining, then open it with get_calibration.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_calibration

Calibration detail · read · scope mcp:read

How two arms of one experiment agreed over a window: per-arm-pair comparison and mismatch counts, top-1 and exact-order agreement, each side's latency and outcomes, the shadow's reliability, and recent comparisons. Use list_calibration_mismatches to see only the ones that disagreed.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
experimentNamestringyesExperiment name, as returned by list_calibrations. (max 256 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_calibration_mismatches

Calibration mismatches · read · scope mcp:read

The individual real queries where two arms returned different rankings, with both rankings and how they differ. This is the concrete work list for improving retrieval: take a query from here, reproduce it with test_retrieval, and test a description change against it.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
experimentNamestringyes(max 256 chars)
facets("top1" | "order" | "missing" | "added" | "outcome")[]noNarrow to particular kinds of disagreement. (max 5 items)
match"any" | "all"noHow several facets combine: any matches one of them, all needs every one. Default "any".
includeAgreementsbooleannoAlso return selections where the two arms agreed. Default false.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.
offsetintegernoDefault 0.

Match quality and experiments

Measure retrieval quality, review description rewrites and run experiments.

ToolKindWhat it does
get_experimentreadExperiment detail
get_selectionreadSelection inspector
list_match_quality_runsreadList match quality runs
get_match_quality_runreadGet match quality run
get_qualityreadQuality: misses
list_description_rewritesreadQuality: description rewrites
review_description_rewritewriteApply, dismiss or revert a description rewrite
run_quality_analysiswriteStart a quality analysis
create_experimentwriteCreate experiment for a fix

get_experiment

Experiment detail · read · scope mcp:read

One experiment over a window: per-arm traces, errors, latency, tokens and cost, each arm against the baseline, the capabilities whose rank moved, detected issues, shadow agreement and reliability, and conversion. Find names with list_calibrations; drill into disagreements with list_calibration_mismatches.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
experimentNamestringyesExperiment name, as returned by list_calibrations. (max 256 chars)

get_selection

Selection inspector · read · scope mcp:read

One shadow-tested search in full: the query, both arms' rankings with scores, how far they agreed at k, each arm's outcome and duration, its trace id, and its lifecycle records. Take a selectionId from list_calibration_mismatches or get_quality; reproduce it with test_retrieval.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
selectionIdstringyesA selectionId from list_calibration_mismatches or get_quality. (max 200 chars)

list_match_quality_runs

List match quality runs · read · scope mcp:read

Past analyses of search quality, each with the evidence census that bounds how much its proposals are worth. Read the census before the proposals: a run over a window with no invoked-tool records measured agreement with the baseline, not accuracy.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_match_quality_run

Get match quality run · read · scope mcp:read

One match quality analysis in full: what the run could see, what it concluded, and the searchable-description rewrites it proposed. Omit runId for the most recent run. Apply, dismiss or revert a proposal with review_description_rewrite.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
runIdstringno(UUID)
status"pending" | "applied" | "dismissed" | "superseded" | "reverted"no—

get_quality

Quality: misses · read · scope mcp:read

How often search put the right tool first over a window, the change vs the window before, the customer's own ranking beside ours, and the searches where it did not (right tool, rank, what came first, how we know). Filter with q or outcome. Fix one with list_description_rewrites.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
range"7d" | "14d" | "30d" | "3m" | "12m"noThe window, as the console's presets: 7d, 14d, 30d, 3m or 12m. Compared with the window before it. Default "7d".
qstringnoCase-insensitive text matched against the search and both tool names. (max 200 chars)
outcome"missing" | "lower"nomissing: the right tool was not returned. lower: returned, but not first.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_description_rewrites

Quality: description rewrites · read · scope mcp:read

The searchable-description rewrites waiting and applied: current vs proposed text, why, what a replay of past searches says each does, all pending ones together, and whether a runtime picks overrides up. Pass proposalId for one rewrite's missed searches, or tool for one tool's card. Act with review_description_rewrite.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
toolstringnoA tool's catalog entry id (toolId here, rightTool.id in get_quality): only its rewrites, with their missed searches, and its card. (max 200 chars)
proposalIdstringnoOnly this rewrite, with the searches it missed. (UUID)
range"7d" | "14d" | "30d" | "3m" | "12m"noThe window the tool card's search counts cover. Default "7d".
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

review_description_rewrite

Apply, dismiss or revert a description rewrite · write · scope mcp:write

Act on a searchable-description rewrite from list_description_rewrites: apply writes its text as the catalog override, dismiss closes it, revert restores the exact text it replaced, apply_all applies every pending one. Prefer this to set_catalog_override for a drafted rewrite.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
action"apply" | "dismiss" | "revert" | "apply_all"yes—
proposalIdstringnoThe rewrite's proposalId. Required for apply, dismiss and revert; ignored by apply_all. (UUID)

run_quality_analysis

Start a quality analysis · write · scope mcp:write

Queue a match quality analysis of the last 7, 14 or 30 days of searches: it judges which tool was right and drafts description rewrites. Counts against the plan's monthly runs. Returns the job id to poll with get_job_status, then read list_description_rewrites.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
windowDaysintegernoDays of searches to analyse: 7, 14 or 30. (min -9007199254740991) Default 7.

create_experiment

Create experiment for a fix · write · scope mcp:write

Declare an A/B experiment for a fix: a name and two arms the agent's runtime tags its spans with (ratel.experiment.id and ratel.experiment.arm), so the experiment pages compare them. Creates a record and its lineage link to the fix; does not change the agent. chain is oldest first: trace, insight, fix, experiment.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>, rewrite:<uuid>. (max 200 chars)
namestringnoThe ratel.experiment.id value. Defaults to fix-<kind>-<short id>.
baselineArmstringnoDefault "baseline".
candidateArmstringnoDefault "fix".
trafficPercentintegernoShare of traffic on the candidate arm. (1–100) Default 50.

Tool usage

See which tools agents use together, in which order, and for which intents.

ToolKindWhat it does
list_ranking_graphsreadAdaptive ranking: graphs
get_ranking_graphreadAdaptive ranking: one graph
list_tool_cousagereadList tool co-usage
list_tool_transitionsreadList tool transitions
list_intent_tool_usagereadList intent tool usage
get_improvement_signalsreadWhat to fix
list_search_queries_for_skillreadQueries that retrieved a skill
test_retrievalreadTest retrieval against the live catalog

list_ranking_graphs

Adaptive ranking: graphs · read · scope mcp:read

The project's intent graphs for adaptive ranking: who built each, whether a runtime ranks from it, revision, size and how much it has learned, plus the setup steps still open. Open one with get_ranking_graph to see whether it helps.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

get_ranking_graph

Adaptive ranking: one graph · read · scope mcp:read

Whether one intent graph helps: serving state, how often the right tool comes first with and without it, recall@1/3/5, nDCG@5 and MRR@5 both ways, the verdict, live recall before and after, warnings, facts, its busiest ask groups and the setup steps left.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
graphKeystringnoA graphKey from list_ranking_graphs. Omit for the merged Cloud graph. (max 200 chars)

list_tool_cousage

List tool co-usage · read · scope mcp:read

Tools that run together in the same turn or the same session, from real invocations: each set with how many units ran it, the task it is when its tools are a task's steps (taskId), and for pairs the overlap and each direction's conditional share. mergeCandidatesOnly keeps the pairs the agent never runs apart.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
scope"turn" | "session"noturn: tools called in one turn; session: tools called anywhere in one session. Default "turn".
sizeintegernoOnly sets of exactly this many tools (sets reach as many tools as the biggest task). (2–8)
minSupportintegernoOnly sets seen in at least this many units. (min 1)
toolstringnoOnly sets containing this tool id. (max 200 chars)
mergeCandidatesOnlybooleannoOnly pairs with Jaccard lower bound >= 0.9 and support >= 20. Default false.
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_tool_transitions

List tool transitions · read · scope mcp:read

What the agent runs after a given tool, from real invocations: next-tool probabilities with confidence bounds and lift, in one turn or across a session, the order a task's steps run in. kind=next is the call right after; kind=before is any later call in the same unit.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
scope"turn" | "session"noDefault "turn".
kind"next" | "before"noDefault "next".
fromstringnoOnly transitions leaving this tool id. (max 200 chars)
tostringnoOnly transitions arriving at this tool id. (max 200 chars)
minNintegernoOnly transitions seen at least this many times. (min 1)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_intent_tool_usage

List intent tool usage · read · scope mcp:read

Which tools serve each kind of search the agent makes: for every intent grouped from real search queries, the tools the agent went on to call in the same turn or session, as a share of that intent's units with a confidence bound. Rows group by intent, biggest first.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
scope"turn" | "session"noDefault "turn".
intentIdstringnoOnly this intent: an intentId from an earlier page of this list. (UUID)
minUnitsintegernoOnly intents carried by at least this many units. (min 1)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_improvement_signals

What to fix · read · scope mcp:read

The single best starting point for improving a catalog: skills that get retrieved in search but never actually invoked, the most common user queries, and the tools erroring most often.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
sincestring (date-time)noISO-8601 start of the window. Defaults per operation.
untilstring (date-time)noISO-8601 end of the window. Defaults to now.
endUserIdstringnoRestrict to a single end user id, when the project segments by one. (max 200 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_search_queries_for_skill

Queries that retrieved a skill · read · scope mcp:read

The real user queries that caused a given skill to be retrieved. The fastest way to see whether a skill's description is matching the intent you meant it to. Identify the skill by name, as the runtime does.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
skillNamestringyesThe skill's name, as it appears in the catalog and in retrieval telemetry. (max 200 chars)
endUserIdstringnoRestrict to a single end user id, when the project segments by one. (max 200 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

test_retrieval

Test retrieval against the live catalog · read · scope mcp:read

Rank a query against this project's real catalog, once as stored and once with proposed description edits applied, and return the difference. Nothing is written: this is how to check a rewrite fixes a query before saving it with update_skill or set_catalog_override. Mode bm25 is free; embeddings and hybrid call the embedding provider, cost money, and are metered tighter.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
querystringyesThe prompt to rank, ideally a real one from calibration or search history. (max 1000 chars)
mode"bm25" | "embeddings" | "hybrid"nobm25 is free; embeddings and hybrid spend the embedding provider budget. Default "bm25".
topKSkillsintegerno(1–25) Default 5.
topKToolsintegerno(1–25) Default 5.
embeddingWeightnumbernoHow much the embedding score counts in hybrid mode. (0–1) Default 0.5.
draftsobjectnoUnsaved edits to test, keyed by skill name or tool name. Send only the kind you are editing. Omit entirely to rank the catalog as it stands.
includeSyncedToolsbooleannoInclude runtime-synced tool definitions in the bench. Default true.

Tool Crafter

Read and generate proposed tools.

ToolKindWhat it does
list_tool_craftsreadList drafted fixes
get_tool_craftreadGet a drafted fix
generate_tool_craftswriteDraft fixes

list_tool_crafts

List drafted fixes · read · scope mcp:read

Fixes drafted by rules from how the agent runs its tools: merge tools it never runs apart, combine a task's steps into one tool, tighten a schema whose first calls fail, retire a tool nobody calls, rewrite a description searches miss. Each row has the kind of fix, the tools it changes, the drafted tool and its fixId on Fixes.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
status"pending" | "superseded" | "dismissed"no—
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_tool_craft

Get a drafted fix · read · scope mcp:read

One drafted fix in full: the evidence, the tools as they are today, and the drafted definition (JSON, TypeScript and Python).

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
craftIdstringyes(UUID)

generate_tool_crafts

Draft fixes · write · scope mcp:write

Queues a drafting run: rules read how the agent runs its tools, its tasks and the searches that missed a tool, and draft fixes (merges, combined steps, tighter schemas, prerequisites, rewrites, retirements and more). No model is called. Returns a jobId; poll get_job_status, then list_tool_crafts.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

Usage, keys and setup

Read quotas, credit use, feature flags, SDK events, API keys and setup state.

ToolKindWhat it does
get_flag_statusreadFeature flag status
get_quota_statusreadPlan and limits
get_embedding_usagereadEmbedding usage and wallets
get_job_statusreadBackground job status
list_sdk_eventsreadSDK events
get_sdk_eventreadSDK event payload
list_api_keysreadAPI keys
get_tool_picker_usagereadTool Picker usage
get_sdk_setupreadSDK setup

get_flag_status

Feature flag status · read · scope mcp:read

Every live Ratel Platform feature flag with whether it is on for you on this project, decided the way the MCP server decides it, its note and what it changes here. Use it when a tool you expect (such as list_insights or run_eval) is missing or refuses.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

get_quota_status

Plan and limits · read · scope mcp:read

The organization's plan and subscription state (paid, past due, period end), its limits, usage against each quota (projects, skills per project, members) counted as the console counts them, and this project's match quality runs left this month. Explains quota_exceeded errors on writes.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

get_embedding_usage

Embedding usage and wallets · read · scope mcp:read

Embedding request volume, tokens and latency over a window, plus a wallet as Billing shows it: monthly allowance, allowance left, prepaid credit, auto-recharge and recent ledger. wallet tool_picker returns the Tool Picker wallet; get_tool_picker_usage has its usage.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
wallet"embeddings" | "tool_picker"noWhich wallet to show. Usage is included for embeddings only. Default "embeddings".
windowDaysintegernoDays of usage history to summarize. (1–90) Default 30.
ledgerLimitintegerno(1–50) Default 10.

get_job_status

Background job status · read · scope mcp:read

Status of a background job by id, or every job currently queued or running for the project. Analysis work such as a match quality run is queued, so poll this rather than assuming it failed.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
jobIdstringnoA specific job id, as returned by an operation that enqueues work. (UUID)

list_sdk_events

SDK events · read · scope mcp:read

What Settings › Developer shows: SDK events received over 24h, 7d or 30d with received, dropped and rejected counts, type and source facets, and the newest rows. view rejects lists events Ratel refused (reason, size); view drops lists what the SDK dropped before sending. get_sdk_event returns one event's payload.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
range"24h" | "7d" | "30d"noThe window, as on the Developer page. Default "7d".
view"events" | "rejects" | "drops"noevents: what arrived. rejects: what Ratel refused. drops: what the SDK reported dropping. Default "events".
typestringnoOnly this event type, e.g. invoke_error. See facets.types. (max 100 chars)
sourceIdstringnoOnly this SDK source. See facets.sources. (max 200 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_sdk_event

SDK event payload · read · scope mcp:read

One SDK event as Settings › Developer opens it: its type, source, timing, ids and the payload exactly as the SDK sent it, cut at 4000 characters. Take the identifier from list_sdk_events.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
identifierstringyesThe event's identifier from list_sdk_events: the SDK's event id, or the stored row id. (max 512 chars)

list_api_keys

API keys · read · scope mcp:read

The project's API keys as Settings › API keys lists them: name, prefix, access (full, read_only, ingest or custom, with its scopes; publishable keys are safe to ship in an app), status, created, last used and expiry. Never the key itself. Keys are created and revoked in the console; get_sdk_setup shows how to use one.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)

get_tool_picker_usage

Tool Picker usage · read · scope mcp:read

Models › Tool Picker usage for this project over a window: requests, errors, input tokens, spend and average latency per mode (instant, precise, exhaustive). get_embedding_usage with wallet tool_picker shows the credit balance.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
windowDaysintegernoDays of usage to summarize. (1–90) Default 30.

get_sdk_setup

SDK setup · read · scope mcp:read

The quickstart Settings › API keys shows: the traces endpoint, the env var the key is read from, the install line and a snippet per language (TypeScript, curl). Set captureContent to include the content capture lines. No key is inlined; list_api_keys shows the project's keys.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
captureContentbooleannoInclude the opt-in lines that send search queries and tool arguments on spans. Default false.

Fixes, tasks and evals

Work the improvement loop: tasks, insights, fixes, eval sets, scorers and eval runs.

ToolKindWhat it does
list_shipmentsreadList shipments
get_lineagereadGet lineage
list_tasksreadList tasks
get_taskreadGet task
list_insightsreadList insights
list_fixesreadList fixes
get_fixreadGet fix
get_evalreadGet the simulation of a fix
list_task_simulationsreadList a task's simulations
get_fix_eval_setreadGet the evals of a fix
list_scorersreadList scorers
list_evalsreadList evals
get_eval_runreadGet an eval run
run_evalwriteRun eval on a fix
mark_fix_shippedwriteMark fix shipped
change_task_scorerwriteChange a task scorer
change_task_eval_setwriteChange the evals of a task
draft_task_testwriteDraft a task test from a run
change_task_simulationwriteChange a task simulation
change_fix_eval_setwriteChange a fix's eval set
dismiss_fixwriteDismiss a drafted fix
change_scorerwriteChange a scorer
change_evalwriteChange an eval
run_evalswriteRun evals

list_shipments

List shipments · read · scope mcp:read

The Ship page: changes that went live, newest first (shipments recorded with mark_fix_shipped and applied description rewrites), each with the fix it came from and, for the newest few, its trail back to the run it started from. Use get_lineage for any other object.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
shipmentIdstringnoOnly this shipment, with its full trail. (max 512 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_lineage

Get lineage · read · scope mcp:read

Where an object came from: one step back (source) or the full chain back to the run (chain: true, oldest first), for kind trace, metric, insight, intent, task, fix, experiment, eval or shipment and its id. On a plan without example turns an insight names its metric, not its run.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
kind"trace" | "metric" | "insight" | "intent" | "task" | "fix" | "experiment" | "eval" | "shipment"yesThe object's kind.
idstringyesThe object's id, e.g. an insight id, issue:<id> for a fix, or a shipment id. (max 512 chars)
chainbooleannotrue: the whole chain back to Monitor. false: one step back. Default false.

list_tasks

List tasks · read · scope mcp:read

List the tasks of the project. Each task has its runs, status, finish rate and fix counts. The result also has the reading totals, the reading state and the asks that no task serves. Call get_task with a taskId to read its steps, issues, scorers and evals.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_task

Get task · read · scope mcp:read

Read one task as its page shows it: steps, flow, order stability, self-corrections, issues, fixes, cost and example runs. With cloud-eval-gate on, the result also has its scorers, daily scores, evals (evalSet) and shipments with post-ship results. Use list_fixes to read the fixes of the task.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringyesA task id from list_tasks. (max 200 chars)

list_insights

List insights · read · scope mcp:read

The open findings about the agent, worst first, in the words Agent health shows: what went wrong, what it costs, what to do, and the trace or reading it came from (source). Follow one with get_fix. For catalog-level hints use get_improvement_signals.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
kindstringnoOnly insights of this kind, e.g. tool_errors. (max 64 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

list_fixes

List fixes · read · scope mcp:read

List proposed fixes with their effect, insightIds, taskIds, draft, eval badge and shipped version, and the Fixes page's counts and potential savings per day, week or month. Filter by insightId, taskId, kind, tool or intent. Call get_fix to read the change.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
insightIdstringnoAn insight id from list_insights. (UUID)
taskIdstringnoOnly fixes that affect this task id. (max 200 chars)
kind"rewrite" | "retire" | "merge" | "combine" | "build" | "skill" | "fail-clearly" | "schema" | "fold" | "parallel" | "enrich" | "preload" | "split" | "prerequisite" | "tell-apart" | "fewer-results"noOnly fixes of this kind.
toolstringnoOnly fixes that change this catalog tool id. (max 500 chars)
intentstringnoOnly fixes that serve this intent id. (max 200 chars)
status"open" | "applied" | "all"noDefault "open".
period"day" | "week" | "month"noThe period savings are scaled to. Default "month".
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_fix

Get fix · read · scope mcp:read

Read one fix with its change, taskIds, draft, evidence, experiments and shipments. The chain lists its sources in order. A ready draft supplies the change when cloud-eval-gate is on. Pass fixId or insightId. Call run_eval to simulate the fix.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringnoA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>, rewrite:<uuid>. (max 200 chars)
insightIdstringnoAn insight id from list_insights. (UUID)

get_eval

Get the simulation of a fix · read · scope mcp:read

Read the latest simulation of a fix. This tool does not start a simulation. A fix with tasks gives one result per task, with scorerVersion and the score breakdown. Other fixes give one result for the fix. Call this tool again after run_eval. The result is null before the first simulation. evalSet lists the result of each eval, with its simulated answers and its generated inputs.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>, rewrite:<uuid>. (max 200 chars)

list_task_simulations

List a task's simulations · read · scope mcp:read

Each fix's latest simulation on one task: state (better, worse, same, running, none) and whether it is stale after an edit. Pass fixId for one simulation's change, draft status, fix tests, task tests, replayed runs and runs. Edit with change_task_simulation; run it with run_eval.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringyesA task id from list_tasks. (max 500 chars)
fixIdstringnoA fix id from list_fixes, e.g. craft:<uuid>. (max 500 chars)
limitintegernoMaximum rows to return (max 50). (1–50) Default 25.

get_fix_eval_set

Get the evals of a fix · read · scope mcp:read

Read the evals that a fix is simulated on. Each eval has its expected outcome, role (holdout or evidence) and latest result. The result also has the change, method, block reason, latest simulation (interval, evidence, breakdown, judge) and earlier runs. Use change_fix_eval_set to edit the evals. Use run_eval to simulate the fix.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>.
limitintegernoMaximum evals to return (max 50). (1–50) Default 25.

list_scorers

List scorers · read · scope mcp:read

List the scorers of one task, or the suite scorers. Each scorer has its kind, config, switch, pass threshold (0 to 1) and pass rate of the last 7 days. The id of a built-in task scorer starts with legacy:. Use change_scorer to change a scorer.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringnoA task id from list_tasks. Without it, the tool lists the suite scorers. (max 500 chars)

list_evals

List evals · read · scope mcp:read

List the evals of the suite, or the evals of one task. Each eval has its ask, criteria, tasks, generated (the fields that a model wrote) and the scorers that it switches off. A suggested eval from a low score has suggestedBecause: the scorer, its value and its pass threshold. Use change_eval to change an eval.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringnoA task id from list_tasks. (max 500 chars)
status"in_set" | "archived"noin_set lists approved and suggested evals. archived lists removed evals. Default "in_set".
limitintegernoMaximum evals to return (max 50). (1–50) Default 25.

get_eval_run

Get an eval run · read · scope mcp:read

Read one run of the suite. Each result has pass or fail, verdicts, scorer readings, generated fields and runSettings (the models and limits that it used). A result that kept its text has replay: the system prompt, the message and each step. Each tool step has a source: recorded, mock (a fixed answer) or stand-in (a simulated answer).

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
runIdstringyesA run id from run_evals. (UUID)

run_eval

Run eval on a fix · write · scope mcp:write

Queue one simulation per affected task when cloud-eval-gate is on. A fix without tasks uses the per-fix eval. Poll get_eval while runs are pending. If the status is drafting, read get_fix. Call run_eval when the draft is ready. Call mark_fix_shipped when the fix is live.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>, rewrite:<uuid>. (max 200 chars)

mark_fix_shipped

Mark fix shipped · write · scope mcp:write

Record that a fix is live in a version of the agent, linked to the fix, the insight it resolves and, optionally, the experiment that tested it. It then shows on the project's Ship page. Returns the full lineage chain, oldest first: trace, insight, fix, experiment (when given), shipment. Records only; deploys nothing.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>, rewrite:<uuid>. (max 200 chars)
versionstringyesThe agent version or release that carries the fix, e.g. v1.4.2 or a commit sha. (max 100 chars)
experimentIdstringnoThe experiment from create_experiment that tested it. (UUID)
notesstringno(max 1000 chars)

change_task_scorer

Change a task scorer · write · scope mcp:write

Turn one of a task's scorers on or off with its setting, or reset it to the default. max_* kinds need max, expected_tool needs tool, judge_criteria needs criteria. Returns the saved scorer. Read scorers with get_task.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringyesA task id from list_tasks. (max 500 chars)
kind"ends_well" | "max_self_corrections" | "max_latency_ms" | "max_cost_usd" | "expected_tool" | "max_tool_calls" | "judge_criteria"yes—
action"save" | "reset"noreset returns the scorer to its default. Default "save".
enabledbooleannoRequired to save: on or off.
maxnumbernoThe limit for max_* kinds; a whole number for max_tool_calls and max_self_corrections.
toolstringnoThe tool id expected_tool checks for. (max 500 chars)
criteriastringnoWhat judge_criteria asks a judge model to check. (max 5000 chars)

change_task_eval_set

Change the evals of a task · write · scope mcp:write

Change the evals that check the fixes of a task. pin, unpin or exclude an eval (caseId). add a run (runId), with an optional proposal from draft_task_test that saves it as an eval. restore an excluded run (caseId or runId). refresh the evals: the result has jobId for get_job_status.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringyesA task id from list_tasks. (max 500 chars)
action"pin" | "unpin" | "exclude" | "add" | "restore" | "refresh"yes—
caseIdstringnoThe id of an eval, from get_task (evalSet.rows) or list_task_simulations. (UUID)
runIdstringnoA run id: a turn id from get_task's exampleRuns or a trace. (max 200 chars)
proposalobjectnoAn eval from draft_task_test, edited or not. Only with add.

draft_task_test

Draft a task test from a run · write · scope mcp:write

Ask a model to draft a test from one completed run of a task: a name, the ask, the expected outcome and criteria. Spends model budget; saves nothing. Save it with change_task_eval_set action add, this runId and the proposal.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringyesA task id from list_tasks. (max 500 chars)
runIdstringyesA completed run (turn id) of this task, from get_task's exampleRuns. (UUID)

change_task_simulation

Change a task simulation · write · scope mcp:write

Edit what a fix is simulated with on one task: draft saves a hand-edited change (a FixChange, as get_fix returns it), add_test adds a run as a fix test (runId, expected, criteria), edit_test changes one (caseId). Then run_eval; mark_fix_shipped marks it live.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
taskIdstringyesA task id from list_tasks. (max 500 chars)
fixIdstringyesA fix id from list_fixes, e.g. craft:<uuid>. (max 500 chars)
action"draft" | "add_test" | "edit_test"yes—
changeobjectnodraft: the whole change, e.g. { version: 1, patches: { tool_id: "new description" }, hide: [], add: [], collapse: [], dedupeRetries: [], topK: null, skillSteps: [], unsupportedReason: null }.
runIdstringnoA run id: a turn id from get_task's exampleRuns or a trace. (max 200 chars)
caseIdstringnoThe id of an eval, from get_task (evalSet.rows) or list_task_simulations. (UUID)
expectedobjectnoadd_test and edit_test: what the run should do.
criteriastringnoadd_test and edit_test: what a judge checks, in words. (max 10000 chars) Default "".

change_fix_eval_set

Change a fix's eval set · write · scope mcp:write

Edit the runs a fix is simulated on: create picks them from history, top_up adds more, add_run adds one (runId: a run or trace id), update_case changes a case's expected outcome (fields left out keep their value), remove_case drops one. Read it with get_fix_eval_set.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>.
action"create" | "top_up" | "add_run" | "update_case" | "remove_case"yes—
runIdstringnoadd_run: a run id or a trace id. (max 200 chars)
caseIdstringnoupdate_case and remove_case: a caseId from get_fix_eval_set. (UUID)
toolstring | nullnoThe tool that should be in the first list the agent sees; null clears it.
maxToolCallsinteger | nullno—
maxSearchesinteger | nullno—
maxFailedCallsinteger | nullno—
avoidToolsstring[]noTools the run should not call. (max 50 items)
endsWellboolean | nullno—
maxSelfCorrectionsinteger | nullno—
maxCostUsdnumber | nullno—
maxLatencyMsinteger | nullno—
outcomestringnoWhat the run should achieve, in words. (max 2000 chars)
criteriastringnoWhat a judge checks, in words. (max 2000 chars)

dismiss_fix

Dismiss a drafted fix · write · scope mcp:write

Dismiss a drafted tool change (a craft: fix) so it leaves the list and later readings do not draft it again. Other kinds are refused: a description rewrite is dismissed where it is applied. Returns the dismissed fix id.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
fixIdstringyesA fix id from list_fixes or get_fix, e.g. issue:<uuid>, craft:<uuid>.

change_scorer

Change a scorer · write · scope mcp:write

Create, update, delete, enable or disable a scorer of a task or of the suite. Kinds: check (field check) compares one run field with a value. expression (JSON rule) is JSONLogic over the run. judge (model judge) reads criteria. decision (model question) asks one closed question.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
action"create" | "update" | "delete" | "enable" | "disable"yes—
scorerIdstringnoupdate, delete, enable and disable: a scorer id from list_scorers. A legacy: id accepts only enable and disable. (max 600 chars)
scope"task" | "suite"nocreate: task or suite.
taskIdstringnocreate with scope task: the task id. (max 500 chars)
namestringno(max 120 chars)
kind"check" | "expression" | "judge" | "decision"nocreate: check, expression, judge or decision.
configobjectnocheck: {path, op, value}. Ops: eq, ne, lt, lte, gt, gte, contains, not_contains, matches, not_matches, exists, not_exists. expression: {logic}. judge: {criteria}. decision: {question, options: [{id, label}], pass: [ids]}.
goodThresholdnumbernoA run passes when its value is this or more. The default is 0.5. (0–1)

change_eval

Change an eval · write · scope mcp:write

Change an eval. create needs a name and the ask. A model writes the missing fields. Other actions: update, archive, scorer_off, scorer_on, scorer_reset. set_step_answer sets a fixed answer at a run step. continue_from_step copies the eval up to a step and runs it. edit_reply changes an agent reply at a step and runs from it. set_run_settings and set_suite_run_settings set the models and limits.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
action"create" | "update" | "archive" | "scorer_off" | "scorer_on" | "scorer_reset" | "set_step_answer" | "continue_from_step" | "edit_reply" | "set_run_settings" | "set_suite_run_settings"yes—
evalIdstringnoEvery action except create and set_suite_run_settings: an eval id from list_evals. (UUID)
namestringno(max 200 chars)
messagestringnoThe ask the agent gets. (max 5000 chars)
criteriastringnoWhat a good run does, in words. The judge reads it. (max 5000 chars)
expectedToolstring | nullno—
tasksstring[]noThe task ids the eval belongs to. The eval reads their scorers. (max 20 items)
systemPromptstring | nullnoupdate: the system prompt of the scenario.
contextobject | nullnoupdate: the context values of the environment, for example a booking reference.
toolsobject[] | nullnoupdate: the tools the model gets. Each tool has a name, a description and JSON Schema parameters.
runIdstringnoset_step_answer, continue_from_step and edit_reply: a run id from run_evals. (UUID)
stepintegernoset_step_answer, continue_from_step and edit_reply: a step index from the replay of get_eval_run. edit_reply needs an assistant step. (0–10000)
replyobjectnoedit_reply: the new agent reply. It needs text or one call.
target"this" | "copy"noedit_reply: this changes this eval. copy saves a copy and leaves this eval as it is. Default "this".
answerstringnoset_step_answer: the answer the tool gives, as JSON or text. An answer with an error field is a failed call. (max 5000 chars)
scorerIdstringnoscorer_off, scorer_on and scorer_reset: a scorer id from list_scorers. (max 600 chars)
runSettingsobjectnoset_run_settings and set_suite_run_settings: all the settings of that level. A missing or null setting uses the next level. An empty object clears the level.

run_evals

Run evals · write · scope mcp:write

Queue a run of the suite, of the evals of one task, or of one eval. A run spends model budget. The result has runId. Use get_eval_run to read the run.

ParameterTypeRequiredDescription
projectIdstringnoProject id. Optional with a project API key, which implies it. (UUID)
evalIdstringnoAn eval id from list_evals. (UUID)
taskIdstringnoA task id from list_tasks. (max 500 chars)

On this page

Account and projectswhoamilist_projectsget_project_overviewCataloglist_skillsget_skillget_catalog_statuslist_declared_toolslist_invoked_toolslist_catalog_overrideslist_runtime_catalogcreate_skillupdate_skillpublish_skillarchive_skillimport_skillsset_catalog_overrideTraces, spans and costget_trace_healthlist_tracesget_tracelist_span_groupsget_span_totalsget_cost_by_dayget_cost_by_toolget_traces_ingest_diagnosticsget_run_summaryget_spanget_trace_conversationlist_spanslist_logscompare_tracesget_trace_rankingget_turnget_run_statsget_sessionAgent healthget_agent_healthlist_issue_examplesset_health_signal_hiddenrequest_analysisget_self_correctionsget_analysis_freshnessIntents and calibrationlist_intentsget_intentlist_calibrationsget_calibrationlist_calibration_mismatchesMatch quality and experimentsget_experimentget_selectionlist_match_quality_runsget_match_quality_runget_qualitylist_description_rewritesreview_description_rewriterun_quality_analysiscreate_experimentTool usagelist_ranking_graphsget_ranking_graphlist_tool_cousagelist_tool_transitionslist_intent_tool_usageget_improvement_signalslist_search_queries_for_skilltest_retrievalTool Crafterlist_tool_craftsget_tool_craftgenerate_tool_craftsUsage, keys and setupget_flag_statusget_quota_statusget_embedding_usageget_job_statuslist_sdk_eventsget_sdk_eventlist_api_keysget_tool_picker_usageget_sdk_setupFixes, tasks and evalslist_shipmentsget_lineagelist_tasksget_tasklist_insightslist_fixesget_fixget_evallist_task_simulationsget_fix_eval_setlist_scorerslist_evalsget_eval_runrun_evalmark_fix_shippedchange_task_scorerchange_task_eval_setdraft_task_testchange_task_simulationchange_fix_eval_setdismiss_fixchange_scorerchange_evalrun_evals