Skip to main content
Glama

List booking emails

list_booking_emails
Read-only

The latest booking emails forwarded to the mailbox (50 at most), newest first, with what was read (portal, dates, guest name, head count, amount, booking code, listing name) and what happened: "matched" (it completed that booking), "proposal" (a booking with no stay yet, for the owner to create), "unverified" (forwarded by hand: check before creating), "unreadable", "ignored" (not a booking). Guest email and phone are not returned. Filter with status — for "what is there to review" pass none: the screen shows the ones to review first, and there the user picks the home and creates each booking or discards the email themselves. Always pass lang with the language of the user's message. The user sees the result as a screen: call this again whenever they ask to see these, even if you already have the data.

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_booking_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoThe language of the user's message, so the view shown with the answer uses it (not sent to the API)
statusNoOnly emails in this state; "proposal" for the ones to review

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint=false, it discloses the 50-item cap, ordering, that guest email and phone are withheld, the semantics of each status value, that results render as a screen, and that the call must be repeated rather than reused from memory. This is substantial behavioral context the annotations cannot convey.

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?

Front-loaded with the resource and scope, and every sentence carries operational value. The field enumeration and parenthetical status glosses make it dense and slightly run-on, but nothing is redundant.

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?

Only two optional enum parameters and no output schema, so the description must carry return-value meaning — and it does, enumerating extracted fields, describing each status, and noting withheld fields. Nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains what happens when `status` is omitted (the screen prioritizes items to review and the user acts on them) and stresses that `lang` is always required and drives the view language. That goes beyond the schema's per-parameter text.

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 ('latest booking emails forwarded to the mailbox'), plus scope (50 max), ordering (newest first), the extracted fields, and the meaning of every outcome state. An agent knows exactly what this returns and what the state labels denote.

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?

Gives concrete when-to-use guidance: omit status for 'what is there to review', always pass `lang`, and re-call whenever the user asks to see these even if data is cached. It does not reference the sibling `get_booking_mailbox`, so sibling routing is left implicit.

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.