Skip to main content
Glama

MonoEsim — Travel Connectivity for AI Agents

Prepare order (quote)

prepare_order
Read-onlyIdempotent

Prepare a time-limited signed quote for a plan_id selected using search_plans or get_plan. Returns quote_id, current price and customer-confirmation requirements; the quoted price is locked for 30 minutes, but no order, payment, or eSIM is created. Next call create_checkout for customer-paid Stripe Checkout or purchase for an enabled alternate method.

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": {
      "plan_id": "<plan_id>"
    },
    "name": "prepare_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage for names and texts (default en).
plan_idYes
destinationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr",
      +  "pt",
      +  "ro",
      +  "cs",
      +  "sv",
      +  "sk"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr",
      -  "pt",
      -  "ro",
      -  "cs",
      -  "sv",
      -  "sk"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl",
      -  "it",
      -  "es",
      -  "fr",
      -  "tr"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr",
      +  "pt",
      +  "ro",
      +  "cs",
      +  "sv",
      +  "sk"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk",
      -  "pl",
      -  "nl"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl",
      +  "it",
      +  "es",
      +  "fr",
      +  "tr"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "ru",
      -  "uk"
      -]New value: +[
      +  "en",
      +  "de",
      +  "ru",
      +  "uk",
      +  "pl",
      +  "nl"
      +]
  6. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, and the description adds genuinely new behavior: a 30-minute price lock, the returned fields (quote_id, current price, confirmation requirements), and the crucial negative guarantee that no order, payment, or eSIM is created. That negative guarantee is exactly the kind of context annotations cannot express.

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?

Two dense sentences, front-loaded with the action and the lock duration, then the return values, then the routing to next tools. No filler and nothing repeated from the schema.

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?

With no output schema, the description correctly enumerates the return values and the lock window, and it names the follow-up tools, so an agent has enough to act. The one gap is the unexplained 'destination' parameter, which is left ambiguous for a tool whose whole purpose is quoting a specific plan.

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 coverage is only 33%, so the description must compensate. It does add meaning for plan_id by naming the tools that produce it, but 'destination' is undocumented in both schema and description, and 'lang' is only covered by the schema's own default note. Partial compensation, not full.

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 artifact ('Prepare a time-limited signed quote') tied to a specific resource ('plan_id'), and explicitly contrasts with the downstream siblings create_checkout and purchase. An agent can distinguish it from those tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the prerequisite path ('plan_id selected using search_plans or get_plan') and the branching next step ('create_checkout for customer-paid Stripe Checkout or purchase for an enabled alternate method'). Both when-to-use and which-alternative-next are explicit.

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