Skip to main content
Glama

plan_vehicle_repairs

Read-onlyIdempotent

Diagnose draft vehicle faults and test suggested edits to wires and pipes without modifying the design, returning severity, affected IDs, repair operations, and automation feasibility.

Instructions

Diagnose a draft's faults and test suggested edits, wires and pipes without changing it. Returns each finding's severity, affected ids, explanation, concrete operations, and whether it can be repaired automatically or needs a design choice. Pass the returned revision, plan_id and the ids of available findings to repair_vehicle. Read-only.

Input Schema

NameRequiredDescriptionDefault
designYesStored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs).

Output Schema

NameRequiredDescriptionDefault
plan_idYes
findingsYes
revisionYes
verificationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • addedInput schema / properties / design / description
      Added value: +"Stored draft name (from import_vehicle, create_land_vehicle, store_design or save_hull; see list_designs)."
  2. Addedv0.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint=false annotations, the description adds meaningful behavioral context: it says the tool tests suggested edits without changing the draft, returns each finding's severity, affected ids and explanation, and indicates which issues are automatic repairs versus requiring a design choice. It also makes the repair_vehicle handoff explicit.

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?

The description is three compact sentences and front-loads the core action before explaining the return data and next step. The final 'Read-only' phrase is slightly redundant with the annotations but does not undermine the efficient structure.

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

Completeness5/5

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

Given that annotations cover safety, the schema fully describes the single input, and an output schema exists, the description provides enough context for an agent to understand the tool's role, its read-only behavior, and how to use its output. No essential invocation context is missing.

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 one parameter, design, and its schema description has 100% coverage, including where draft names come from. The tool description does not add any further meaning about the design parameter beyond referring to 'a draft's faults', so 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: diagnose a draft's faults and test suggested edits, wires and pipes without changing it. It also distinguishes the tool from the sibling repair_vehicle by making clear this is the read-only planning step whose output is passed onward to repair_vehicle.

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?

The description gives clear usage context by instructing the caller to pass the returned revision, plan_id and finding ids to repair_vehicle. It does not explicitly compare against other diagnostic siblings such as preview_vehicle_diagnostics or preflight_vehicle, so it stops short of full when-to-use/when-not guidance.

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