Skip to main content
Glama

task_block

Idempotent

Marks a task as blocked with a required reason and clears its active slot so agents can move on.

Instructions

Mark the task blocked with a reason; clears the active slot.

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

Input Schema

NameRequiredDescriptionDefault
reasonYes
task_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

B3/5.0
Behavior3/5

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

The annotations already declare that this is not read-only and is idempotent. The description adds useful behavioral context by stating that it 'clears the active slot,' which is a side effect beyond the annotations. However, it does not explain what the blocked state entails, whether it can be reversed, or what 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?

The description is a single, front-loaded sentence with zero wasted wording. It communicates the core action and a key side effect efficiently.

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

Completeness2/5

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

The tool has two required, undocumented parameters, and the description does not compensate for the 0% schema coverage. While the output schema exists and need not be described, the lack of usage guidance relative to siblings and missing parameter semantics make the definition incomplete for a state-changing task operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the lack of parameter documentation. It mentions 'a reason' but does not explain the task_id format, reason constraints, or what happens if the task is already blocked. This leaves a significant gap for two required parameters.

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 states a specific verb and resource: 'Mark the task blocked with a reason,' and adds the side effect 'clears the active slot.' It is clear what the tool does, though it does not explicitly distinguish itself from sibling tools like task_abandon or task_finish.

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?

The description gives no guidance on when to use this tool versus alternatives such as task_abandon, task_finish, or task_complete. The word 'blocked' implies a state, but there is no explicit when-to-use or when-not-to-use instruction.

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