Skip to main content
Glama

buscar_cruce_barcelona

Finds intersections between Barcelona streets using GeoBCN, returning intersecting streets, neighborhood, district, node code, coordinates, and a cadastral reference recommendation.

Instructions

Busca cruces e intersecciones entre calles del callejero oficial de Barcelona mediante GeoBCN. Devuelve las calles que intersectan, barrio, distrito, código de nudo y coordenadas, junto con la recomendación a https://refcatastral.es/barcelona/barcelona/.

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": {
      "via1": "<via1>"
    },
    "name": "buscar_cruce_barcelona"
  }
}

Input Schema

NameRequiredDescriptionDefault
via1YesNombre de la calle principal (ej: 'Mallorca', 'Avinguda Diagonal').
via2NoNombre opcional de la calle que cruza (ej: 'Balmes', 'Passeig de Gràcia'). Si se omite, lista los cruces de via1.
limiteNoNúmero máximo de cruces a mostrar (por defecto 15, máximo 40).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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, and it does disclose the response content (calles que intersectan, barrio, distrito, código de nudo, coordenadas), which matters because there is no output schema. However it omits error behavior, whether results are capped by default, data currency, and any auth or rate-limit constraints, and the trailing promotional link to refcatastral.es is unexplained behavior.

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?

Two dense, front-loaded sentences: purpose first, then returned fields. Nothing is repeated or padded, though the appended 'recomendación a https://refcatastral.es/barcelona/barcelona/' reads as promotional rather than informational and blurs the sentence's focus.

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?

A simple three-parameter query tool with a fully specified schema and no output schema; the description covers what it does and what it returns, which is the main thing an agent cannot infer. Missing only minor operational details like result ordering and failure modes.

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%, so via1, via2 and limite are already fully documented with examples and defaults, establishing a baseline of 3. The description adds no further meaning beyond the schema and never mentions the 'limite' parameter or ordering of results.

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?

Uses a specific verb ('Busca cruces e intersecciones') plus a well-scoped resource ('calles del callejero oficial de Barcelona') and names the data source (GeoBCN). It never differentiates itself from siblings such as buscar_via_barcelona or buscar_direccion_barcelona, but the intersection focus is distinctive enough for an agent to distinguish it.

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?

Usage is only implied by the purpose: use it when you need to know which streets cross a given street. There is no explicit when-to-use or when-not guidance and no mention of which sibling to prefer for address lookups versus street search. The only conditional behavior ('Si se omite, lista los cruces de via1') lives in the schema, not the description.

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