Skip to main content
Glama

ghost_commerce_vet

Before paying an x402 seller you do not know: settlement history, payer structure, funding links, endpoint liveness, quote-vs-advertised price. Use when one named provider or payment address is already in hand and you need a verdict before you pay it. PROCEED/CAUTION/REJECT/INSUFFICIENT_EVIDENCE with a signed receipt. Paid per call via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNoThe seller's payment address (payTo). Optional if endpoint_url is given — the 402 names its own address.
endpoint_urlNoThe seller's paid endpoint, probed with one unpaid request to read its x402 terms.
advertised_amountNoThe price a listing advertised, in minor units, to compare against the live quote.
payment_signatureNox402 PAYMENT-SIGNATURE header value. Omit it to receive the payment terms; call again with it to run the tool.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and it does disclose the key side effect: 'Paid per call via x402.' It also describes the signed receipt output. It does not detail the two-step omit-signature/call-again flow, but that is covered in the schema, so the description adds meaningful behavioral context without contradiction.

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 sentences, front-loaded with the core question, and no wasted words. It packs scope, usage, output, and cost into a compact description.

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 no output schema, the description does a good job by naming the verdict enum and signed receipt. Combined with the self-documenting schema, the agent has enough to decide when to call and roughly what will come back. A full response shape would make it a 5, but it is otherwise 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%, so the baseline is 3. The description adds thematic context (endpoint liveness, quote-vs-advertised price) that maps to endpoint_url and advertised_amount, but it does not add parameter-level detail beyond what the schema already provides.

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 action ('vetting' a seller before payment), names the exact context (unknown x402 seller, payment address already in hand), and lists what it checks. It also names the verdict outputs, which distinguishes it from sibling search/freshness tools.

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?

Gives clear usage context: 'Use when one named provider or payment address is already in hand and you need a verdict before you pay it.' This implies it is not for discovery, but it does not explicitly name alternatives or state when-not-to-use, so it stops short of a 5.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Each tool targets a distinct stage of the x402 provider workflow: search for provider selection, vet for a single known provider, pre_spend_gate for task-level payment economics, and schema_freshness for contract drift. Search and pre_spend_gate both surface payment-related decisions, but their descriptions make the separation relatively clear.

Naming Consistency3/5

All tools share the ghost_ prefix and snake_case style, which is consistent at a high level. However, the pattern is mixed: commerce_search and commerce_vet are verb-oriented, while pre_spend_gate and schema_freshness are noun-oriented, so there is no uniform verb_noun convention.

Tool Count5/5

Four tools is well-scoped for a focused market-intel, vetting, and schema-freshness server. Each tool covers a distinct part of the pre-payment decision workflow without redundancy or bloat.

Completeness5/5

The tool surface covers the full apparent lifecycle: discovering and ranking providers, vetting a named provider, making a task-specific pre-payment decision, and checking schema freshness before repeated use. No obvious dead-end or missing operation is apparent from the domain implied by the tools.

Resources