Skip to main content
Glama

plan_validate

Read-onlyIdempotent

Validates calculation plans by verifying immutable input hashes, runtime compatibility, and resource preflight, so snapshots can be checked without reconnecting original folders.

Instructions

Verify immutable plan input hashes, runtime compatibility and current resource preflight; original folders need not remain connected after snapshots.

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": {
      "request": "<request>"
    },
    "name": "plan_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesTool arguments object (all fields documented; Z is positive upward).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the safety profile is covered; the description adds real substance by enumerating the three verification dimensions and disclosing that original folders need not stay connected after snapshots. It stops short of saying what happens on a failed verification (exception vs. report).

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 dense sentence with the core verification targets front-loaded and the folder-disconnection caveat trailing as a secondary clause. No wasted words, though the semicolon-joined caveat slightly obscures the primary action.

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?

Read-only annotations and a fully described nested schema carry most of the load, but with no output schema the description never says what a verification returns — a pass/fail boolean, a list of violations, or an error — which matters for an agent deciding how to react to the result.

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 documents it to 100% coverage including the nested {id, revision} artifact reference and project_id format. The description adds no parameter-level meaning beyond that, so baseline 3 applies.

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?

Specific verb (Verify) bound to three concrete checks: immutable plan input hashes, runtime compatibility, and resource preflight. The object under test ('plan') separates it from the many sibling *_validate tools (dataset_validate, workflow_validate, simulation_validate), though it never names or contrasts those siblings explicitly.

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?

'Preflight' implies the check runs before execution, and the schema's 'calculation_plan artifact ... with status READY' hints at the precondition, but the description never states when to call this versus calculation_run or the other validators, nor what to do on failure. Usage is inferable rather than stated.

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