Skip to main content
Glama

VeriFlow: Concordium x402 trust checks

Check an x402 seller on Concordium before paying it

check_seller
Read-only

Without paying and without a wallet: reads any x402 seller's 402 answer and checks that seller on Concordium, as a paying agent's guard would (concordium-x402-guard): an Active agent in the CIS-8004 Agent Registry, the official badge check, the Agent Card unchanged since its SHA-256 was pinned on-chain, and payTo = the agent's own on-chain agentWallet (on Base: a key bound to its owner in CIS-8). Returns each check and whether the guard would pay. testnet or mainnet.

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": "check_seller"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe seller's paid x402 URL (https, public host)
bodyNoJSON body, for a POST
methodNoGET
networkNoConcordium network the seller's agent is registered ontestnet
pay_networkNoWhich payment option to check, as CAIP-2 (e.g. eip155:8453 for Base); default the Concordium one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, yet the description still adds real value: it discloses that no payment and no wallet are needed, that it will perform an outbound fetch of the seller's 402 response, exactly which four checks run, and that the result includes a pay/no-pay guard verdict. It does not cover failure modes (unreachable seller, malformed 402, registry lookup failure), which keeps it from a 5.

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

Conciseness3/5

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

The key precondition is front-loaded, but the body is a single run-on sentence with stacked parentheticals ("(concordium-x402-guard)", "(on Base: a key bound to its owner in CIS-8)") that force re-reading. Length is reasonable, but the structure buries the four checks inside a clause rather than listing them.

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 five parameters, no output schema, and a remote-fetch behavior, the description does the necessary work by enumerating the checks and stating that a pay/no-pay verdict is returned. What is missing is error and edge-case behavior, which matters for a tool that reaches out to an arbitrary third-party URL.

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 80%, so url, body, method, and network are already documented in the schema. The description reinforces network by ending with "testnet or mainnet" and hints at pay_network through the Base/CIS-8 aside, but adds no format or selection guidance beyond what the schema says (e.g. how to pick a CAIP-2 option). Baseline 3 applies when the schema carries the load.

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 a specific verb and resource: it reads an x402 seller's 402 answer and runs Concordium checks on that seller before payment. The enumerated checks (CIS-8004 Active status, badge, pinned SHA-256 Agent Card, payTo = agentWallet) make the scope unmistakable. It never names a sibling or states how it differs from verify_signal or check_eligibility, so it stops short of a 5.

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?

"Without paying and without a wallet" and "before paying it" give a clear triggering context: pre-flight verification of a seller you are about to pay. There is no explicit when-not guidance, no mention of what to do if the URL is not actually an x402 endpoint, and no alternative tool named for adjacent questions.

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.