Skip to main content
Glama

Reconcile an uncertain draft operation

reconcile_agent_draft_operation
DestructiveIdempotent

MCP equivalent of REST POST /v1/agents/{id}/draft/operation - resolve a durable operation stuck in the uncertain state (a save_agent_draft, publish_agent_draft or rollback_agent_draft that timed out or failed in a way we could not confirm). Requires that a human (or you, reading the account owner's confirmation) actually checked what is live right now, either in the volai portal or by calling get_call/other read tools against the account - decision: 'acknowledge_live_state' confirms that check happened. This reads the provider's live configuration and compares it to what the stuck operation expected: if it matches, the operation is marked resolved and the draft unlocks; if it still doesn't match (operation_uncertain again) or drifted to something else entirely (also operation_uncertain with the drift noted), it stays locked and needs a human to look again. Never call this to skip checking - it does not resolve anything by itself, it only records that a check was made. Same data as POST /v1/agents/{id}/draft/operation (response schema in /openapi.json).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "operationId": "<operationId>",
      "decision": "<decision>"
    },
    "name": "reconcile_agent_draft_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the agent whose blocking operation to reconcile, from list_agents. Looks like ag_9f3a2b7c4d1e.
decisionYesThe only supported value - confirms you (or a human) checked what is actually live before accepting it.
operationIdYesId of the blocking operation, from the operation field of get_agent_draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare destructiveHint=true, idempotentHint=true and openWorldHint=true; the description goes further by explaining the two outcome paths (match → resolved and draft unlocks; mismatch/drift → stays operation_uncertain and locked). It also discloses that the tool reads the provider's live configuration, which annotations cannot convey. It does not say exactly what is mutated beyond the lock/resolution state, so it stops short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then prerequisites, then outcomes. Slightly redundant where it says both "Never call this to skip checking" and "it does not resolve anything by itself, it only records that a check was made," but the repetition reinforces a genuinely dangerous misuse mode rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, state-changing reconciliation tool with no output schema, the description covers prerequisites, both success and failure outcomes, and the fact that repeated failure requires a human. Nothing an agent needs to decide whether to call it, or to predict the result, is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds meaning by framing `decision: 'acknowledge_live_state'` as a confirmation that a real check occurred, not a technical flag. The `id` and `operationId` semantics stay in the schema and are not duplicated in prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and resource: "resolve a durable operation stuck in the uncertain state," and names the three operations (save_agent_draft, publish_agent_draft, rollback_agent_draft) that can produce that state. The REST equivalent is given up front, so an agent can map it to prior knowledge immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly requires a prior human/agent check of live state, names the ways to do it (volai portal, get_call or other read tools against the account), and states an exclusion: "Never call this to skip checking." That is when-to-use, prerequisite, and when-not-to-use in one place.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.