Skip to main content
Glama

Buscar capas de un geoportal (INAMHI, MAG, IGM, MAATE, ARCONEL, CELEC o MSP)

search_capas_geo
Read-only

Search Ecuadorian geoportal layers by source and free-text query to find geospatial datasets such as rainfall, land cover, cadastre, energy, or health facilities.

Instructions

Search layers of a geoportal: inamhi (rainfall, watersheds), mag (agro zoning, rural cadastre), igm (base cartography 1:1M to 1:25k), maate (deforestation, land cover 1990-2024, protected areas), arconel (energy balance, billing, plants, grid), celec (plants, transmission) or msp (health facilities, indicators).

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": {
      "fuente": "<fuente>"
    },
    "name": "search_capas_geo"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFree text matched (accent-insensitive) against the layer's id, name, title or abstract.
formatNotext summary (default) or json structured result.text
fuenteYesinamhi, mag, igm, maate, arconel, celec or msp.
solo_wfsNoOnly return layers with WFS (attribute data).
categoriaNomag: one of its 8 categories.

Output Schema

NameRequiredDescriptionDefault
totalNo
offsetNo
sourceNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.2
    • changedInput schema / properties / fuente / description
      Previous value: -"inamhi, mag, igm, arconel, celec or msp."New value: +"inamhi, mag, igm, maate, arconel, celec or msp."
    • changedInput schema / properties / fuente / enum
      Previous value: -[
      -  "inamhi",
      -  "mag",
      -  "igm",
      -  "arconel",
      -  "celec",
      -  "msp"
      -]New value: +[
      +  "inamhi",
      +  "mag",
      +  "igm",
      +  "maate",
      +  "arconel",
      +  "celec",
      +  "msp"
      +]
  2. Changed4 schema fields changedv0.15.0
    • changedInput schema / properties / categoria / description
      Previous value: -"Only for fuente=\"mag\": one of its 8 categories."New value: +"mag: one of its 8 categories."
    • changedInput schema / properties / fuente / description
      Previous value: -"inamhi or mag."New value: +"inamhi, mag, igm, arconel, celec or msp."
    • changedInput schema / properties / fuente / enum
      Previous value: -[
      -  "inamhi",
      -  "mag"
      -]New value: +[
      +  "inamhi",
      +  "mag",
      +  "igm",
      +  "arconel",
      +  "celec",
      +  "msp"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "offset": {},
      +    "source": {},
      +    "total": {},
      +    "url_fuente": {}
      +  },
      +  "required": [
      +    "metadatos"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changedv0.13.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  4. Addedv0.10.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety and reach profile is covered. The description adds nothing beyond that: no mention of result volume, pagination, ranking of matches, or what happens with an empty query. With annotations carrying the behavioral load, a 3 is appropriate.

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 the verb and resource first, followed by a dense but purposeful enumeration. Every clause maps a source to its content, so nothing is filler, though the run-on list is harder to scan than a short structured form would be.

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 values need not be described, and all five parameters are documented in the schema. What is missing for a discovery tool is operational context: expected result counts, whether the query is a substring or token match beyond 'accent-insensitive', and how to proceed to the actual layer data.

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 is 3, but the description earns above baseline by explaining what each enum value of fuente actually contains (e.g. maate = deforestation, land cover 1990-2024, protected areas; igm = 1:1M to 1:25k scales). That is genuine meaning the bare enum cannot convey and directly improves source selection.

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 ('Search layers of a geoportal') and then enumerates every valid source with concrete subject matter (rainfall, agro zoning, base cartography scales, deforestation, energy balance, health facilities). This is far more than a restatement of the name. It stops short of naming the sibling that consumes a found layer (get_capa_geo_datos), so an agent must infer the search-then-fetch pipeline.

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 per-source topic breakdown implicitly tells an agent which fuente to pick, which is real selection guidance. However there is no explicit when-to-use statement, no when-not, and no mention of the natural follow-up tool for retrieving a layer's data. Usage is inferable but not stated.

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

Deploy Server

Other Tools