Skip to main content
Glama

plan_add_criterion

Add a pending acceptance criterion to a task to clarify how completion will be verified.

Instructions

Add a pending acceptance criterion to a task.

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": "<task>",
      "text": "<text>"
    },
    "name": "plan_add_criterion"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesA task key: ^id (e.g. ^api), the id alone, or L<line>
textYesHow the task is known to be done, one line

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, and openWorldHint=false, so the description does not need to re-explain that this mutates state. It does add one useful behavioral fact beyond annotations: the criterion starts in a 'pending' state, implying it must later be verified via plan_check_criterion. It omits what happens on duplicate text, how the task is matched, or what is returned.

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?

A single short sentence with zero filler, front-loaded with the verb and the resource. It is efficient, though its brevity is partly the reason other dimensions are thin.

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 small two-parameter mutation with full schema coverage, the description covers the core action, but with no output schema it never says what the call returns (e.g., a criterion identifier needed for later check/remove calls). That is a real gap for an agent chaining this with plan_check_criterion or plan_remove_criterion.

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 (task key format ^id/L<line>, and the one-line completion text) are already fully documented in the schema. The description adds only the word 'pending' and no format or constraint details 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.

Purpose4/5

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

The description states a concrete verb and resource (add an acceptance criterion) plus the initial state ('pending'), which distinguishes it from plan_add_task, plan_add_dependency, and plan_add_note without opening their schemas. It stops short of explicitly naming a sibling it contrasts with, keeping it below a 5.

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 guidance on when to add a criterion versus adding a task, a dependency, or a note, and no prerequisites or exclusions are stated. The agent must infer usage purely from the tool name and the other sibling names.

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