Skip to main content
Glama

MiPiso.net · Spain property rules

Find a place in Spain

find_place
Read-onlyIdempotent

Find a Spanish municipality, province or comunidad autónoma by name and get its place_id. Accepts any spelling; works best with the official Spanish name (e.g. "Marbella", "Palma", "Jávea" / "Xàbia", "Islas Baleares"). Returns candidates with the regions they belong to. Pass queries to look up several places in one call. (Buscar municipio, provincia o comunidad autónoma.)

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": "find_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoPlace name, at least 2 characters.
queriesNoSeveral place names at once (up to 25), instead of query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description's added value is the matching behavior: fuzzy/any-spelling lookup and that it 'returns candidates' rather than a single guaranteed hit. That ambiguity disclosure and the 25-item batch note go beyond the structured fields, though failure behavior (no match) is still 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?

The purpose and return are front-loaded in the first sentence, followed by practical usage notes; every sentence carries information. The trailing Spanish parenthetical is mildly redundant but plausibly useful for users searching in Spanish.

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 does the necessary work by stating the return (place_id plus candidate entries with their regions). For a simple 2-parameter lookup this is nearly complete; only no-match/error behavior is left implicit.

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 100%, so the baseline would be 3; the description earns above that by explaining what makes a good query value (official Spanish name, spelling variants) and clarifying that 'queries' is used 'instead of query'. The 2-character minimum and 25-item cap remain only in the schema, which is acceptable.

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 — look up a Spanish municipality, province or comunidad autónoma by name — and names the return value (place_id). The geographic scope (Spain) plus the entity types make it unmistakable against the sibling rule/coverage 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 clear operating context: any spelling accepted, official Spanish name preferred, quoted examples showing variant forms, and a note to use 'queries' for batch lookups. No when-not-to-use or exclusion is offered, but the siblings are unrelated (rules/coverage), so there is little to disambiguate against.

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