Skip to main content
Glama

Process steps

process_steps
Read-onlyIdempotent

Runs a small staged operation to demonstrate MCP progress notifications and cancellation, helping test client handling of step updates and cancellation.

Instructions

Run a small staged operation that demonstrates MCP progress notifications and cancellation.

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": {
      "steps": "<steps>"
    },
    "name": "process_steps"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesNumber of steps to process
delayMsNo

Output Schema

NameRequiredDescriptionDefault
totalYes
cancelledYes
completedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavior — that the operation emits progress notifications and honors cancellation — but says nothing about duration, blocking vs streaming, or what cancellation leaves behind.

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?

A single front-loaded sentence with no filler; every clause carries information about the operation and its two protocol behaviors.

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?

The tool is small (2 params, output schema present, annotations present), so the burden is light. Still, for a demo utility an agent would benefit from knowing roughly how long a run lasts (steps × delayMs) and whether progress appears as notifications only or also in the result, neither of which is stated.

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 50%: 'steps' is documented in the schema while 'delayMs' is not, and the description mentions neither parameter. The name 'delayMs' plus its default and 0-1000 range make the meaning largely self-evident, so the gap is small but the description adds no meaning beyond the 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?

States a specific verb and a concrete purpose: 'Run a small staged operation that demonstrates MCP progress notifications and cancellation.' An agent can tell this is a demo/test utility rather than a data tool like list_tasks or multiply, though the abstract phrase 'staged operation' leaves unclear what a step actually does.

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

Usage Guidelines3/5

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

Usage is only implied: the mention of 'demonstrates progress notifications and cancellation' hints it is for exercising those protocol features, but there is no explicit when-to-use, when-not, or pointer to any alternative sibling.

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