Skip to main content
Glama

List a reservation's messages

smoobu_list_reservation_messages
Read-only

Get the full conversation for one reservation, paginated. Each message has a subject, plain-text and HTML body, and type (1 = inbox / from guest, 2 = outbox / sent). Smoobu: GET /api/reservations/{reservationId}/messages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
reservation_idYesThe reservation (booking) id.
only_related_to_guestNotrue = only guest-facing messages; false = every message on the booking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the load and does add value: it discloses pagination and enumerates the shape of each returned message (subject, plain-text and HTML body, type). It does not state page size, ordering, or rate limits, which keeps it short of a full behavioral picture.

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 front-loaded sentences with no filler: the purpose and scope come first, the return shape second, and the REST endpoint mapping last. Every clause conveys usable information.

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?

With no output schema, the description usefully substitutes by naming the fields each message contains and decoding the type values (1 = inbox/from guest, 2 = outbox/sent), plus the pagination behavior and underlying endpoint. An agent has what it needs to call and interpret the result.

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 description coverage is 100%, so page, reservation_id, and only_related_to_guest are already documented in the schema. The description adds no parameter-level syntax beyond clarifying message 'type' values, which are return fields rather than inputs, 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 verb and resource ('Get the full conversation for one reservation') plus the scoping constraint 'paginated'. The 'one reservation' scope implicitly separates it from the sibling smoobu_list_message_threads, which spans multiple threads, so an agent can select between them without opening a schema.

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?

Usage is implied by the scoping ('for one reservation'), which nudges toward smoobu_list_message_threads when the agent only has a thread reference, but no explicit when-to-use or when-not-to-use guidance is given. No prerequisites or alternative routing are stated.

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.