Skip to main content
Glama
zephyr-ra-mcp

zephyr-ra-mcp

by KaleoLiu

stage_verify

Verifies a firmware test stage and, on success, unlocks the next stage's tools. Returns verifiable evidence and identifies the most likely cause when a stage fails.

Instructions

Verify whether the given stage passes; on success, unlock the next stage's tools. Returns self-verifiable evidence, not just true/false; on failure it names the single most likely cause.

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": {
      "stage_id": "<stage_id>"
    },
    "name": "stage_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNoStage-specific parameters. clock: {symbol, expect}; log: {timeout_ms, gap_ms}; shell: {cmd, expect}; gpio: {ports, samples, interval_ms}; bus: {peripheral}; device: exactly one of {cmd|register|symbol|address} plus expect (cmd compares substrings, the rest compare values, and may add mask/size)
stage_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false; the description is consistent, disclosing the mutation side effect (unlocking the next stage's tools) that the annotations only hint at. It also characterizes the response ('self-verifiable evidence, not just true/false; on failure it names the single most likely cause'), which is real behavioral context. It does not say whether a failed verification leaves state untouched or what permissions the unlock requires.

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?

Two sentences, front-loaded with the action and outcome, then the return-value contract. No filler, no restatement of the tool name.

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

Completeness4/5

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

With no output schema, the description usefully compensates by describing what comes back and how failures are reported, and the nested params detail lives in the schema. The remaining gap is the unexplained stage_id – for a gated, stateful verification tool the agent needs to know where that identifier comes from.

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%: the nested 'params' object is documented in extreme detail by the schema itself, so the description adds nothing there, and 'stage_id' is undocumented in both schema and description (no hint about where to obtain a valid id, e.g. from stage_status). Baseline 3 is appropriate given the schema does most of the work.

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 resource ('verify whether the given stage passes') plus the consequence ('unlock the next stage's tools'), which separates it from stage_status (inspect) and stage_override (force) by implication. It stops short of naming a sibling explicitly, so a 4 rather than 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 Guidelines3/5

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

The gating role is implied – you call it to check a stage and advance progress – but there is no explicit when-to-use or when-not-to-use guidance, nor any pointer to stage_status or stage_override as alternatives. The agent must infer the workflow position.

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