Skip to main content
Glama

Make Parts Now: 3D Printing & CNC Machining Quotes

pay_with_crypto

Destructive

Option B: pay autonomously in USDC via x402 (agent accounts only). Call without payment_signature to get the payment requirements (amount, asset, pay_to, network); nothing is charged. Then sign an x402 'exact' payment and call again with payment_signature (the base64 PAYMENT-SIGNATURE value). If account credit covers the whole total, you get status 'credit_confirmation_required' and a credit_confirmation token instead; call again with confirm_credit to place the order.

Input Schema

NameRequiredDescriptionDefault
quote_idYesQuote id (qt_...) returned by create_quote
use_creditNoApply account credit before charging USDC
confirm_creditNoThe credit_confirmation token from the previous call, to place an order fully paid by account credit
payment_signatureNoBase64 x402 PAYMENT-SIGNATURE for the requirements from the first call; omit to get the requirements

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / confirm_credit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The credit_confirmation token from the previous call, to place an order fully paid by account credit",
      +  "title": "Confirm Credit"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the mutation risk is covered, but the description adds real value: it reveals the multi-call state machine, that the first call is a free requirements fetch, and the 'credit_confirmation_required' status/token branch. It stops short of stating authorization or rate-limit behavior.

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?

Purpose is front-loaded, then the flow is laid out in three short, sequential sentences with no filler. It is dense but every sentence maps to a concrete call branch.

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 multi-step payment tool with an output schema carrying return values, the description covers the branching paths an agent must follow (requirements fetch, signed payment, credit confirmation). Only the when-to-choose-this-over-alternatives dimension is thin.

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%, so every parameter is already documented in the schema, including payment_signature and confirm_credit. The prose mostly restates the schema's two-step flow rather than adding format or edge-case detail, so baseline 3 is appropriate.

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 states a specific verb and resource (pay in USDC via x402) and scopes it to agent accounts. 'Option B' implies a competing payment path but never names it, so sibling differentiation against create_checkout_link or a credit-only option is left implicit.

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?

It gives explicit call conditions: omit payment_signature to fetch requirements (nothing charged), then call again with the signed value, or use confirm_credit when credit covers the total. It does not, however, say when to prefer this over the other payment routes available among the 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