Skip to main content
Glama
Real Estate Capitale

Real Estate Capitale

get_comparables

Find similar property listings to a given reference ID for valuation or price estimation. Use it to compare market comparables in Rabat, Salé, and Témara.

Instructions

Trouver les annonces les plus similaires a un bien donne (pour evaluation ou estimation)

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": {
      "listingId": "<listingId>"
    },
    "name": "get_comparables"
  }
}

Input Schema

NameRequiredDescriptionDefault
listingIdYesID du bien de reference

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does not disclose how similarity is computed, how many comparables are returned, ordering, or whether the reference listing must be active — behavioral gaps for a lookup tool with no annotation coverage.

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?

One compact sentence, front-loaded with the action and resource, with the purpose in parentheses. No wasted words, though the parenthetical could be framed as usage guidance instead.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and a similarity-based tool whose result set is undefined, the definition leaves key unknowns (count, ranking, similarity criteria). It is thin for the complexity of a comparable-search operation.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains listingId. The description reinforces that it is the reference property ('un bien donne'), which is adequate at the baseline.

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 specific verb and resource: find listings most similar to a given property, plus its purpose (evaluation/estimation). It is clearly distinguishable from siblings like estimate_property or get_quartier_comparison, though it does not explicitly say how it differs from search_listings.

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

Usage Guidelines2/5

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

It mentions the use case (évaluation ou estimation) but gives no explicit when-to-use/when-not-to-use guidance and never points to alternatives such as estimate_property or search_listings, which an agent must choose between.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.