Skip to main content
Glama

Validate a plan

validate_plan
Read-onlyIdempotent

Checks an ordered list of steps (stages, gates, events, practices, techniques, notations, artifacts). Errors: empty plan, unknown ids, non-step types, stage order (analysis and design work planned early is only a warning 'early'; building before G3–G5 is an order error), contract after delivery gates, a gate after the step it authorises (G8 after the cutover), antipatterns, avoid or not-applicable items. Warnings: duplicates, redundant alternatives, early work, a cutover with no G8 or go / no-go meeting before it, antipatterns of severity warning. 'Shadow start' looks at the order: G4 or G5 must come before the first build step. 'expected' lists gate evidence not yet produced by earlier steps.

Input Schema

NameRequiredDescriptionDefault
langNoAnswer language, default en
stepsYes
contextNoProject context. Unknown keys and values are rejected in the answer envelope with did_you_mean. Defaults: software, hybrid, complicated, tm, single, medium size, ui, data.
evidenceNoArtifacts that already exist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / evidence / propertyNames / maxLength
      Added value: +100
    • addedInput schema / properties / steps / items / maxLength
      Added value: +100
    • addedInput schema / properties / steps / maxItems
      Added value: +300
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds substantial detail beyond that, listing specific error and warning conditions, 'shadow start' rules, and what 'expected' means. It does not describe return formatting or performance, keeping it from a 5.

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?

The description is dense but front-loads its purpose and uses clear 'Errors:' and 'Warnings:' groupings. It is longer than typical, with some parenthetical interruptions, but every clause contributes relevant validation information.

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?

For a complex validation tool with no output schema and a rich nested context parameter, the description thoroughly covers step validation but never explains how the context object (e.g., size, physical, high_stakes) alters the rules. The schema descriptions partially compensate, but the description alone leaves an important gap.

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 description coverage is 75%, so the baseline is 3. The description clarifies what the steps parameter should contain (stages, gates, events, etc.) and mentions the evidence concept via 'expected', but it does not explain the lang or context parameters, leaving the schema to carry most of that burden.

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 states a specific verb (Checks) and resource (an ordered list of steps), and enumerates the step types it validates. It is clearly distinguishable from siblings like check_gate or check_mix, though it does not explicitly name alternatives.

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?

Usage is implied: an agent can infer this tool validates a plan. However, there is no explicit guidance on when to use it versus alternatives, no prerequisites, and no exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources