Skip to main content
Glama

EQVPS — VPS and code sandboxes for AI agents

Pay an invoice

pay_invoice

Initiate payment for an owned, unpaid invoice. Returns a PayRam checkout_url; the invoice settles (and the VPS provisions) automatically once the on-chain payment confirms. Requires: token. Pass invoice_id exactly as returned (a code like "2RUAWV4"). A human pays checkout_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invoice_idNoInvoice id exactly as returned by order_vps / topup_balance, e.g. "2RUAWV4" (a plain number is also accepted).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / invoice_id / description
      Added value: +"Invoice id exactly as returned by order_vps / topup_balance, e.g. \"2RUAWV4\" (a plain number is also accepted)."
    • removedInput schema / properties / invoice_id / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / invoice_id / minLength
      Added value: +1
    • changedInput schema / properties / invoice_id / type
      Previous value: -"integer"New value: +"string"
    • removedInput schema / required
      Removed value: -[
      -  "invoice_id"
      -]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does deliver real behavioral context: it returns a checkout_url, settlement and VPS provisioning happen asynchronously after on-chain confirmation, and a human must complete payment. It omits idempotency/expiry behavior and what happens if the invoice is already paid, which keeps it from a 5.

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 dense sentences with zero filler; the core action and the returned checkout_url are front-loaded, and the async-settlement detail follows logically.

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?

There is no output schema, and the description compensates by explaining the return value (checkout_url) and the downstream effect (invoice settles, VPS provisions). Gaps remain around error cases and repeat invocations, but the essentials for correct invocation are present.

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 the schema already states the exact-format rule and the '2RUAWV4' example, so the description's restatement of that guidance adds little beyond the structured field. Baseline 3 is appropriate where the schema does the heavy lifting.

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 ('Initiate payment for an owned, unpaid invoice') and narrows the scope with two qualifiers (owned, unpaid), which rules out most misuse. It does not name a sibling such as topup_balance or order_vps to contrast against, so it stops short of a 5.

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?

The precondition 'owned, unpaid invoice' and the requirement 'Requires: token' give clear context for when this tool applies, and the human-pays-checkout_url note clarifies the manual step. There is no explicit statement of when NOT to use it or which sibling to reach for instead.

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.