Skip to main content
Glama

A stay's text thread

stay_messages
Read-only

The guest's text messages with the hotel for one stay (by confirmation number), oldest first, up to 100: in or out, when, who sent it, the text. Pictures are counted, never opened. Needs the owner's sign-in.

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": {
      "confirmation": "<confirmation>"
    },
    "name": "stay_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmationYesConfirmation number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly and non-destructive, and the description goes further: oldest-first ordering, a hard cap of 100 messages, that pictures are counted but never opened (so media bodies are not returned), the per-message fields, and an authentication requirement. These are behavioral constraints an agent cannot infer from the schema.

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 with the resource and scope front-loaded, followed by return-shape and constraint details. Every clause carries information; nothing is padding.

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?

There is no output schema, so the description compensates by enumerating the returned fields (in/out, when, sender, text), the ordering, the 100-message ceiling, and how attachments are handled. Combined with the auth note, an agent knows everything needed to call and interpret it.

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 100% and the single parameter is already documented as 'Confirmation number'. The description's 'by confirmation number' merely restates it, adding no format or validation detail, so the baseline of 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 and scope: 'The guest's text messages with the hotel for one stay (by confirmation number)'. An agent can distinguish this from stay_notes or stay_history purely from the description, since it names the object (text messages) and the unit (one stay).

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 rather than stated: you call it when you need the SMS thread for a given stay. There is no explicit when-not or named alternative, though 'Needs the owner's sign-in' acts as a prerequisite that helps the agent decide whether it can call at all.

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