Skip to main content
Glama

Toggle Todo Complete

todo_toggle

Switch a todo between complete and incomplete by its ID. Use it to update task status and reverse accidental completions in the Todo MCP Server.

Instructions

Mark a todo as complete or incomplete.

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": {
      "todo_id": "<todo_id>"
    },
    "name": "todo_toggle"
  }
}

Input Schema

NameRequiredDescriptionDefault
todo_idYesTodo ID to toggle

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already state readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so safety is covered. The word 'toggle' usefully reinforces the non-idempotent flip semantics disclosed by the annotations, but the description says nothing about behavior for a missing or deleted todo_id, nor about what the response contains.

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?

One short sentence with the action front-loaded and not a single wasted word. Nothing is buried or redundant.

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 one-parameter toggle with no output schema, the definition is minimally sufficient to call the tool correctly. It is thin on error behavior and on how the resulting state is reported back, which matters because the agent cannot know the new state without a return value description.

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?

There is a single required parameter with 100% schema description coverage ('Todo ID to toggle'), so the schema already carries the meaning. The description adds no format, source, or validation detail beyond it; baseline 3 applies for a fully documented single-parameter schema.

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 names a specific verb (mark) and resource state (complete or incomplete) on a todo, which is distinct from generic mutation siblings such as todo_update. It does not explicitly name the sibling it differs from, so an agent must infer that an explicit state set belongs in todo_update rather than here.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no mention of the obvious alternative todo_update (or the todo_completed listing tool, which is a filter rather than a mutation). The only usage signal is implied by the verb 'toggle'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.