Skip to main content
Glama

iscabox

Situação de uma reserva

get_booking_status
Read-onlyIdempotent

Em que pé está uma reserva feita com request_booking, pelo bookingToken ou pelo payUrl: aguardando o pagamento, aguardando o guia (com o prazo), confirmada, cancelada ou reembolsada, com os valores e o último dia para cancelar. Os contatos não vêm aqui: depois do aceite eles vão pelo WhatsApp e ficam na página da 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>"
    },
    "name": "get_booking_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesO bookingToken, ou o payUrl inteiro.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add contract detail, and it does: it lists the status values returned, that amounts and the last cancellation day are included, and that contact data is deliberately excluded. It stops short of describing pagination or error behavior for an invalid/expired token.

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?

Two sentences, front-loaded with what the tool reports, and every clause carries information (statuses, amounts, cancellation deadline, contacts exclusion). The first sentence is dense with parentheticals and could be split for readability, which keeps it just shy of a 5.

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?

For a one-parameter, read-only lookup with no output schema and full annotation coverage, the description supplies what structured fields cannot: the possible return statuses, the monetary and deadline fields, and the explicit exclusion of contacts. Nothing an agent needs to invoke or interpret the result is missing.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains that token accepts the bookingToken or the full payUrl. The description merely restates 'pelo bookingToken ou pelo payUrl' without adding format or validation guidance, so the baseline 3 applies.

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 resource (a booking made with request_booking) and enumerates the exact outcomes it reports — awaiting payment, awaiting guide with deadline, confirmed, cancelled, refunded — plus amounts and the cancellation cutoff. That is enough for an agent to distinguish it from siblings like request_booking, which creates the booking, without opening either schema.

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?

Implicitly anchors usage to bookings created via request_booking and accepts either a bookingToken or a payUrl, which tells the agent this is the follow-up/status step. It also draws a negative boundary — contact details are not here and live on the booking page/WhatsApp after acceptance — but it never names a competing tool or says explicitly when not to call it.

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