Skip to main content
Glama

Listar reservas

list_reservations
Read-onlyIdempotent

Reservas/estadias por visão: chegadas ou saídas de um dia, hospedados agora, próximas, período, saldo devedor ou canceladas. Devolve código, status, habitação, hóspede (conforme papel), datas, totais e saldo.

Escopo: reservations:read · Risco: read · Efeitos: Nenhum.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_reservations"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
viewNoarrivals/departures usam `date` (hoje por padrão); period usa start/end.upcoming
limitNo
offsetNo
statusNo
end_dateNo
start_dateNo
habitation_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description still adds real value: the required permission scope (reservations:read), explicit risk/effects lines, and a disclosure of what is returned, including that the guest field varies 'conforme papel' (role-dependent). It omits pagination behavior and default ordering.

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 short paragraphs: capability and views first, then return fields, then scope/risk/effects. Nothing is padded and the most important information is front-loaded. Slight redundancy between the view list and the enum names in the schema.

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, the return-field sentence is genuinely necessary and present, and permission/effects metadata fills the annotations' gap. But for an eight-parameter tool with 13% schema coverage, the description leaves pagination, filtering by status/habitation, and date/period parameter binding unexplained — an agent could construct a call but not a well-tuned one.

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 13% — seven of eight parameters have no schema documentation at all. The description restates the `view` enum in business wording but says nothing about limit/offset (pagination), the `status` filter, or `habitation_ids`, so those parameters remain completely opaque. With low coverage the description needed to compensate and largely does not.

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?

The first sentence gives a specific verb (list) plus resource (reservations/stays) and enumerates the seven views supported, then lists the fields returned. That is far beyond a tautology. It stops short of a 5 because it never distinguishes the tool from siblings such as list_balance_due (which overlaps with the balance_due view) or get_reservation.

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?

Naming the views ('chegadas', 'hospedados agora', 'saldo devedor', 'canceladas') implies when each mode applies, so usage is inferable. However there is no explicit when-to-use guidance, no mention that arrivals/departures require `date` while `period` requires start/end (that only lives in the schema), and no routing away from list_balance_due or get_reservation despite overlap.

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.