Skip to main content
Glama

Create VAS order

create_vas_order
Destructive

Use this when an authenticated SIMcloud user asks to buy a confirmed VAS voucher. Call list_vas_products first and use an available product and denomination. This spends wallet funds and queues an irreversible external transaction; do not automatically retry an ambiguous result.

Input Schema

NameRequiredDescriptionDefault
amountYes
referenceYes
product_idNoSIMcloud VAS product ID. Required when voucher_type is not supplied.
voucher_typeNoExact VAS voucher type or slug. Required when product_id is not supplied.

Output Schema

NameRequiredDescriptionDefault
okYesWhether the proxied SIMcloud API request returned a 2xx response.
dataYesDecoded SIMcloud API response body.
statusYesHTTP status returned by the SIMcloud API, or 0 when no HTTP response was received.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations it discloses that the call spends wallet funds, queues an irreversible external transaction, and must not be retried on an ambiguous result – the last point is genuinely additive given idempotentHint=false. It also implies the authentication context, which no annotation covers.

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, front-loaded with the trigger, then the precondition, then the risk warning. No filler and nothing buried.

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?

Return values are covered by the output schema, and the risk profile is well handled, but for a fund-spending purchase tool the required 'reference' parameter is left completely unexplained – an agent has no basis for constructing or reusing it. Adding one clause on reference semantics would make this complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, so the description needs to compensate, and it does not: 'amount' and 'reference' are never explained, despite 'reference' being required and the operation being non-idempotent (where a caller would expect guidance on uniqueness or reuse). 'Available product and denomination' only loosely hints at product_id and voucher_type, which the schema already documents.

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 ('buy a confirmed VAS voucher') and scopes it to an authenticated SIMcloud user, which separates it from the read-side siblings like get_vas_order and list_vas_products. It stops short of explicitly contrasting with those siblings by name, but the intent is unambiguous.

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?

Gives a concrete precondition (call list_vas_products first and use an available product and denomination) and an explicit when-not-to-act rule ('do not automatically retry an ambiguous result'). It does not say when to prefer this over the other purchase siblings (airtime/data/electricity), but the product naming makes those distinctions mostly self-evident.

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