Skip to main content
Glama

Create Order

create_order

Create an order for an eSIM package. Returns a Stripe checkout URL where the user can pay. Requires a session key (from a previous tool call's structuredContent) or creates one automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_idYesThe package ID to order
session_keyNoSession key from a previous tool call. If not provided, a new session is created automatically.
referral_codeNoOptional referral code for a discount

TDQS

A4.5/5.0
Behavior5/5

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

The description adds valuable behavioral context beyond annotations: it reveals that the tool returns a Stripe checkout URL rather than completing the order, and explains session key handling (requires one from a prior call or auto-creates). Annotations already indicate mutations but not this specific flow.

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?

The description is extremely concise with two sentences, each carrying essential information: the core action and the key behavioral details (return value and session key handling). No wasted words.

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

Completeness5/5

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

Given the tool's moderate complexity (3 parameters, no output schema, no nested objects), the description covers all critical aspects: what it does, what it returns, and the session key dependency. It provides enough context for an AI agent to use the tool correctly without additional explanation.

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?

The input schema already provides full descriptions for all three parameters (100% coverage). The description reiterates the session key behavior but does not add new semantic meaning beyond what the schema provides. Baseline score of 3 is appropriate.

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?

The description clearly states the verb 'Create' and the resource 'order for an eSIM package'. It distinguishes from siblings like 'buy_topup' by specifying it returns a Stripe checkout URL for payment, and from 'check_order_status' by focusing on order creation.

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 description provides clear contextual guidance by stating it requires a session key or creates one automatically, indicating it follows a previous tool call. However, it does not explicitly exclude alternatives like 'buy_topup' or state when to prefer this tool over others, so it slightly lacks exclusionary guidance.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: buying top-ups, checking balances, checking order status, creating orders, getting business context, fetching package details, listing eSIMs, searching packages, and searching top-up packages. No overlapping functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case. Verbs like 'get', 'list', 'search', 'create', 'buy', 'check' are used appropriately, making the naming predictable.

Tool Count5/5

With 9 tools, the server is well-scoped for managing eSIMs. It covers browsing packages, ordering, checking status and balance, listing eSIMs, and handling top-ups without being overwhelming.

Completeness4/5

The tool set covers the main lifecycle: search, create order, check order status, list eSIMs, check balance, and top-up. Missing features like cancellation or order history are minor gaps, but the core workflows are well-supported.

Resources