Skip to main content
Glama

Search CasaNest properties

search_properties
Read-onlyIdempotent

Search currently published properties in Portugal by exact structured filters. Requires purpose; municipality requires district. Rental budgets require month/week/night. Up to 20 results, cursor tied to filters. No results means no listing matches these filters.

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": {
      "purpose": "<purpose>"
    },
    "name": "search_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
localeNopt
purposeYes
districtNoPortuguese district slug, e.g. leiria. Does not mean municipality.
featuresNo
typologyNo
conditionNoProperty condition. Properties without a stated condition are excluded when this is set.
price_maxNo
price_minNo
rent_periodNoRequired with a rent/vacation budget: prices in different periods are not comparable.
bedrooms_minNo
municipalityNoMunicipality slug; requires its district, e.g. district=leiria, municipality=leiria.
net_area_minNo
property_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / condition
      Added value: +{
      +  "description": "Property condition. Properties without a stated condition are excluded when this is set.",
      +  "enum": [
      +    "new",
      +    "used",
      +    "under-construction",
      +    "to-restore"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: 'currently published' limits results to active listings, up to 20 results, the cursor is tied to the filter set, and empty results mean no match. Those are useful, but return shape and result ordering remain unstated.

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?

Four short, front-loaded sentences with no filler; the core scope comes first, followed by constraints. The telegraphic style ('Requires purpose; municipality requires district') is dense but readable, though a slightly clearer separation of constraint types would help.

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?

For a 15-parameter search tool with no output schema and low schema coverage, the description covers scope, key dependencies, result cap, cursor semantics and the empty-result case. It still omits the default page size, sort behavior, and what a result record contains, so an agent must open the schema to call it confidently.

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?

With only 27% schema description coverage across 15 parameters, the description compensates for the most error-prone cross-field rules: municipality requires district, and a rental budget requires month/week/night. It adds nothing about the default and maximum of limit, the locale enum, features, typology, or the numeric ranges, leaving most parameters documented only by name in the schema.

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 and resource — searching currently published properties in Portugal — and narrows scope with 'by exact structured filters,' which distinguishes it from any free-text or fuzzy lookup. It does not explicitly contrast with siblings like get_property or compare_properties, so it falls 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 description supplies real invocation preconditions (purpose is required, municipality requires district, rental budgets require rent_period), which is useful context for calling it. However, it never says when an agent should pick this tool over get_property or compare_properties, so guidance is implied rather than stated.

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