Skip to main content
Glama

List rentals

list_rentals
Read-only

List rentals (short- and long-term) across your accessible properties, newest first. Narrow with propertyId, type, or a from/to date range (returns stays overlapping the range) rather than paging through everything. Paged: if the result has a non-null nextCursor, call again with it as cursor for more. 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_rentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly stays starting on or before this date, ISO YYYY-MM-DD
fromNoOnly stays ending on or after this date, ISO YYYY-MM-DD
langNoThe language of the user's message, so the view shown with the answer uses it (not sent to the API)
typeNoOnly long-term or short-term rentals
limitNoPage size, 1-200 (default 100)
cursorNo`nextCursor` from the previous page, to get the next one
roomIdNoProperty let room by room (with propertyId): only the stays holding this room — its own, its calendars' and whole-home stays
propertyIdNoOnly rentals of this property

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 the readOnlyHint/openWorldHint annotations, it discloses default ordering (newest first), that date filtering is overlap-based rather than containment-based, the cursor pagination contract, and the non-obvious side effect that results render as a user-visible screen requiring re-invocation. These are real behavioral traits an agent could not infer from annotations or 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?

Four sentences, front-loaded with purpose and scope, then filtering strategy, then pagination mechanics, then the rendering caveat. Every sentence carries operational information with no filler or restated title.

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 still covers the one return-value detail that matters operationally (`nextCursor`), plus ordering and the overlap semantics of the date filters. For an 8-parameter read-only list tool, nothing an agent needs to call it 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 baseline is 3; the description still adds value by clarifying that `from`/`to` select stays overlapping the range and that `lang` must always be supplied from the user's message. It does not, however, add anything for `limit` or `roomId` beyond what the schema already explains.

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 opens with a specific verb and resource plus scope and ordering: 'List rentals (short- and long-term) across your accessible properties, newest first.' An agent can immediately tell this enumerates rental/stay records rather than properties, payments, or notes. It does not explicitly name a sibling to contrast with, which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It prescribes how to narrow results (propertyId, type, from/to range) instead of paging through everything, explains the paging loop via nextCursor→cursor, and states the mandatory practice of always passing `lang` with the user's message language. It also gives an explicit re-invocation rule when the user asks to see the screen again.

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.