Skip to main content
Glama

create_usdc_order

Create a USDC payment order on Solana or Ethereum, paid to the store wallet (fees ~$0 on Solana; buyer pays ETH gas on Ethereum). Returns payment instructions incl. a Solana Pay URL and reference.

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": {
      "chain": "<chain>",
      "pack": "<pack>"
    },
    "name": "create_usdc_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
packYesp1 = 1 figure 0.20 USDC (agent rate), paper = 12 figures 5 USDC, thesis = 40 figures 14.99 USDC, year = 100 figures 30 USDC, team = 500 figures 100 USDC, lab = 1000 figures 150 USDC
chainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / pack / description
      Previous value: -"p1 = 1 figure 0.20 USDC (agent rate), paper = 12 figures 5 USDC, year = 100 figures 30 USDC, team = 500 figures 100 USDC, lab = 1000 figures 150 USDC"New value: +"p1 = 1 figure 0.20 USDC (agent rate), paper = 12 figures 5 USDC, thesis = 40 figures 14.99 USDC, year = 100 figures 30 USDC, team = 500 figures 100 USDC, lab = 1000 figures 150 USDC"
    • changedInput schema / properties / pack / enum
      Previous value: -[
      -  "p1",
      -  "paper",
      -  "year",
      -  "team",
      -  "lab"
      -]New value: +[
      +  "p1",
      +  "paper",
      +  "thesis",
      +  "year",
      +  "team",
      +  "lab"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / pack / description
      Previous value: -"p1 = 1 figure 0.20 USDC (agent rate), paper = 12 figures 7 USDC, year = 200 figures 79 USDC, lab = 1000 figures 249 USDC"New value: +"p1 = 1 figure 0.20 USDC (agent rate), paper = 12 figures 5 USDC, year = 100 figures 30 USDC, team = 500 figures 100 USDC, lab = 1000 figures 150 USDC"
    • changedInput schema / properties / pack / enum
      Previous value: -[
      -  "p1",
      -  "paper",
      -  "year",
      -  "lab"
      -]New value: +[
      +  "p1",
      +  "paper",
      +  "year",
      +  "team",
      +  "lab"
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose cost mechanics (near-zero Solana fees, buyer-paid ETH gas) and the return payload (payment instructions, Solana Pay URL, reference), which is real value. It omits order lifetime/expiry, idempotency, whether payment must be verified separately, and any auth requirements — material gaps for a creation 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, front-loaded sentence that leads with the action and resource, then adds cost context and the return shape. The parenthetical is dense but every clause carries information; only the fee note could be considered optional.

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?

For a two-parameter creation tool with no output schema, the description covers the action, both chains, cost model, and what comes back, which is close to sufficient. What is missing is post-creation flow — whether the caller must poll or call verify_usdc_order, and whether an unpaid order expires — leaving a small but real 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 coverage is 50%: the 'pack' enum is thoroughly documented in-schema with per-tier pricing, while 'chain' has no schema description. The description adds the only chain-level semantics available (Solana cheap vs Ethereum gas paid by buyer), partially compensating. It adds nothing about 'pack' beyond what the schema already says, so a baseline 3 is right.

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 and resource ('Create a USDC payment order') plus the supported chains and the payee ('store wallet'). It is clear what the tool does, but it never distinguishes itself from near-neighbours such as build_usdc_solana_tx or create_paypal_checkout, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use statement, and no alternative is named. The fee parenthetical ('fees ~$0 on Solana; buyer pays ETH gas on Ethereum') implicitly guides chain selection, which is useful, but nothing tells the agent when this order-creation flow is preferred over the transaction-builder or PayPal siblings.

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