Skip to main content
Glama

Messages on a booking or request

booking_messages
Read-onlyIdempotent

For the person's own booking or service request: the messages between them and the MCC desk on that booking (the same thread as on their page), whether the desk still owes a reply, and whether a new message can be sent. Needs their private link.

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": "booking_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoInstead of link: the reference, e.g. SR-AB12CD
codeNoInstead of link: the token= or t= value from that link
linkNoThe person's private link: the manage link from a booking email (…/manage.html?ref=…&token=…) or the status link from a request email (…/requests/SR-…?t=…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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 the safety profile is covered. The description adds meaningful context beyond that: the thread is the same one visible on the person's page, the response reveals whether a desk reply is outstanding and whether sending is currently permitted, and access requires their private link.

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?

A single dense sentence that front-loads the scope (own booking or request) and then lists the three useful outputs. No filler wording or repetition of schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 carries the return-value burden and does so by naming the three facts returned. For a read-only, three-optional-parameter tool this is nearly complete; only the response shape/format is left unspecified.

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%, and the schema itself explains the link/ref/code alternatives in detail. The description only restates the access prerequisite ('their private link') without adding format, precedence, or fallback guidance beyond what the schema already provides, so baseline 3 applies.

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 description names a specific resource (the message thread between the person and the MCC desk on their own booking/request) and enumerates what is retrieved: the thread, whether the desk owes a reply, and whether a new message can be sent. It implicitly separates itself from send_booking_message by framing the sendability check as an output, but never names the sibling explicitly.

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?

Usage context is clear: it applies to a person's own booking or service request, not to other lookups, and the prerequisite ('Needs their private link') is stated up front. The 'whether a new message can be sent' framing quietly routes the agent toward sending behavior, but no alternative tool is named or excluded explicitly.

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