Skip to main content
Glama

FMF Proof

Seller Pre-Pay Check

seller_precheck

One call before you pay a seller: the paid-path check (payTo byte-identity, price as integer atoms, validate-before-pay), MCP-vs-HTTP price parity if you give the MCP URL, and the health of any facilitator the 402 names, in one issues list. The seller's wallet history is not part of it and the output says so.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "seller_precheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe paid route. Also accepted as: link, uri, href, page, website, site, address.
bodyNoThe JSON body the paid call will send.
methodNoGET or POST (default POST).
listingNoWhat the listing claims: { pay_to, price_usd or price_atoms, decimals, network, asset }.
mcp_urlNoOptional: the seller's MCP endpoint, for price parity.
mcp_toolNoOptional: the tool name, if the MCP server lists several.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses output shape at a high level ('one issues list') and an explicit scope boundary, which is genuine value. However, it never says whether the call is read-only, whether it performs live network fetches against the seller or facilitator endpoints, or what happens on failure — meaningful gaps for a pre-payment gate.

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?

Two sentences, no filler, with the 'call this before you pay' framing and the enumerated checks up front. The jargon density (byte-identity, integer atoms, facilitator the 402 names) makes it slower to parse than necessary, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters including a nested listing object, no annotations, and no output schema, the description should do more. It conveys what the issues list covers and what it excludes, which is useful, but leaves the return structure (severity, pass/fail per issue, ordering) and network/permission behavior to guesswork.

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 100%, so the schema already documents all six parameters and the 3 baseline applies. The description adds only a little beyond it: it clarifies that the parity check activates conditionally when the MCP URL is supplied, and that the listed checks map to the listing/body/url inputs. Since the schema already labels mcp_url 'for price parity,' this is largely restatement.

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 specific action ('one call before you pay a seller') and enumerates exactly what it aggregates: payTo byte-identity, integer-atom pricing, validate-before-pay, MCP-vs-HTTP price parity, and facilitator health. It implicitly positions itself as the composite of the sibling checks (paid_path, price_parity, facilitator_health) without naming them as alternatives, so differentiation is strong but not fully explicit.

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?

The trigger is clear and front-loaded: run this before paying a seller. It also gives a real exclusion ('the seller's wallet history is not part of it'), which prevents a mis-scoped expectation. It stops short of saying when to call the narrower single-purpose siblings instead of this bundled check.

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