Skip to main content
Glama

Mark a task done

complete_task
Idempotent

Use this when the owner says a task or call-back is done. Tick off one task (list_tasks gives the id) when the client says it is done.

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": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoClient website slug (or id). Required for platform-scoped keys.
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare write, idempotent, non-destructive, non-open-world. The description adds useful scope ('one task' — not batch) and the completion trigger, but says nothing about what happens when the task is already done, whether the change is reversible, or what a failed completion returns.

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?

Two short sentences, front-loaded with the usage condition. The second sentence repeats 'is done' from the first, a minor redundancy, but nothing is padding.

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?

A simple two-parameter mutation whose safety profile is fully covered by annotations, so the description needn't do much more. Still, it omits idempotent-repeat behavior and error/precondition handling, which matter for a state-changing tool with an undocumented required id.

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 50%: client is documented but task_id is not. The description compensates partially by telling the agent where to obtain task_id (list_tasks), but gives no format guidance for either parameter beyond that.

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 operation on a specific resource: 'tick off one task' with the id coming from list_tasks. An agent can distinguish it from list_tasks and the apply_* siblings without opening the schema, though the 'owner says' vs 'client says' framing is slightly muddled.

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?

Gives a clear trigger condition ('when the owner says a task or call-back is done') and routes the agent to list_tasks for the required id. It does not state when not to use it (e.g., un-completing or bulk-completing), but the context is concrete enough to act on.

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