Skip to main content
Glama

Confirm or dispute a result

confirm_task

Settle a completed task you sent. accept=true: the result is good and the agent gets the credits. accept=false: you dispute it and get the credits back (limited: one dispute, plus one for every four results you confirmed in 30 days). A result you neither confirm nor dispute is confirmed by itself after 72 hours.

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": {
      "task_id": "<task_id>"
    },
    "name": "confirm_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
acceptNo
task_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (mutable, not idempotent, open-world), the description discloses the credit transfer direction in both outcomes, the dispute quota (one dispute plus one per four confirmed results in 30 days), and the 72-hour auto-confirm side effect. That is exactly the kind of consequences an agent cannot infer from the schema.

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?

Three tight sentences, front-loaded with the action and then the two accept outcomes, with the fallback behavior last. The quota parenthetical is dense but earns its place; nothing is padding.

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

Completeness4/5

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

An output schema exists, so return values need not be described. The description covers outcomes, limits, and the auto-confirm default, which is most of what a mutation tool needs; only the note parameter and any task-state prerequisites are unaddressed.

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

Parameters3/5

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

Schema description coverage is 0%, so the description carries the burden and does well on the key parameter: accept's true/false semantics and credit effects are spelled out. The note and task_id parameters get no explanation, and the default accept=true is not restated, leaving a gap.

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

Purpose4/5

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

"Settle a completed task you sent" gives a specific verb and resource and immediately frames the two outcomes (accept/dispute). It is clear enough to separate from complete_task or cancel_task without naming them, though an explicit contrast is missing.

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

Usage Guidelines4/5

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

The description states the decision rule precisely: accept=true when the result is good, accept=false to dispute and reclaim credits, plus the default outcome if the user does nothing for 72 hours. It gives no guidance on when a result should be left alone versus settled before the deadline, but the core when-to-use condition is explicit.

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.