Skip to main content
Glama

Agent.chain.tokyo Address Contracts

Create a Mainnet Payment Intent

create_payment_intent

Reserve one Location floor for the authenticated owner and create a fixed 55 USDC native-USDC x402 exact Payment Intent.

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": {
      "locationId": "<locationId>",
      "floor": "<floor>",
      "applicantKind": "<applicantKind>",
      "termsVersion": "<termsVersion>",
      "termsAccepted": "<termsAccepted>",
      "accountOwnerAuthorityConfirmed": "<accountOwnerAuthorityConfirmed>"
    },
    "name": "create_payment_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
floorYes
locationIdYes
termsVersionYes
applicantKindYes
termsAcceptedYes
accountOwnerAuthorityConfirmedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses useful facts (owner authentication required, floor gets reserved, amount is fixed at 55 USDC), but omits reservation duration/locking semantics, idempotency, behavior on failure, and whether the intent expires - all critical for a mutating payment tool.

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?

A single dense sentence with no filler, and the mutation (reserve) plus the resource (payment intent) are front-loaded. Slightly jargon-heavy ('x402 exact', 'native-USDC') but nothing is wasted.

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

Completeness2/5

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

For a 6-parameter mutation with no annotations and no output schema, the description is thin: it never says what the created intent contains (payee, expiry, chain), what the response returns, or how the reserved floor is released. An agent cannot safely call this on the description alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 6 required parameters. The description only hints at locationId and floor via 'Location floor'; the four acceptance/authority/version parameters (applicantKind, termsVersion, termsAccepted, accountOwnerAuthorityConfirmed) are never explained, leaving the caller to reverse-engineer intent from const values.

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 verb pair (Reserve, create) and resource (Location floor, Payment Intent) with concrete terms (55 USDC, x402 exact). This is clearly distinguishable from siblings like submit_wallet_payment or create_wallet_handoff, though it does not name them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, and no mention of the natural next step (submit_wallet_payment / prepare_wallet_signature) or when a caller should prefer other siblings. The agent must infer the entire workflow from the name.

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