Skip to main content
Glama

Compare Locations

compare_locations
Read-only

Compare 2-5 neighborhoods side-by-side - perfect for investment location decisions.

REQUIRED:

  • locations: Array of 2-5 objects with {code_postal} or {commune}

Optional:

  • type_local: "Maison" or "Appartement" (default: Appartement)

  • date_debut: Start date (default: 1 year ago)

Returns per location:

  • Transaction count, median price/m², median price

  • Year-over-year price change

  • Rankings (cheapest, most expensive, highest volume, fastest growing)

Example: Compare Paris arrondissements by postal code: {locations: [{code_postal: "75011"}, {code_postal: "75020"}, {code_postal: "75019"}]}

Example: Compare cities by commune: {locations: [{commune: "LYON"}, {commune: "BORDEAUX"}, {commune: "NANTES"}]}

Note: DVF data covers 2014–2025 (annual cadence). Use date windows ≥ 12 months for reliable results.

Cost: 10 credits per call

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationsYes2-5 locations to compare
date_debutNoStart date (default: 1 year ago)
type_localNoProperty type (default: Appartement)Appartement

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the readOnly/openWorld annotations: cost (10 credits per call), DVF data coverage window (2014–2025, annual cadence), and a reliability caveat (use ≥12 month windows). These are exactly the operational facts an agent needs before committing a paid call.

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?

Front-loads the purpose, then uses labeled sections (REQUIRED / Optional / Returns / Example / Note / Cost) so an agent can scan quickly. Two examples and the Returns block are slightly redundant but each carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by enumerating the per-location return fields (transaction count, median price/m², YoY change, rankings). Combined with the cost, data-range, and default notes, nothing needed to call or interpret the tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description goes further by clarifying that each location object takes either {code_postal} or {commune}, restating the defaults, and showing two worked invocation examples that illustrate the alternative shapes.

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?

States a specific verb (compare), resource (2-5 neighborhoods/locations), and scope (side-by-side, 2-5) in the first line. The 'investment location decisions' framing distinguishes it from single-location siblings like analyze_market_statistics or estimate_property_value.

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?

Gives a clear use case ('perfect for investment location decisions') and concrete invocation examples for both code_postal and commune forms. It does not, however, name alternatives or state when not to use it versus e.g. find_property_comparables.

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