Skip to main content
Glama

Preflight Tool Call

preflight_tool_call
Read-onlyIdempotent

Free MCP decision for generic search:web_search or browse:fetch proposals only. Returns structuredContent and JSON text, never destination results. Caller supplies cost estimates, post-consultation budget and history, executes tools and retrieves resultReference itself. Reuse requires explicit permission, positive TTL and matching nonempty goal hashes; history must belong to the caller. estimated fees/savings are hypothetical, not receipts; confidence is not calibrated. Paid HTTP is a separate $0.001 per settled POST interface. Full contract: https://agent-preflight.com/docs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
toolYes
runIdYes
budgetYes
stepIdYes
historyNo
retryCapNo
capabilitiesNo
preflightPriceUsdNo
freshnessTtlSecondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
issuesYes
decisionYes
estimatedNo
enforcementYes
reasonCodesYes
matchedCallIdNo
recommendationNo
requestFingerprintNoSHA-256 of version-2 exact proposal; absent on invalid input

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: it returns structuredContent and JSON text, never destination results; estimated fees/savings are hypothetical, not receipts; confidence is not calibrated; paid HTTP is a separate $0.001 per settled POST interface. It also discloses the reuse permission requirement. This goes beyond annotations without contradicting them.

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-loaded with the core decision scope, then covers exclusions, caller responsibilities, reuse conditions, caveats, and a link. Every sentence adds information, though the density makes it slightly hard to parse. It is appropriately sized for a complex tool.

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?

Given the tool's complexity (10 params, nested objects, output schema present), the description covers the key decision scope, exclusions, caller responsibilities, reuse conditions, and caveats. The output schema exists, so return values need not be explained. The main gap is that several parameters (runId, stepId, retryCap, capabilities) are not explained, but the description still provides enough context for an agent to understand the tool's role and invoke it correctly.

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 0%, so the description must compensate. It does mention caller supplies cost estimates, post-consultation budget and history, and reuse requires positive TTL and matching goal hashes, which maps to budget, history, freshnessTtlSeconds, and task.goalHash. However, it does not explain runId, stepId, tool.provider/operation/request, retryCap, capabilities, or preflightPriceUsd. The description adds some meaning but leaves many parameters undocumented.

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 ('Free MCP decision') and resource ('generic search:web_search or browse:fetch proposals only'), and explicitly distinguishes what it is not ('never destination results'). It also names the sibling tool check_request indirectly by contrast, making the tool's scope clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use this tool: for generic search:web_search or browse:fetch proposals only, and that it is not for destination results. It also gives clear caller responsibilities (supplies cost estimates, budget, history; executes tools and retrieves resultReference itself) and reuse conditions (explicit permission, positive TTL, matching goal hashes, history must belong to caller). This is strong when-to-use guidance.

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