Skip to main content
Glama

World Class Residences

compare_hotel_vs_residence

Read-onlyIdempotent

Compare live World Class® furnished residence pricing and space in a U.S. city against a clearly labeled illustrative hotel stay benchmark for a given number of nights and bedrooms. Savings require a bookable stay with the requested layout. Other layouts provide city pricing context only.

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": {
      "city": "<city>",
      "nights": "<nights>"
    },
    "name": "compare_hotel_vs_residence"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesU.S. city name or slug (e.g., 'Irvine', 'New York City', 'Chicago', 'Miami').
nightsYesLength of stay in nights (typically 30+ for corporate housing).
bedroomsNoDesired bedroom count (0 for Studio, default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the bar is lower; the description adds genuinely useful context by disclosing that the residence side is live pricing while the hotel side is a 'clearly labeled illustrative' benchmark, and that non-bookable layouts yield city-level pricing context only. It does not discuss caching, data freshness, or how the benchmark is derived.

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?

Three tight sentences with the core purpose front-loaded and the two caveats following. Every sentence carries information, though 'bookable stay' and 'layout' are used without definition, leaving slight interpretive work.

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 three-parameter read-only comparison tool with no output schema, the description covers what is compared, what is live vs. illustrative, and the condition under which savings are valid. It stops short of describing the shape of the returned comparison (fields, per-layout breakdown), which an agent would need to chain results.

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 100%, so city, nights, and bedrooms are already fully documented in the input schema, and the description only restates that results depend on 'a given number of nights and bedrooms'. It adds a small hint that bedrooms determines the 'layout' used in the savings logic, but no format or unit details beyond the schema.

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 names a specific verb (compare) and two concrete resources (live residence pricing/space vs. an illustrative hotel benchmark), scoped to a U.S. city with nights and bedrooms. It is clearly distinguishable in substance from estimate_stay_cost or search_residences, but it never explicitly contrasts itself with those siblings.

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 implied rather than stated: the tool is for comparing a residence against a hotel stay, and the second and third sentences establish a caveat that savings only apply when the requested layout is bookable. There is no explicit when-to-use / when-not-to-use guidance or named alternative for pure cost estimation or residence lookup.

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