Skip to main content
Glama

Complete task

complete_task

Mark a task as complete. A recurring task rolls its due date forward instead of being checked off - the response reports recurred: true when that happened, so do not claim the task is done in that case.

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": {
      "projectId": "<projectId>",
      "taskId": "<taskId>"
    },
    "name": "complete_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID from `list_tasks`
projectIdYesProject ID from `list_projects`

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, non-idempotent mutation; the description adds the genuinely non-obvious trait that recurring tasks roll their due date forward rather than being checked off. It even names the response field (`recurred: true`) that signals this, which is the key behavioral fact an agent needs before summarizing the outcome.

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 sentences, zero waste, with the core action front-loaded and the edge-case caveat following immediately. Nothing is repeated from the title or schema.

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 two-parameter mutation with no output schema, the description covers the main failure mode (falsely reporting completion of a recurring task) and names the response flag. It does not mention reversibility (uncomplete_task) or any permission requirements, which are minor residual gaps given the annotation coverage.

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% and both parameters (taskId, projectId) are documented in the schema with their source tools. The description adds no syntax, format, or sourcing detail beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Mark a task as complete') and immediately qualifies the semantics with the recurring-task case. An agent can distinguish it from uncomplete_task or complete_project without opening any schema.

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 an explicit conditional instruction about what not to do ('do not claim the task is done') when the response reports recurred: true. It stops short of naming the reverse operation (uncomplete_task) as an alternative, so it is clear context rather than full when/when-not routing.

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.