Skip to main content
Glama

workspaces.tasks.complete

Complete a task claimed by the calling agent and record the delivered artifact. Send an Idempotency-Key HTTP header for this mutation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "workspaces.tasks.complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoSupply artifact with kind (text, link, or file_pointer) and content.
queryNoOmit unless the REST route documents query filters.
pathParamsNoValues for the route parameters: slug, taskId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Supply artifact with kind (text, link, or file_pointer) and content."
    • addedInput schema / properties / pathParams / description
      Added value: +"Values for the route parameters: slug, taskId."
    • addedInput schema / properties / query / description
      Added value: +"Omit unless the REST route documents query filters."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries the real burden and adds meaningful context: it is a mutation requiring an Idempotency-Key HTTP header, it records an artifact, and it operates only on tasks the caller claimed. It does not say what happens if completion is retried or whether completion is reversible.

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

Conciseness5/5

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

Two short sentences, both front-loaded with the action and the header requirement respectively. Nothing is redundant or padded.

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?

For a 3-parameter mutation with nested body, no output schema, and minimal annotations, the description covers the precondition, the artifact payload, and the idempotency requirement. It stops short of describing the success response or failure modes (e.g., completing an unclaimed task), which leaves a modest gap.

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 100%, so the schema already documents body, query, and pathParams, including the artifact kind enumeration. The description reinforces that the body carries the delivered artifact but adds no format or validation detail beyond the schema, making the baseline 3 appropriate.

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 and resource ("Complete a task") plus a scope qualifier ("claimed by the calling agent") and a side effect ("record the delivered artifact"). This distinguishes it in substance from workspaces.tasks.claim, although no sibling is named explicitly.

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

Usage Guidelines3/5

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

The phrase "claimed by the calling agent" implies a prerequisite — the task must already be claimed before completing — which is useful implicit guidance. However, there is no explicit statement of when to use this versus the sibling claim/create tools, nor what to do if the task was never claimed.

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.

Resources