Skip to main content
Glama

Where Tomorrow

Compare places

compare_places
Read-onlyIdempotent

Two to four places side by side: their eight scores and their card figures, each with its source and date, a link to each place and a chart image. Get ids from find_places or rank_places.

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": {
      "ids": "<ids>"
    },
    "name": "compare_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesThe places' ids, e.g. ["lisbon", "valencia"].
outlook_2035NoCompare the 2035 outlook instead of today.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. Beyond that, the description discloses provenance behavior ('each with its source and date') and that a chart image is produced, which is useful output-shape information an agent cannot infer from the annotations. It stops short of mentioning any rate or size limits beyond the 2-4 bound already in the schema.

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?

Two sentences: the payload description first, then the id-source pointer. The list of outputs is dense but every element (scores, figures, source, date, link, chart) earns its place given there is no output schema. Slightly compressed phrasing, but no wasted sentences.

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?

With no output schema, the description must carry the return-value burden and does so reasonably, enumerating the comparison contents and the chart image. Given a simple read-only two-parameter tool with full schema coverage, what remains missing (error behavior for invalid or unknown ids) is minor.

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 description coverage is 100%, so both ids and outlook_2035 are already documented with an example and a default. The description only echoes the 2-4 cardinality constraint ('Two to four places') and does not mention the 2035 toggle at all, adding no semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('compare places side by side') and pins the scope to two-to-four items. It goes further by enumerating what the comparison contains (eight scores and card figures, each with its source and date, a link per place, and a chart image), so an agent knows the output shape without opening anything. This is clearly distinguishable from find_places and rank_places, which are named as id sources rather than comparison tools.

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?

It gives an explicit prerequisite and routing rule: 'Get ids from find_places or rank_places', which tells the agent how to obtain the required ids. It doesn't state when comparison is the wrong choice (for example, that get_place is the tool for a single place), so the guidance is clear but not exhaustive.

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