Skip to main content
Glama

Comparar calles

callejear_compare_streets
Read-onlyIdempotent

Compara de 2 a 5 puntos con el mismo método. Sin ganador, calidad de vida ni inferencias sobre seguridad. Mantiene null, parcialidad y fechas desconocidas.

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": {
      "street_ids": "<street_ids>"
    },
    "name": "callejear_compare_streets"
  }
}

Input Schema

NameRequiredDescriptionDefault
radius_mNo
dimensionsNo
street_idsYes

Output Schema

NameRequiredDescriptionDefault
cityYes
errorNo
resultNo
statusYes
sourcesYes
limitationsYes
data_versionYes
responded_atYes
calculated_atYes
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed26 schema fields changed
    • changedInput schema / properties / street_ids / items / pattern
      Previous value: -"^legacy:calle:[1-9][0-9]{0,11}$"New value: +"^(?:legacy:calle:|es:28079:via:)[1-9][0-9]{0,11}$"
    • changedOutput schema / properties / error / properties / code / enum
      Previous value: -[
      -  "out_of_coverage",
      -  "street_not_available",
      -  "invalid_cursor",
      -  "data_unavailable",
      -  "quota_exceeded",
      -  "response_too_large",
      -  "busy",
      -  "timeout",
      -  "disabled"
      -]New value: +[
      +  "out_of_coverage",
      +  "street_not_available",
      +  "invalid_cursor",
      +  "duplicate_street",
      +  "data_unavailable",
      +  "quota_exceeded",
      +  "response_too_large",
      +  "busy",
      +  "timeout",
      +  "disabled"
      +]
    • changedOutput schema / properties / result / properties / differences / items / properties / left_id / pattern
      Previous value: -"^legacy:calle:[1-9][0-9]{0,11}$"New value: +"^(?:legacy:calle:|es:28079:via:)[1-9][0-9]{0,11}$"
    • changedOutput schema / properties / result / properties / differences / items / properties / right_id / pattern
      Previous value: -"^legacy:calle:[1-9][0-9]{0,11}$"New value: +"^(?:legacy:calle:|es:28079:via:)[1-9][0-9]{0,11}$"
    • addedOutput schema / properties / result / properties / rows / items / properties / metrics / items / properties / reference_geometry / anyOf
      Added value: +[
      +  {
      +    "const": "representative_point",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / properties / rows / items / properties / metrics / items / properties / reference_geometry / const
      Removed value: -"representative_point"
    • removedOutput schema / properties / result / properties / rows / items / properties / metrics / items / properties / reference_geometry / type
      Removed value: -"string"
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / canonical_url / anyOf
      Added value: +[
      +  {
      +    "pattern": "^https:\\/\\/callejear\\.com\\/madrid\\/madrid\\/[a-z0-9-]+\\/$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / canonical_url / pattern
      Removed value: -"^https:\\/\\/callejear\\.com\\/madrid\\/madrid\\/[a-z0-9-]+\\/$"
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / canonical_url / type
      Removed value: -"string"
    • changedOutput schema / properties / result / properties / rows / items / properties / street / properties / id / pattern
      Previous value: -"^legacy:calle:[1-9][0-9]{0,11}$"New value: +"^(?:legacy:calle:|es:28079:via:)[1-9][0-9]{0,11}$"
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / identity / properties / source_way_id / anyOf
      Added value: +[
      +  {
      +    "pattern": "^[0-9]+$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / identity / properties / source_way_id / pattern
      Removed value: -"^[0-9]+$"
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / identity / properties / source_way_id / type
      Removed value: -"string"
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / identity / properties / status / const
      Removed value: -"spatially_supported"
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / identity / properties / status / enum
      Added value: +[
      +  "spatially_supported",
      +  "official_register",
      +  "official_name_conflict"
      +]
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / location_method
      Added value: +{
      +  "enum": [
      +    "official_surface_interior",
      +    "unavailable"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / name_variants
      Added value: +{
      +  "items": {
      +    "maxLength": 180,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 8,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / point / anyOf
      Added value: +[
      +  {
      +    "prefixItems": [
      +      {
      +        "maximum": 90,
      +        "minimum": -90,
      +        "type": "number"
      +      },
      +      {
      +        "maximum": 180,
      +        "minimum": -180,
      +        "type": "number"
      +      }
      +    ],
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / point / prefixItems
      Removed value: -[
      -  {
      -    "maximum": 90,
      -    "minimum": -90,
      -    "type": "number"
      -  },
      -  {
      -    "maximum": 180,
      -    "minimum": -180,
      -    "type": "number"
      -  }
      -]
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / point / type
      Removed value: -"array"
    • addedOutput schema / properties / result / properties / rows / items / properties / street / properties / reference_geometry / anyOf
      Added value: +[
      +  {
      +    "const": "representative_point",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / reference_geometry / const
      Removed value: -"representative_point"
    • removedOutput schema / properties / result / properties / rows / items / properties / street / properties / reference_geometry / type
      Removed value: -"string"
    • removedOutput schema / properties / schema_version / const
      Removed value: -"1.0"
    • addedOutput schema / properties / schema_version / enum
      Added value: +[
      +  "1.0",
      +  "2.0"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), lowering the bar. The description still adds meaningful behavioral context: it produces no winner/quality-of-life/safety judgments, and preserves nulls, partiality, and unknown dates in the output.

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?

Three short, front-loaded sentences with no filler; the core action and constraints come first. Slightly terse relative to the parameter detail the agent still needs, but nothing is wasted.

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?

An output schema exists, so return format need not be explained. However, with 0% schema description coverage the description leaves the dimensions and radius_m behavior unspecified, which is a real gap for a 3-parameter comparison tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, yet it only addresses the item count ("2 a 5 puntos") which is already enforced by minItems/maxItems. The dimensions and radius_m parameters receive no explanation of meaning or effect.

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 ("Compara") and resource ("puntos"/streets) with an explicit scope of 2 to 5 items. It does not name or differentiate itself from siblings like search_streets or get_street_context, but the compare action is distinct enough to infer.

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?

The 2-to-5 point bound is stated, but there is no guidance on when to pick this over search_streets or get_street_context, nor any prerequisites. The agent must infer usage entirely from the tool name.

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