Skip to main content
Glama
@asterpay/mcp-server

@asterpay/mcp-server

by petteri74dev

place_order

Creates an order intent, submits it to a merchant, and returns x402 payment details your agent must execute; mock mode simulates success.

Instructions

Place an order with a merchant. Creates an intent, then submits the order. Returns x402 payment details that your agent's x402 client needs to execute. In mock mode, simulates a successful order.

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": {
      "items": "<items>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesItems to order
merchantSlugNoMerchant identifier. Omit to use default.
delivery_addressNoDelivery address (optional for digital goods)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description still discloses valuable behavior: it creates an intent before submitting, and it returns x402 payment details the caller's x402 client must then execute — a non-obvious follow-up obligation. However, for a payment-mutating tool it omits whether funds are committed, whether retries are idempotent, and what failure looks like, so the disclosure is helpful but incomplete.

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?

Four short sentences, front-loaded with the core action and then the payment follow-up, with no filler. The opening sentence and 'submits the order' are mildly redundant, keeping it just short of ideal.

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

Completeness3/5

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

For a payment tool with no output schema, the description usefully signals the nature of the return value (x402 payment details). It still leaves the agent unsure about the remaining response shape, whether the order is final before payment executes, and the mock-mode limits, which matters given nested parameters and no annotations.

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% and includes nested item and address objects, so the schema already documents all three parameters thoroughly. The description adds no parameter-level meaning (e.g., defaults for merchantSlug, when delivery_address becomes required), so the baseline of 3 applies.

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 ('Place an order with a merchant') and adds the internal two-phase behavior ('Creates an intent, then submits the order'). It is clearly distinct from read-only siblings like get_order_status or check_availability, though it never names an alternative 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?

There is no when-to-use or when-not-to-use guidance: nothing says whether availability or budget checks should precede placement, nor whether an existing order should be queried first. The only mode-related note ('In mock mode, simulates a successful order') describes behavior, not selection criteria.

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