Skip to main content
Glama

complete_task

Idempotent

Mark one of today's tasks done: the cardio main task, the flexibility cooldown, or one strength exercise. The task id comes from get_today.

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
task_idYesA task id from get_today: <program id>|<yyyy-MM-dd>|<task path>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true and closed-world, so safety is covered. The description adds genuine behavioral scope beyond that: only today's tasks qualify, and only three task categories are completable. It doesn't describe side effects (streak/performance updates) or error behavior for an already-completed task.

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 padding, and the actionable scope is front-loaded before the id-provenance detail. Every clause 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?

For a single-parameter mutation tool with full annotation coverage and no output schema, the description supplies what an agent needs to select and call it. A brief note on repeat calls or invalid ids would make it fully complete, but the gap is minor.

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 100% and the task_id property already documents the composite format and its source in get_today. The description's note that the id comes from get_today restates the schema rather than adding new meaning, 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?

The description gives a specific verb ("mark ... done") plus the resource (a task) and enumerates the exact scope: the cardio main task, the flexibility cooldown, or one strength exercise. That reads clearly against siblings like skip_task and unskip_task, which use different verbs on the same resource.

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?

Usage context is clear: this applies to today's tasks only, and the required id is sourced from get_today, which establishes the calling sequence. It stops short of stating exclusions, e.g. that skipping rather than completing uses skip_task, or what to do if a task is already done.

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