Skip to main content
Glama

Cancun4me — Reservas de Hotel

get_order_status

Status atual de um pedido (aguardando_pagamento, reservado, cancelado, falhou), o NUMERO DE CONFIRMACAO (codigo, formato CUN4-XXXXXXXX — e o que o hospede guarda e cita ao suporte), o localizador do hotel (booking_id) quando ja reservado, e se o voucher ja esta pronto. order_id aceita o id do pedido (ord_...) ou o numero de confirmacao. Use para acompanhar se o pagamento ja confirmou a reserva.

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": {
      "token": "<token>",
      "order_id": "<order_id>"
    },
    "name": "get_order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
order_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does a good job describing the return payload (status enum, confirmation code format CUN4-XXXXXXXX, booking_id, voucher flag), but never mentions the required `token` parameter, auth requirements, or error behavior for unknown orders.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core status information and the enum values, then the supporting fields, then the usage sentence. Dense but every clause adds information; no filler.

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?

With no output schema and no annotations, the description covers return values well, but omits the required token parameter entirely, leaving an agent that only reads the description unable to satisfy a required input without inspecting the schema.

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 0%, so the description must compensate. It does well for `order_id`, explaining it accepts either an ord_... id or a confirmation number — valuable beyond the schema — but says nothing about the equally-required `token` parameter.

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 (get) and resource (order status), and enumerates the returned status values plus confirmation code, booking_id, and voucher readiness. It doesn't explicitly say how it differs from siblings like list_my_bookings or get_voucher, so an agent still has to infer which one to pick.

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?

One sentence gives a usage cue: track whether payment has confirmed the reservation. No alternatives or exclusions are named — notably it doesn't tell the agent to use get_voucher for vouchers despite mentioning voucher readiness, and gives no guidance on list_my_bookings vs. this tool.

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