Skip to main content
Glama

next_question

Read-onlyIdempotent

Fetches the next open check from a review, blockers first, plus the question to ask the user about it so reviews progress without skipped items.

Instructions

The next open check, blockers first, and the question to ask the user about it.

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": {
      "review_id": "<review_id>"
    },
    "name": "next_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
review_idYesThe review's id, from start_review or list_reviews.

Output Schema

NameRequiredDescriptionDefault
doneYesTrue when every check has passed.
checkNo
stageNocontrol: name an owner and a control. test: run the scenario and report. retest: the last result failed or was inconclusive.
questionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 the safety profile is covered. The description adds real behavioral context beyond that: results are prioritized with blockers first and come paired with a question to pose to the user. It does not say what happens when no open checks remain, which is the key behavioral edge case for a "next" tool.

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 compact sentence with the highest-value information front-loaded ("next open check, blockers first"). No filler, though the terseness contributes to the ambiguity noted elsewhere.

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?

An output schema exists, so return shape needn't be explained, and the ordering plus question payload are covered. Still missing for a workflow-advancing tool: what constitutes an "open check" and what the caller should do when it is exhausted, forcing the agent to infer the loop.

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?

Only one parameter, and the schema already documents review_id at 100% coverage including its provenance (start_review or list_reviews). The description adds nothing about the parameter, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

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

The description names the resource returned ("the next open check") and its ordering ("blockers first"), plus an accompanying question, which distinguishes it from siblings like list_reviews or review_record. However it is a bare noun phrase with no verb and never states that it *returns* these things, and "open check" is unexplained jargon that an agent must guess at.

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 explicit when-to-use guidance, no mention of calling it repeatedly to drive a review loop, and no reference to the record_* siblings that presumably resolve a check. The only usage signal is implicit in the word "next".

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