Skip to main content
Glama

Ver reportes SITREP de un evento SGR

get_sgr_sitrep_archivos
Read-only

Retrieves SITREP PDF links—national, provincial, and cantonal—for a selected SGR event page, returning URLs only, not document contents.

Instructions

SITREP PDF links (national, provincial, cantonal) for one SGR event page from search_sgr_sitreps. Returns links, not contents.

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": {
      "evento_url": "<evento_url>"
    },
    "name": "get_sgr_sitrep_archivos"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNotext summary (default) or json structured result.text
evento_urlYesAn event URL from search_sgr_sitreps's "url" field (must be on gestionderiesgos.gob.ec).

Output Schema

NameRequiredDescriptionDefault
totalNo
sourceNo
archivosNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "archivos": {},
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "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. Changed2 schema fields changedv0.10.0
    • addedInput schema / properties / evento_url / description
      Added value: +"An event URL from search_sgr_sitreps's \"url\" field (must be on gestionderiesgos.gob.ec)."
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
  4. Changed4 schema fields changedv0.8.14
    • removedInput schema / properties / evento_url / title
      Removed value: -"Evento Url"
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / title
      Removed value: -"get_sgr_sitrep_archivosArguments"
    • removedOutput schema / title
      Removed value: -"get_sgr_sitrep_archivosDictOutput"
  5. First observedv0.8.12

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's added value is the 'returns links, not contents' caveat, which prevents an agent from expecting document text. It does not discuss empty-result behavior for events without SITREPs, but the essential behavioral surprise is disclosed.

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 short sentences with zero filler; the scope (one event page, all three administrative levels) is front-loaded and the output caveat follows immediately.

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, return values need no prose explanation, and a 2-parameter read-only fetch is low complexity, so the description is nearly sufficient. The only gap is what happens for events lacking SITREPs, which matters since it is a per-page scraper over open-world web content.

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 both the evento_url provenance constraint (must come from search_sgr_sitreps' 'url' field and be on gestionderiesgos.gob.ec) and the format enum are already documented in the schema. The description reinforces the source of the URL but adds no new syntax or format guidance, so the baseline 3 applies.

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?

States a concrete verb-and-resource: extract SITREP PDF links (national, provincial, cantonal) from a single SGR event page. It explicitly anchors the input to search_sgr_sitreps, so an agent can distinguish this follow-up fetch from the search tool without opening either 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?

The chained usage is clear: take an event page from search_sgr_sitreps and call this to get its PDF links. It also states the boundary condition 'returns links, not contents', though it never explicitly says when not to use it (e.g., when the event has no SITREPs or when full document text is wanted).

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