Skip to main content
Glama

Ver estadísticas de uso de un trámite

get_tramite_estadisticas
Read-only

Retrieve monthly people served and complaints for a specific gob.ec procedure since mid-2021 using its tramite_id; get the ID from search.

Instructions

Monthly attentions (people served) and complaints for one gob.ec trámite since mid-2021, one trámite at a time. Take tramite_id from search_tramites; for requirements and cost use get_tramite_info.

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": {
      "tramite_id": "<tramite_id>"
    },
    "name": "get_tramite_estadisticas"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNotext summary (default) or json structured result.text
tramite_idYesThe procedure ID (e.g. "11752")

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 / tramite_id / description
      Added value: +"The procedure ID (e.g. \"11752\")"
  4. Changed4 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / tramite_id / title
      Removed value: -"Tramite Id"
    • removedInput schema / title
      Removed value: -"get_tramite_estadisticasArguments"
    • removedOutput schema / title
      Removed value: -"get_tramite_estadisticasDictOutput"
  5. First observedv0.8.12

TDQS

A4.6/5.0
Behavior4/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 safety is covered. The description still adds real context beyond them: the data window starts mid-2021 and each call covers exactly one trámite, which signals no bulk/multi-procedure retrieval. It does not cover result ordering or whether all months are always returned, so it stops short of a 5.

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, no filler, and the payload/scope is front-loaded before the sibling routing. Every clause carries information an agent needs to either call it or route elsewhere.

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 annotations, a 100%-covered two-parameter schema and an output schema, most burden is lifted; the description supplies scope, granularity and ID provenance. Minor omission: it does not say whether a trámite with no records returns empty data or an error.

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 enum for 'format' and the tramite_id example are already documented, making 3 the floor. The description adds provenance for the required ID (obtain it from search_tramites), which is meaning the schema does not carry.

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 specific resource (a single gob.ec trámite) and exactly what it returns: monthly attentions (people served) and complaints, with the temporal scope 'since mid-2021'. The 'one trámite at a time' clause explicitly bounds the granularity, and the pointer to get_tramite_info for requirements/cost separates it from the nearest sibling.

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?

Gives a direct prerequisite for the required argument ('Take tramite_id from search_tramites') and routes a different need to a named alternative ('for requirements and cost use get_tramite_info'). That is explicit when-to-use plus when-to-use-something-else, not mere implication.

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