Skip to main content
Glama
Real Estate Capitale

Real Estate Capitale

search_listings

Search real estate listings by transaction, location, budget, surface, rooms, property type, and keyword to find relevant properties in Rabat, Salé, and Témara.

Instructions

Rechercher des biens immobiliers avec filtres (transaction, location, budget, surface, pieces, type de bien, mot-cle)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoMot-cle dans le titre ou la description
pageNoPage (defaut: 1)
sortNoTri
locationNoQuartier ou ville (ex: Agdal, Hay Riad, Salé)
pageSizeNoResultats par page (defaut: 12, max: 60)
priceMaxNoPrix maximum en MAD
priceMinNoPrix minimum en MAD
roomsMaxNoNombre maximum de pieces
roomsMinNoNombre minimum de pieces
surfaceMaxNoSurface maximum en m²
surfaceMinNoSurface minimum en m²
transactionNoType de transaction
propertyTypeNoType de bien

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does not state whether this is read-only, whether results are paginated (schema hints at page/pageSize but the description says nothing), what the default ordering is, or what the response contains. Only the existence of filters is conveyed.

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?

A single front-loaded sentence with no wasted wording. Efficient, though the parenthetical filter list largely duplicates the schema.

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

Completeness3/5

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

A 13-parameter search tool with no annotations and no output schema warrants more than one sentence. Pagination behavior, default sorting, and the shape of results are left unaddressed, leaving gaps that the schema alone does not fill.

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%, with each of the 13 parameters documented including enums, defaults and units (MAD, m²). The description only restates the filter categories already present in the schema, adding no new meaning — 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?

States a specific verb+resource ('Rechercher des biens immobiliers') and enumerates the filter axes (transaction, budget, surface, pieces, type, keyword). It is clearly a search tool, though it does not distinguish itself from siblings such as get_listing or get_comparables.

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?

No indication of when to use this tool versus alternatives like get_listing (single record) or get_comparables. The reader must infer from the name that this is the general listing-search entry point.

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