Skip to main content
Glama

PayOnce check_payee

check_x402_seller

Read an x402 seller's 402 payment request WITHOUT paying, then run check_payee on its payTo (a Concordium mainnet payTo gets the read-only identity check automatically). Returns the price, payTo, verdict and what the agent may do. Nothing is sent.

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>",
      "name": "<name>"
    },
    "name": "check_x402_seller"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps URL of the paid resource
nameYeswho you meant to pay
methodNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description must carry the safety profile, and it does: it declares the operation read-only ('WITHOUT paying', 'Nothing is sent') and discloses the side effect of automatically running check_payee on a Concordium mainnet payTo. It omits what happens if the URL is unreachable or is not an x402 seller, and does not mention the outbound network fetch to the supplied URL.

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 tight sentences that front-load the no-payment constraint and then the chained check and return values. Slightly dense with parenthetical nesting, but no sentence is wasted.

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?

There is no output schema, so the description must sketch return values, and it does (price, payTo, verdict, permitted agent actions). Combined with the explicit no-payment guarantee and the automatic identity check, it covers what an agent needs to invoke safely, with only error-path behavior left implicit.

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 67%, with the schema itself already describing url as the paid resource and name as who you meant to pay. The description adds behavioral context around payTo but says nothing about the optional method parameter or the expected URL/name format, so it only marginally exceeds the 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 an x402 seller's 402 payment request without paying), names the chained sibling check_payee, and enumerates the returned fields (price, payTo, verdict). An agent can distinguish this from check_payee or check_payable purely from this sentence.

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?

Implies the when: inspect a seller before committing funds, with the explicit constraint 'WITHOUT paying' and 'Nothing is sent'. It routes to check_payee for the payTo step but does not explicitly state when to prefer check_payable or receipt instead, so no exclusions are given.

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.