Skip to main content
Glama

PreFlight402 — Web3 Risk & x402 Audit

PreFlight402 Free Sample Inspector

preflight_sample
Read-onlyIdempotent

Free tool: returns a deterministic sample JSON report for any paid PreFlight402 tool before spending USDC.

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": {
      "tool": "<tool>"
    },
    "name": "preflight_sample"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYesSlug of the PreFlight402 tool to preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description only needs to add context. It does add two useful traits — the output is deterministic and the call is free (no USDC spent) — but says nothing about response size, whether the sample mirrors the paid tool's real schema, or any usage limits.

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?

One sentence, front-loaded with the key differentiator ('Free tool'), with no redundant or filler wording. Nothing an agent needs is buried or repeated.

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 one-parameter, non-destructive preview tool with full schema coverage and no output schema, the description supplies enough to call it correctly and interpret the result as a sample report. A note on whether the sample matches the paid tool's output shape would make it complete.

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 coverage is 100% and the single parameter is a fully enumerated slug with its own description, so the schema carries the parameter burden. The description adds only mild framing by calling the targets 'paid PreFlight402 tools', consistent with the enum; a 3 baseline is appropriate.

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?

States a concrete verb (returns) and resource (deterministic sample JSON report) scoped to 'any paid PreFlight402 tool', which makes clear it is the preview counterpart of the paid tools rather than an analyzer itself. It stops short of naming a sibling explicitly, so differentiation relies on the reader inferring 'sample vs. paid'.

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?

'before spending USDC' gives an explicit trigger condition for calling this tool, and the phrase 'for any paid PreFlight402 tool' implies the paid counterparts are the alternative once a preview is judged sufficient. No explicit when-not guidance or rate/cost caveats are given, but the usage context is clear.

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.