Skip to main content
Glama

Check a plan

vpf_check
Read-onlyIdempotent

Checks a VPF plan for every problem and reports each reason, affected step, and explanation so you can confirm whether the plan may run.

Instructions

Check a plan in VPF and tell every problem, each with its reason (such as proof.missing), the step it is about and a sentence. A plan may run only when there is no problem. Check every plan before giving 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": {
      "plan": "<plan>"
    },
    "name": "vpf_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesThe plan's JSON text, as it would be saved in a .vpf.json file.

Output Schema

NameRequiredDescriptionDefault
mayRunYesWhether the plan may run.
problemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioural context: it reports *every* problem rather than stopping at the first, and that a clean result is the precondition for the plan to run. However, with an output schema present, the return shape itself is documented elsewhere, and it says nothing about validation cost, failure modes, or what an invalid plan payload yields.

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?

Three short sentences, front-loaded with the core action and its output contract, followed by the gating rule and the instruction to always check. Nothing is redundant. The first sentence is dense with three clauses but each carries distinct information.

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?

For a single-parameter read-only validator with an output schema and full annotation coverage, the description supplies what an agent still needs: what a result contains, how problems are reported, and that validation is a mandatory precondition. The remaining gap, error behaviour on malformed JSON, is minor given the schema and output contract.

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?

There is a single required parameter with 100% schema description coverage, and the schema already explains it is the plan's JSON text as saved in a .vpf.json file. The description adds nothing about the parameter beyond implying the input is a plan. Baseline 3 is appropriate when the schema fully documents the only 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?

The description names a specific verb and resource ('Check a plan in VPF') and states the shape of the result: every problem, with its reason code (e.g. proof.missing), the step concerned, and a sentence. That is far more specific than a restatement of the title. It does not explicitly contrast itself with siblings like vpf_show or vpf_guide, so it falls short of full sibling differentiation.

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?

It gives an explicit use condition: 'Check every plan before giving it,' plus the consequence that gates execution ('A plan may run only when there is no problem'). That is clear when-to-use guidance. It does not name alternatives or say when a check is unnecessary, so no exclusions are provided.

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

Deploy Server

Other Tools