Skip to main content
Glama

AgentProxy

Buy a proxy

apg_create_order
DestructiveIdempotent

Buy a proxy product and debit its price from the AgentProxy balance. Returns the order with connection strings. The same idempotencyKey never charges twice, so retries are safe.

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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "apg_create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityNoUnits to buy (GB, IPs or days, see the product unit). Default 1
productIdYesProduct id from apg_list_products
idempotencyKeyYesUnique string per purchase, reused on retry

Output Schema

NameRequiredDescriptionDefault
dataYes
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is partly covered. The description still adds real value by disclosing that funds are debited from a balance (a financial mutation), that the response includes connection strings, and that retries with the same key are safe. It omits failure modes such as insufficient balance or whether an order can be cancelled/refunded.

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 cost, followed by the return value and the idempotency guarantee. No filler or redundant restatement.

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 three-parameter financial mutation with full annotation coverage and an output schema, the description covers what the tool does, what it costs the caller, and what comes back. Remaining gaps are edge behavior (insufficient funds, order lifecycle) rather than anything needed to invoke it correctly.

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 documents all three parameters including the productId lookup source and idempotencyKey reuse. The description reinforces the idempotencyKey contract ('never charges twice') but adds no new syntax or format detail beyond the schema; baseline 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?

The description names a specific verb and resource ('Buy a proxy product') and states the immediate effect ('debit its price from the AgentProxy balance'), which is unambiguous. It does not explicitly contrast with sibling tools such as apg_list_products or apg_get_order, though the purchase semantics are naturally distinct.

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?

Usage is implied: this is the tool for purchasing a product, and the schema points to apg_list_products for the productId. There is no explicit when-not-to-use guidance, no mention of prerequisites like sufficient balance, and no named alternative for checking an existing order.

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.