Skip to main content
Glama
x402 Micropayments & US City Compliance MCP

x402 Micropayments & US City Compliance MCP

Paid US city property check

city.check

Check a US property address against a city's compliance rules using its city code; unpaid calls return x402 payment requirements for $0.01 USDC.

Instructions

Paid US city property compliance check (MCP seller x402). Unpaid calls return PaymentRequired with accepts; pay via _meta['x402/payment']. Prefer city.sample first. Price: $0.01 per call (x402, USDC on Base/Solana/Arbitrum).

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": {
      "city_code": "<city_code>",
      "address": "<address>"
    },
    "name": "city.check"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesStreet address to check. Example: '1700 Penn Ave N' or '1 Centre St'.
agent_idNoOptional agent identity for quota accounting.
city_codeYesCity code from city.list. Example: 'mn'.
max_price_usdcNoOptional USDC spend ceiling. Example: 0.05.
preferred_networkNoPreferred CAIP-2 network. Example: 'eip155:8453'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Discloses the full payment protocol beyond what annotations provide: unpaid calls return PaymentRequired with accepts, payment is submitted via _meta['x402/payment'], and the exact price/rails are given. Annotations only say it is non-read-only and open-world; the description supplies the operational behavior an agent needs to actually complete a call.

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 tight sentences, front-loaded with what the tool is, then cost/alternative, then payment mechanics. No filler or repetition of the title.

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?

Covers payment flow, pricing, and the free alternative for a 5-parameter tool. With no output schema, the description would ideally say what a compliance result contains (fields/verdict shape), which is the one remaining gap.

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% (address, city_code, agent_id, max_price_usdc, preferred_network all documented), so the schema already carries parameter meaning. The description adds no per-parameter detail beyond the payment meta-channel, which is the correct baseline for full coverage.

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+resource ('US city property compliance check') and immediately scopes it as a paid x402 call, distinguishing it from the free sibling city.sample and from the lookup-oriented city.list. An agent can tell exactly what this tool does without opening the schema.

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?

'Prefer city.sample first' explicitly routes the agent to an alternative and implies the paid tool is the fallback, which is genuine when-to-use guidance. It does not, however, spell out when this paid check is actually required (e.g. which cities or compliance needs justify the spend).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.