Skip to main content
Glama

SpendPreflight

SpendPreflight: pricing, defaults, how to pay

get_service_info
Read-onlyIdempotent

Free, read-only service reference. Use first to learn prices, default spending rules, payment setup, trial allowance, and integration links. Takes no arguments and performs no payee screening or payment decision. Use check_payee for standalone payee risk; use preflight_payment for an x402 challenge or cart and an allow/hold/block decision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYes
trustYes
paymentYes
pricingYes
http_apiYes
disclaimerYes
guaranteesYes
when_to_useYes
client_guardYes
default_rulesYes
free_trial_per_dayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint and closed-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: it is free, takes no arguments, and deliberately performs no payee screening or payment decision, preventing misuse as a decision tool. It stops short of describing caching/refresh behavior for pricing data, which is the only remaining gap.

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?

Three short sentences, front-loaded with the value proposition, then scope exclusions, then sibling routing. Every clause earns its place with no repetition of schema or annotation content.

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?

An output schema exists, so return values need no explanation. For a zero-argument, read-only reference tool the description supplies everything needed: what it returns conceptually, that it is safe and free, and how it relates to both siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a no-arg tool applies. The explicit statement that it takes no arguments usefully confirms the empty schema.

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?

States a specific verb and resource ('read-only service reference') and enumerates exactly what it returns: prices, default spending rules, payment setup, trial allowance, integration links. It also explicitly names what it is not (no payee screening, no payment decision), which separates it cleanly from both siblings.

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?

Gives an explicit ordering cue ('Use first to learn prices...') and routes the agent to the correct alternatives by condition: check_payee for standalone payee risk, preflight_payment for an x402 challenge or cart needing an allow/hold/block decision. Nothing about when to pick this tool is left to inference.

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