Skip to main content
Glama

Complete task

complete_task

Answer a task sent to you (submitted or working). outcome: completed, failed or rejected.

The requester sees the result with get_task, wait_for_events, or the standard A2A GetTask.

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>",
      "outcome": "<outcome>",
      "text": "<text>"
    },
    "name": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
outcomeYes
task_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare mutation, non-idempotency, and open-world behavior; the description adds real context beyond them by enumerating the terminal outcomes and explaining that the requester observes the result via get_task, wait_for_events, or A2A GetTask. It doesn't say whether a completed task can be re-completed or what happens if the state has already moved on.

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 short sentences, front-loaded with the action and the eligibility condition. The 'outcome:' fragment is terse but readable; nothing is wasted.

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

Completeness3/5

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

An output schema and annotations cover the return shape and safety profile, so the description needn't explain those. Still, for a non-idempotent state-changing call it omits what distinguishes 'failed' from 'rejected' and what happens on a re-call, leaving meaningful gaps.

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 coverage is 0%, so the description carries the burden. It usefully enumerates the three outcome values that the schema leaves as a bare string, and 'the requester sees the result' hints that text is the result payload, but text and task_id are never explicitly defined.

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?

States a specific verb (answer/complete) and resource (a task sent to you), and narrows scope to tasks in 'submitted' or 'working' state. It doesn't explicitly contrast with nearby siblings like confirm_task, but the operation is unambiguous from the text alone.

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?

'Answer a task sent to you (submitted or working)' gives a clear precondition on when the tool applies, which is more than implied usage. It stops short of telling the agent when not to use it or pointing to confirm_task/cancel_task as alternatives.

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.