Skip to main content
Glama

slow_report

Build a demo report that runs for a set number of seconds to test MCP task polling, progress updates, and cancellation; returns a one-line summary.

Instructions

Build a small demo report that takes seconds to finish, reporting progress once a second, and return a one-line summary. It exists to show long-running work: a client that declares the MCP tasks extension (io.modelcontextprotocol/tasks, 2026-07-28) gets a task id at once and polls tasks/get for the result; any other client simply waits for the answer. No side effects, no network, no auth beyond the group's key. seconds is capped at 30 and a negative value counts as 0. Use it to try tasks, progress and cancellation; it computes nothing useful.

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": {
      "seconds": "<seconds>"
    },
    "name": "slow_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
secondsYeshow long the report takes, in seconds; 0 answers at once, values above 30 are treated as 30

Output Schema

NameRequiredDescriptionDefault
resultYesone line saying how long the report took

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: no side effects, no network, no auth beyond the group's key, progress emitted once per second, and the tasks-extension path (immediate task id then tasks/get polling) versus plain blocking for other clients. It also discloses the 30-second cap and that negative values are coerced to 0, so runtime behavior is fully predictable.

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?

Four sentences, front-loaded with what it does and why it exists, then protocol behavior, then safety facts, then constraints. Every clause carries information an agent would otherwise have to guess at; nothing is padded.

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?

For a single-parameter tool with an output schema, the only remaining unknowns an agent faces are timing, blocking behavior, and safety, and all three are covered. Return format is summarized in one line rather than over-explained, which is appropriate given the output schema exists.

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 100% and the schema already documents the 30-second cap, so the baseline is 3. The description adds only the negative-value coercion, which is a small increment over what the schema states.

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 gives a specific verb and artifact ('Build a small demo report') plus its defining traits: one-second progress, a one-line summary, and 'it computes nothing useful.' That last clause effectively separates it from the real report siblings (iris_report, ramen_report), though no sibling is named explicitly.

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

Usage Guidelines4/5

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

It states the positive use case plainly ('Use it to try tasks, progress and cancellation') and implies the exclusion by noting it computes nothing useful. There is no explicit when-not or named alternative for real reporting work, so it stops short of a 5.

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