Skip to main content
Glama

pio_test_plan_validate

Validate a declarative hardware test plan JSON before execution; checks required serial assertion fields and returns the normalized plan.

Instructions

Validate a declarative hardware test plan JSON file before execution. Checks required fields for a serial assertion workflow (project, success/failure patterns, timeout, observation window, iteration count) and returns the normalized plan.

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": {
      "plan_path": "<plan_path>"
    },
    "name": "pio_test_plan_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
plan_pathYes
project_dirNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.0
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "plan_path",
      -  "context"
      -]New value: +[
      +  "plan_path"
      +]
  2. Addedv0.6.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses which fields are checked and that a normalized plan is returned, but says nothing about error reporting (fail-fast vs. collected errors), whether the file is ever rewritten, or side effects on project state.

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 tight sentences: the action and its ordering constraint come first, then the concrete checks and return value. No filler, and the enumerated fields are a useful scan target.

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 output schema covers return values, so returning the normalized plan need not be elaborated. However, for a 5-parameter tool with no annotations and 40% schema coverage, the definition leaves the auxiliary parameters and failure behavior unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40% across 5 parameters. The description implies plan_path via 'plan JSON file', but env, project_dir, llm_model, and conversation_id get no explanation, and the mention of 'project' is ambiguous between a field inside the plan and the project_dir parameter.

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 (validate) and resource (declarative hardware test plan JSON file) with a clear temporal scope ('before execution'), which separates it from pio_test_plan_start and pio_test. It stops short of naming a sibling or the alternate path to take, so it is clear but not fully differentiated.

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?

'Before execution' gives a concrete trigger condition for calling this rather than running a plan. There is no explicit when-not guidance or named alternative (e.g., pio_test_plan_start), which keeps it out of the top band.

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