Skip to main content
Glama

LuxAtolls Maldives Resorts

Compare resorts side by side

compare_resorts
Read-onlyIdempotent

Two to six resorts side by side, by slug: starting price, the transfer and its cost, meal plans, villa count and private-pool villa types, dining (diningCounts: restaurants and bars as the resort page's dining heading states them, e.g. '11 Restaurants & 7 Bars', and venues, the two together; a count the page does not state is null), the house reef, marine life, facilities, the positioning scales, the review rating, the hotel group and who each suits or does not.

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": {
      "slugs": "<slugs>"
    },
    "name": "compare_resorts"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYes2 to 6 resort slugs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The readOnly/idempotent/closed-world annotations already cover the safety profile, and the description usefully adds that unstated page counts come back as null rather than being invented. Beyond that it describes what is returned but not how failures behave (e.g. an unknown slug, or duplicate slugs), which is the main behavioral question left open.

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?

It is a single front-loaded sentence that leads with the cardinality and key before listing comparison fields, with no filler. The long parenthetical explaining diningCounts is dense but earns its place by disambiguating a field an agent would otherwise misread.

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?

There is no output schema, so the description carries the return-value burden, and it does so thoroughly by naming each compared dimension, including a special-case semantics note for diningCounts. The remaining gap is error/rejection behavior for invalid or unknown slugs, which is not addressed.

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% and there is a single parameter, so the schema already documents 'slugs' with its regex, min/max items and length bounds. The description's 'two to six ... by slug' restates that constraint without adding format or ordering guidance, so 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?

The description states a concrete operation (put two to six resorts side by side by slug) and enumerates the exact comparison dimensions returned, so an agent can tell this is a multi-resort comparison rather than a single-record lookup. It does not name a sibling such as get_resort as the single-resort alternative, so it stops 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 Guidelines3/5

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

The 2-to-6 slug range implies the comparison use case, but there is no explicit statement of when to pick this over get_resort or similar_resorts, nor any exclusion such as 'for one resort use get_resort'. Usage must be inferred from the parameter constraints.

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.