Skip to main content
Glama

Ver campos de un indicador del SUT o la Judicatura

get_sut_indicador_schema
Read-only

Get queryable columns, measures, and date levels for a SUT, Judicatura, or CFN dashboard indicator to build accurate query_sut_indicador requests.

Instructions

Queryable fields of one SUT or Judicatura dashboard (fuente): columns, measures ([medida]/[suma]/[promedio]) and date levels, for query_sut_indicador.

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": {
      "indicador": "<indicador>"
    },
    "name": "get_sut_indicador_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNotext summary (default) or json structured result.text
fuenteNosut (default) | judicatura | cfnsut
indicadorYesA key from list_catalogo(fuente=<fuente>).

Output Schema

NameRequiredDescriptionDefault
sourceNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.15.0
    • changedInput schema / properties / fuente / description
      Previous value: -"sut (default) | judicatura"New value: +"sut (default) | judicatura | cfn"
    • changedInput schema / properties / fuente / enum
      Previous value: -[
      -  "sut",
      -  "judicatura"
      -]New value: +[
      +  "sut",
      +  "judicatura",
      +  "cfn"
      +]
    • 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.12.0
    • addedInput schema / properties / fuente
      Added value: +{
      +  "default": "sut",
      +  "description": "sut (default) | judicatura",
      +  "enum": [
      +    "sut",
      +    "judicatura"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / indicador / description
      Previous value: -"A key from list_catalogo(fuente='sut')."New value: +"A key from list_catalogo(fuente=<fuente>)."
  4. Changed1 schema field changedv0.11.0
    • changedInput schema / properties / indicador / description
      Previous value: -"A key from list_sut_indicadores."New value: +"A key from list_catalogo(fuente='sut')."
  5. Changed2 schema fields changedv0.10.0
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / indicador / description
      Added value: +"A key from list_sut_indicadores."
  6. Changed4 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / indicador / title
      Removed value: -"Indicador"
    • removedInput schema / title
      Removed value: -"get_sut_indicador_schemaArguments"
    • removedOutput schema / title
      Removed value: -"get_sut_indicador_schemaDictOutput"
  7. First observedv0.8.12

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds real value beyond them by disclosing the shape of what comes back (columns, measures written as [medida]/[suma]/[promedio], date levels), which tells an agent how to construct a later query. With an output schema present, no further return-value detail is owed.

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 that leads with the resource and scope before naming the consuming tool. It is dense with parentheticals but no sentence is wasted; only the missing cfn scope suggests a small trimming or completeness tradeoff.

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?

The tool is a simple read-only metadata lookup with a fully described 3-parameter schema and an output schema, so the description does not need to explain returns. It covers purpose, scope and the measure syntax; the only gap is the unmentioned 'cfn' fuente value, which is recoverable from the schema.

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 all three parameters are documented in the schema itself, including the fuente enum and the list_catalogo reference for indicador. The description only echoes 'fuente' and the measure syntax without adding format or validation meaning, so the baseline 3 applies.

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: it returns the queryable fields (columns, measures, date levels) of one SUT or Judicatura dashboard, which clearly distinguishes it from query_sut_indicador, the tool that actually runs queries. It is slightly undercut by naming only 'SUT or Judicatura' while the schema's fuente enum also accepts 'cfn', leaving an unmentioned third scope.

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 trailing phrase 'for query_sut_indicador' implies this is a discovery step to run before querying, but the description never states when to call it, when not to, or what to do with the result. Usage is inferable rather than explicit, so this is minimum viable.

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