Skip to main content
Glama

complete_task

Marks a task as completed. Fails with a conflict if the task is already completed.

Input Schema

NameRequiredDescriptionDefault
idYesTask id from create_task or list_tasks.

Output Schema

NameRequiredDescriptionDefault
itemsYes
titleNo
messageNo
variantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"The task's ID, as returned by create_task or list_tasks."New value: +"Task id from create_task or list_tasks."
  2. Changed3 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "018f2c9a1b2c7d3e9a4f5b6c7d8e9f0a"
      +  }
      +]
    • addedInput schema / properties / id / description
      Added value: +"The task's ID, as returned by create_task or list_tasks."
    • addedInput schema / properties / id / examples
      Added value: +[
      +  "018f2c9a1b2c7d3e9a4f5b6c7d8e9f0a"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the operation is not idempotent and will fail with a conflict when the task is already completed, which an agent must know to avoid error loops. It does not say what completion does to dependent tasks or whether extra permissions are needed.

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 with zero filler, and the purpose is front-loaded ahead of the failure condition. Every sentence earns its place.

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, the single parameter is fully documented, and annotations plus the description together cover both the mutation and its failure mode. The only remaining gap is side effects on related data or prerequisite state, which a state-changing task tool could reasonably mention.

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?

Only one parameter and schema description coverage is 100%, with the schema itself explaining that the id comes from create_task or list_tasks. The description adds no further parameter meaning, so the baseline 3 applies.

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 ('Marks a task as completed'), which is clearly distinct from create_task, update_task, delete_task and the inverse uncomplete_task. It never names a sibling explicitly, so the differentiation is inferable rather than stated.

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?

Usage is implied by the verb rather than spelled out: nothing says when to prefer this over update_task (which might also change completion state) or how it relates to uncomplete_task. The conflict-on-already-completed note is the only conditional guidance offered.

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