Skip to main content
Glama
@easynodexyz/mcp-x402

@easynodexyz/mcp-x402

by easynodexyz

create_order

Purchases a VPS or blockchain node with USDC on Base, handling the x402 payment flow and returning order ID and status. Optionally specify region, quantity, period, custom name, and add-ons.

Instructions

Purchase a VPS or blockchain node product using USDC on Base, optionally in a given region and with add-ons from list_products. Handles the x402 payment flow automatically. Returns order details with ID and status.

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": {
      "productId": "<productId>",
      "period": "<period>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
addOnsNoVPS only: add-on ids from the product addOns in list_products, at most one per type
periodYesSubscription period in months: 1, 3 or 6
regionNoRegion code from the product regions in list_products (default: EU)
quantityNoNumber of instances to purchase (default: 1)
productIdYesProduct ID to purchase
customNameNoCustom name for the instance (max 100 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.4.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / addOns
      Added value: +{
      +  "description": "VPS only: add-on ids from the product addOns in list_products, at most one per type",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
    • addedInput schema / properties / period / anyOf
      Added value: +[
      +  {
      +    "const": 1,
      +    "type": "number"
      +  },
      +  {
      +    "const": 3,
      +    "type": "number"
      +  },
      +  {
      +    "const": 6,
      +    "type": "number"
      +  }
      +]
    • changedInput schema / properties / period / description
      Previous value: -"Subscription period in months"New value: +"Subscription period in months: 1, 3 or 6"
    • removedInput schema / properties / period / type
      Removed value: -"number"
    • addedInput schema / properties / region
      Added value: +{
      +  "description": "Region code from the product regions in list_products (default: EU)",
      +  "enum": [
      +    "EU",
      +    "US-CENTRAL",
      +    "US-EAST",
      +    "US-WEST",
      +    "UK",
      +    "JPN",
      +    "IND",
      +    "AUS"
      +  ],
      +  "type": "string"
      +}
  2. First observedv0.1.3

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that the x402 payment flow is handled internally and that the response contains an ID and status, which is real behavioral value. However, it says nothing about whether the purchase is irreversible, what happens if payment fails mid-flow, whether funds are captured immediately, or whether the call is idempotent — significant omissions for a money-spending mutation.

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 short sentences, front-loaded with the action and resource, then mechanism, then return value. Nothing is redundant and no sentence could be dropped without losing information.

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?

The return value is described since there is no output schema, and the payment mechanism is flagged, which covers the essentials for invoking it. For a six-parameter financial mutation with zero annotation coverage, though, missing cost/irreversibility/failure semantics leave a meaningful gap an agent would want filled.

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 the schema already explains period, region enum, quantity, and addOns limits. The description adds only a light cross-reference — that region codes and add-on ids originate from list_products — which is genuine but marginal extra meaning.

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 and resource ("Purchase a VPS or blockchain node product"), names the payment rail (USDC on Base), and scopes the optional dimensions (region, add-ons). It also implicitly separates itself from list_products by pointing there for add-on and region codes, so an agent can tell the buying tool from the catalog tool.

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?

"optionally in a given region and with add-ons from list_products" tells the agent to consult the sibling catalog tool before calling, and "Handles the x402 payment flow automatically" signals no separate payment step is needed. No explicit when-not-to-use or precondition (e.g. wallet balance, auth) is given, which keeps it below a 5.

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