Skip to main content
Glama

Synthex Forge — x402 Paid Agent Services

Plan Preflight

plan_preflight
Read-onlyIdempotent

Turn a task into an executable plan before you spend anything: the steps in the order they should run, what each step costs, what would fail, and every field you have to supply first. Free, and it never invokes anything.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoWhat you want to do, in your own words.
limitNoHow many matches to plan around. Maximum 25.
budget_usdNoThe most you are willing to spend, in USD.
protocol_preferenceNoPreferred protocols. Recorded and echoed.
capabilities_requiredNoThe capabilities you need. When you give this list it IS the requirement set.

Output Schema

NameRequiredDescriptionDefault
taskNoThe task that was planned.
notesNoAnything the caller should know.
stepsNoThe ordered steps.
catalogueNoWhich catalogue artefact answered.
discoveryNoThe full discovery answer this plan was built from — the same shape the discover tool returns.
confidenceNoThe discovery confidence.
executableNoTrue when the plan can be run as it stands.
step_countNoHow many steps the plan has.
total_cost_usdNoWhat the whole plan costs, or null when it cannot be known. Never an estimate.
what_would_failNoEverything that would stop this plan from completing.
total_cost_basisNoWhich services the total is the sum of.
confidence_reasonNoWhy.
total_cost_reasonNoWhy the total is what it is.
total_cost_statusNo'measured' or 'unknown'.
caller_must_supplyNoEvery field the caller has to provide, with the step it belongs to.
not_executable_reasonNoWhy the plan cannot be run, when it cannot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/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 information not in those hints: it is free (no cost incurred) and it never invokes anything, which is a stronger guarantee than readOnly alone. The description of the plan payload (steps, costs, failure modes, required fields) is useful context even though an output schema exists.

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?

A single sentence, front-loaded with the core action and then the payoff, followed by a short safety/cost clause. Every clause (ordering, cost, failure, required fields, free, non-invoking) carries distinct information with no restatement of the name or title.

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?

With an output schema present and annotations covering safety, the description only needs to convey purpose, timing, and cost profile, all of which it does. One gap: all five parameters are optional, and the description does not say what happens if task is omitted or how limit/budget interact with the plan. That is a minor omission rather than a blocking one.

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 100%, so every parameter including task, limit, budget_usd, protocol_preference, and capabilities_required is already documented in the schema. The description gestures at spending limits and required fields but does not add format, default, or interaction detail beyond the schema. Baseline 3 is appropriate when the schema carries the parameter semantics.

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 concrete verb-and-resource pair: it turns a task into an executable plan, and enumerates the plan's contents (ordered steps, per-step cost, failure modes, required fields). That is far more specific than the bare name 'plan_preflight'. It does not name or contrast any sibling tool, so it falls short of the top mark for 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?

Timing guidance is explicit: use it 'before you spend anything,' which tells the agent to plan prior to any paid invocation. It also implicitly excludes execution by noting it 'never invokes anything.' No alternative sibling is named for the cases where a plan is not wanted, so the when-not side is missing.

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.