Skip to main content
Glama

tesouro_operacoes_credito_ckan

Queries credit-limit verification requests for state and municipal credit operations via SADIPEM or searches Tesouro Transparente CKAN datasets and resource URLs.

Instructions

Consulta Pedidos de Verificação de Limites e Condições (PVL — operações de crédito de estados e municípios no SADIPEM) ou pesquisa datasets e URLs de recursos no portal Tesouro Transparente (CKAN).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tesouro_operacoes_credito_ckan"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufNoSigla da UF (obrigatória no modo 'operacoes_credito_pvl').
modoNoModo de consulta: 'operacoes_credito_pvl' (SADIPEM) ou 'ckan_datasets' (Tesouro Transparente).operacoes_credito_pvl
limitNoMáximo de resultados retornados (1 a 50, padrão 20).
queryNoTermo de busca para conjuntos de dados no modo 'ckan_datasets'.
cod_ibgeNoCódigo IBGE de 7 dígitos para filtrar pleitos PVL.
interessadoNoFiltro textual parcial pelo nome do interessado no PVL.
status_filtroNoFiltro textual parcial pelo status do PVL (ex.: 'Deferido').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only lookup via 'Consulta'/'pesquisa' but does not state that it is non-mutating, what the return payload looks like, how results are paginated, or whether any authentication or rate limits apply.

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 dense sentence that front-loads the primary mode (PVL) and then the secondary CKAN mode. It wastes no words, though the parenthetical acronym nesting makes it slightly harder to parse at a glance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, dual-mode query tool with no output schema and no annotations, the description covers both branches and hints at returned content (datasets, resource URLs). It leaves gaps on return format, pagination behavior, and the conditional requirement of 'uf' in PVL mode.

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 the schema already documents every parameter including the mode enum and the 'uf'-required-in-PVL note. The description adds no parameter-level detail beyond the high-level mode split, so baseline 3 is appropriate.

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?

The description names both resources precisely: PVL credit-limit verification requests from states/municipalities in SADIPEM, and datasets/resource URLs in the Tesouro Transparente CKAN portal. The dual-mode nature is conveyed by the 'ou' structure, though it does not contrast this tool against the siconfi_* siblings.

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 two modes are stated and the 'modo' parameter maps to them, so an agent can infer which branch to take. However, there is no explicit when-to-use/when-not guidance, no statement of prerequisites (e.g., that 'uf' is required in PVL mode), and no routing advice relative to sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.