Skip to main content
Glama

Get rental

get_rental
Read-only

Get a single rental by its ID, including dates, renter names, and income. Guest data is only available, masked, through list_guests.

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": {
      "id": "<id>"
    },
    "name": "get_rental"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe rental ID

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 and openWorldHint=false, so safety is covered. The description adds a genuinely non-obvious behavioral fact, that guest data is masked and only reachable via list_guests, but says nothing about behavior on a nonexistent ID or the shape of the response beyond a field list.

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?

One compact sentence that front-loads the verb, the resource, the lookup key, and the returned fields, with the guest-data caveat last. No filler to trim.

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 simple single-record read with annotations and a fully covered single param, the definition covers purpose, returned contents, and the one real data restriction. Without an output schema, the field list is doing useful work; only edge-case behavior (missing ID) goes unaddressed.

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?

Only one parameter with 100% schema description coverage, so the schema already documents it; the description's "by its ID" adds no syntax or format detail beyond that. Baseline 3 applies because the schema carries the parameter burden.

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 a single rental by its ID") and enumerates what comes back: dates, renter names, and income. It even routes one adjacent need (guest data) to a named sibling, so an agent can tell it apart from list-style tools without opening the schema.

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?

Implies use when a single rental is needed by ID, and explicitly excludes guest data ("only available, masked, through list_guests"), naming the alternative. What is missing is a positive statement of when this tool applies versus other get_* retrieval tools, but the exclusion is a concrete, actionable rule.

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.