Skip to main content
Glama

SpendPreflight

Listing Guard compatibility alias

check_listing
Read-only

Use when an existing integration calls the listing_guard compatibility alias. Compatibility alias of listing_guard for existing clients. Prefer listing_guard for a new detailed metadata check; these are the same operation, not two independent checks. Bazaar Listing Guard: CDP technical validation plus a bounded heuristic metadata screen for agent-directed instructions, embedded URLs, tool calls, invisible Unicode, long fields and prices above 100x a fresh Scout category median. Returns riskScore, flagged spans and rewrite suggestions. Not Coinbase policy certification or guaranteed detection. Public HTTPS only; no target payment or request bodies stored. Price $0.05 USDC on Base; shared trial may apply. Price: 0.05 USDC. Minimal input example: {"url":"https://api.spendpreflight.com/v1/check","method":"GET"}. Illustrative output excerpt: {"cdpPreflight":{"valid":true,"preflight":[],"index":null},"riskScore":0,"flags":[],"suggestedRewrite":[],"screenComplete":true,"priceCompared":false,"indexActive":null,"example_note":"Illustrative response only; not a live result or safety guarantee."}. Illustrative output excerpt, not a live result, signature, approval or guarantee. Freshness/data/availability checks still apply. How to pay (MCP): First use the existing shared allowance of 3 eligible calls per IP per UTC day, without payment metadata. This is shared with eligible HTTP trials, not a new allowance. Use an x402-capable MCP client. A generic MCP connector without payment support cannot complete a paid continuation. On payment required, STOP. Inspect the exact accepts amount, asset, network and payTo; obtain explicit wallet/budget approval before continuing. Only after approval, let the configured x402 MCP client attach its signed payload in _meta["x402/payment"] and retry the same tools/call arguments. Never send a separate USDC transfer or paste keys into tool arguments. Never silently fall back from free access to payment. If a signed attempt has an unknown outcome, inspect that authorization/transaction; do not create another automatically.

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": {
      "url": "<url>",
      "method": "<method>"
    },
    "name": "check_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesRequired. Exact public resource URL string, including path; no credentials. Example: https://api.example.com/data.
methodYesRequired. Advertised HTTP method string, not a new target request. Example: GET. Supply when cached methods are ambiguous.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / method / description
      Added value: +"Required. Advertised HTTP method string, not a new target request. Example: GET. Supply when cached methods are ambiguous."
    • addedInput schema / properties / url / description
      Added value: +"Required. Exact public resource URL string, including path; no credentials. Example: https://api.example.com/data."
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say readOnly and openWorld; the description adds substantial context beyond that: public HTTPS targets only, no target payment or request bodies stored, a shared 3-calls-per-IP-per-UTC-day trial, a $0.05 USDC-on-Base price, the x402 _meta payment handshake, and explicit 'not a policy certification or guaranteed detection' caveats. It also warns that a generic connector without payment support cannot complete a paid continuation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is bloated: payment mechanics dominate over half the description, the disclaimer about illustrative output is stated twice, and 'Price $0.05 USDC on Base' is repeated as 'Price: 0.05 USDC.' The core purpose is buried rather than front-loaded, so an agent must parse a long block before finding what the tool does.

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 no output schema, the description carries the return contract and does so by naming riskScore, flagged spans, rewrite suggestions, screenComplete and an illustrative response excerpt. Combined with the privacy and payment disclosures, an agent has enough to call it correctly, though the illustrative output is explicitly disclaimed and exact field semantics remain loose.

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 both params are already documented with examples and an enum for method, so the baseline is 3. The description's 'minimal input example' repeats the example already present in the schema and adds no new semantics about url normalization, method selection, or validation rules.

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 names the concrete function: 'CDP technical validation plus a bounded heuristic metadata screen' covering embedded URLs, tool calls, invisible Unicode, long fields and outlier prices. It also distinguishes itself from the sibling listing_guard by declaring they are 'the same operation, not two independent checks.' The weakness is ordering: the first two sentences are about alias identity, and the actual verb-plus-resource statement only arrives in the fourth sentence.

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?

It gives explicit when-to-use ('when an existing integration calls the listing_guard compatibility alias') and when-not ('prefer listing_guard for a new detailed metadata check'), naming the alternative and stating the two are equivalent. It further specifies the free-trial condition, the requirement for an x402-capable client, and the instruction to stop and seek approval on payment required rather than silently falling back.

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