Skip to main content
Glama

Block Todo

block_todo
Idempotent

Mark a to-do as blocked when it waits on an external person or review, and record the blocker reason so agents skip it until resumed.

Instructions

Mark a to-do blocked: it is waiting on something outside it (a person, a review).

Records reason as blocked_reason; get_next_todo skips blocked to-dos. When the blocker clears, start_todo resumes it, or reopen_todo puts it back to open.

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>",
      "reason": "<reason>"
    },
    "name": "block_todo"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy it is blocked (required) — stored as ``blocked_reason``.
todo_idYesThe to-do to block (required, in-scope): its id or its key (e.g. MAG-3).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds value beyond them: the reason is persisted as blocked_reason, and blocked to-dos are skipped by get_next_todo, which is a cross-tool side effect an agent must know. It stops short of stating whether blocking an already-blocked to-do overwrites the reason, which matters given the idempotent hint.

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 with the definition front-loaded and the state transitions second. Nothing is padding, though the transition sentence compresses three distinct paths into one line, making it slightly dense to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and both parameters are fully covered by the schema. For a two-parameter state-mutation tool, the definition plus annotations give an agent everything needed to call it correctly and predict the effect on sibling tools.

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%, so both parameters are already documented with required status and the id-or-key format. The description's mention that reason maps to blocked_reason mirrors the schema field text, adding only a light confirmation rather than new meaning.

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 to-do blocked') and immediately defines what 'blocked' means ('waiting on something outside it (a person, a review)'). It also names the downstream effect on get_next_todo, so an agent can distinguish this from complete_todo, cancel_todo, or archive_todo.

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

Usage Guidelines5/5

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

Gives an explicit trigger condition (an external dependency such as a person or review) and names the exit paths: start_todo resumes it when the blocker clears, reopen_todo returns it to open. That is a compact state-machine routing guide rather than a bare description.

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