Skip to main content
Glama

Buscar cronogramas de cortes de luz

search_cortes
Read-only

Find scheduled power cuts and maintenance notices from Ecuadorian utilities (eeq, centrosur, emelnorte, elecgalapagos, eeasa); returns files to query with get_cortes_horarios.

Instructions

Scheduled power cuts of one utility: crisis schedule PDFs from eeq (Quito, 2023-2024) and centrosur (2023 on), or current maintenance notices from emelnorte, elecgalapagos and eeasa. Next: get_cortes_horarios with an archivo.

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": {
      "distribuidora": "<distribuidora>"
    },
    "name": "search_cortes"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFree text matched (accent-insensitive) against the file's period, date, title or URL, e.g. "noviembre", "2024-10" (emelnorte/elecgalapagos: title and body,…
formatNotext summary (default) or json structured result.text
distribuidoraYeseeq, centrosur, emelnorte, elecgalapagos or eeasa.

Output Schema

NameRequiredDescriptionDefault
totalNo
offsetNo
sourceNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.15.0
    • changedInput schema / properties / distribuidora / description
      Previous value: -"eeq or centrosur."New value: +"eeq, centrosur, emelnorte, elecgalapagos or eeasa."
    • changedInput schema / properties / distribuidora / enum
      Previous value: -[
      -  "eeq",
      -  "centrosur"
      -]New value: +[
      +  "eeq",
      +  "centrosur",
      +  "emelnorte",
      +  "elecgalapagos",
      +  "eeasa"
      +]
    • changedInput schema / properties / query / description
      Previous value: -"Free text matched (accent-insensitive) against the file's period, date, title or URL, e.g. \"noviembre\", \"2024-10\"."New value: +"Free text matched (accent-insensitive) against the file's period, date, title or URL, e.g. \"noviembre\", \"2024-10\" (emelnorte/elecgalapagos: title and body,…"
    • 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"
      +}
  2. Changed1 schema field changedv0.13.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  3. Addedv0.10.0

TDQS

A4.2/5.0
Behavior4/5

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

The description goes beyond the readOnly/openWorld annotations by disclosing the heterogeneous nature of the corpus: historical crisis PDFs for two utilities versus current maintenance notices for three others, which implies uneven coverage and possible empty results per utility. It does not state pagination, result caps, or recency rules, so a small gap remains against an open-world search.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the scope, then the per-utility breakdown, then the routing hint. Every clause carries information — utility names, date ranges, source types — with no filler.

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 an output schema present and full schema descriptions, the description need not explain return values, and it adequately covers scope plus the follow-up tool. Minor omissions: no mention that some utilities may return nothing outside a year range, and no statement about result volume for an open-world search.

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 coverage is 100%, so the schema already documents query matching, format, and the distribuidora enum; the description adds no field-level format or matching detail. The only extra meaning is the implicit link that results carry an "archivo" handle consumed by get_cortes_horarios, which is useful but not parameter guidance.

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 names both the operation and its domain resource ("Scheduled power cuts of one utility") and then enumerates exactly which source each utility draws from (eeq crisis-schedule PDFs, centrosur, emelnorte/elecgalapagos/eeasa maintenance notices) with date coverage. An agent knows precisely what corpus it is searching and which utility values make sense, without opening the schema.

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?

"Next: get_cortes_horarios with an archivo" gives an explicit follow-up step and the hand-off value, which is real workflow guidance. What is missing is when NOT to use this — e.g. whether file-level discovery belongs to search_archivos — so the agent must infer the boundary from the utility-scoped framing.

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