Skip to main content
Glama

Get a stay

get_stay
Read-only

Get one owned accommodation stay by id. If unfamiliar with TripLedger semantics, call get_tripledger_guide first.

Input Schema

NameRequiredDescriptionDefault
idYesID of the stay to retrieve.

Output Schema

NameRequiredDescriptionDefault
stayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description adds only the "owned" access-scoping nuance; it says nothing about behavior on missing or non-owned ids, though an output schema exists so return shape need not be explained.

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 short sentences, the core action leading and the precondition following. Every clause carries information and nothing is padded.

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?

For a single-parameter read with full annotations and an output schema, the description covers what is needed plus a guide pointer. A brief note on what happens for unknown or non-owned ids would close the remaining gap.

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 single id parameter is documented there. The description's "by id" restates the schema rather than adding format hints or failure semantics, so the 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?

States a specific verb and resource ("Get one ... accommodation stay") and scopes it with "by id" and "owned", which separates it from the multi-record list_stays sibling. It stops short of explicitly naming list_stays as the alternative, so it is clear but not fully differentiated.

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?

Explicitly routes agents who lack TripLedger context to get_tripledger_guide before calling, which is a real usage precondition. It gives no guidance on when to prefer list_stays or what to do when the id is unknown, so exclusions are missing.

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