Skip to main content
Glama

Complete task

complete_task

Complete a task you hold the claim on. Requires scope 'tasks:write'.

Input Schema

NameRequiredDescriptionDefault
resultNoMax 64 KiB.
task_idYes
workspace_idYes
idempotency_keyNoOptional. Same key + same arguments within 24 h returns the original result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive mutation, so the bar is lower. The description adds useful behavioral context beyond annotations by naming the required authorization scope and the claim-ownership precondition, though it does not describe the completion effect or claim-release behavior.

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?

It is two tightly written sentences with the action and prerequisite front-loaded. There is no redundant or filler text.

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?

For a simple completion mutation with annotations and no output schema, the description covers the key authorization and ownership context. However, it does not explain what completing the task does, whether the claim is released, or how the result field is handled, leaving some operational gaps.

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

Parameters2/5

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

The description does not mention any of the four parameters (workspace_id, task_id, result, idempotency_key) or add meaning beyond the schema. With only 50% schema description coverage, the description leaves the required UUID parameters and the result/idempotency semantics to the schema without compensating guidance.

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?

The description gives a specific verb and resource ('Complete a task') and adds an important scope condition ('a task you hold the claim on'), which distinguishes the moment of use from claim_task. It does not explicitly name a sibling tool, but the claim precondition makes the purpose clear.

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?

It states a clear usage context: the caller must already hold the claim on the task, and the call requires the 'tasks:write' scope. Alternatives or exclusions are not spelled out, but the prerequisite is enough to guide correct selection.

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