Skip to main content
Glama

Ver detalle de una institución pública

get_institucion_info
Read-only

Retrieve an Ecuadorian public institution's acronym, sector, description, and official websites by ID, so you can identify agencies before searching their procedures.

Instructions

One gob.ec institution's acronym, sector, description and websites. Take institucion_id from list_instituciones (SRI=8, IESS=163, Registro Civil=23); for its procedures use search_tramites.

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": {
      "institucion_id": "<institucion_id>"
    },
    "name": "get_institucion_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNotext summary (default) or json structured result.text
institucion_idYesInstitution ID (e.g. "8")

Output Schema

NameRequiredDescriptionDefault
sourceNo
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": {
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {},
      +    "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 / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / institucion_id / description
      Added value: +"Institution ID (e.g. \"8\")"
  4. Changed4 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / institucion_id / title
      Removed value: -"Institucion Id"
    • removedInput schema / title
      Removed value: -"get_institucion_infoArguments"
    • removedOutput schema / title
      Removed value: -"get_institucion_infoDictOutput"
  5. First observedv0.8.12

TDQS

A4.2/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 profile is covered. The description adds the shape of the returned data, which is minor extra context, but says nothing about authentication, rate limits, or behavior when an ID does not exist.

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 compact sentences with zero filler: the payload is front-loaded, followed by the ID-sourcing and sibling-routing hints. Every clause carries actionable information.

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 annotations covering safety, the description supplies what is still needed: what is returned and how to obtain the required ID. The only small gap is silence on the text-vs-json format choice, which the schema already documents adequately.

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%, including a description and example for institucion_id and an enum with a default for format, so the schema already carries parameter meaning. The description usefully adds ID provenance and example values, but that overlaps with the usage guidance rather than deepening parameter semantics beyond the schema.

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 the exact resource (one gob.ec institution) and enumerates the return payload — acronym, sector, description, websites — so the agent knows precisely what it retrieves. It also implicitly contrasts with the sibling list_instituciones (which returns many) and search_tramites (which returns procedures).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It tells the agent where to source the required ID (list_instituciones) and gives concrete ID examples (SRI=8, IESS=163, Registro Civil=23). It also routes the agent to the correct alternative for a different need: 'for its procedures use search_tramites.'

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