Skip to main content
Glama

Iberimo

Compare rentals

compare_rentals
Read-only

Sets two to four holiday rentals side by side: capacity, rooms, surface, amenities, rating, location and indicative price per night.

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": {
      "rentalIds": "<rentalIds>"
    },
    "name": "compare_rentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoen
rentalIdsYesIds returned by search_rentals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds real value by disclosing exactly what is returned field-by-field, which matters since there is no output schema. It does not say how missing, unavailable, or cross-destination ids are handled, so it is not fully transparent.

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 sentence, front-loaded with the comparison action and followed by the field list. No filler or redundant restatement of the tool name.

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 read-only tool with only two parameters and no output schema, the description is nearly sufficient: it names the cardinality limit and the comparison dimensions. The remaining gap is edge-case behavior (unknown ids, rentals in different locations) and the 'indicative' nature of price, which is asserted but not clarified.

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 coverage is 50%: rentalIds is documented in the schema and hinted at in the description, and the description's 'two to four' restates the minItems/maxItems bounds. The language parameter is undocumented in prose, though its enum of four codes with a default of 'en' is self-explanatory. Baseline 3 applies since the schema does most of the work.

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 gives a specific verb ('sets ... side by side') and resource ('holiday rentals') and enumerates the compared fields, which distinguishes it from single-item reads like get_rental and from search_rentals. It stops short of naming a sibling, but the 'compare 2-4' framing is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: the schema notes rentalIds come from search_rentals, so the intended flow (search first, then compare) is inferable. There is no explicit when-to-use/when-not guidance, e.g. versus get_rental or find_cheapest_stay.

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