Skip to main content
Glama

siconfi_rgf

Retrieve official Fiscal Responsibility Report (RGF) data for a Brazilian government entity by fiscal year, period, branch, and annex. Filter results locally by account to analyze budget compliance.

Instructions

Consulta o Relatório de Gestão Fiscal (RGF / RGF Simplificado) de um ente federativo por exercício, periodicidade (Q/S), período, poder (E/L/J/M/D), anexo e filtro local por conta.

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": {
      "id_ente": "<id_ente>",
      "an_exercicio": "<an_exercicio>",
      "nr_periodo": "<nr_periodo>"
    },
    "name": "siconfi_rgf"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPágina de resultados (1 a 100).
limitNoItens por página (1 a 50, padrão 30).
id_enteYesCódigo IBGE numérico do ente federativo.
co_poderNoPoder: E (Executivo), L (Legislativo), J (Judiciário), M (Ministério Público), D (Defensoria).E
no_anexoNoNome do anexo (ex.: 'RGF-Anexo 01').
nr_periodoYesPeríodo do RGF (1 a 3 para quadrimestre; 1 a 2 para semestre).
an_exercicioYesAno do exercício fiscal (2015 a 2030).
filtro_contaNoFiltro local textual em conta ou cod_conta.
in_periodicidadeNoPeriodicidade: Q (Quadrimestral) ou S (Semestral).Q
co_tipo_demonstrativoNoTipo de demonstrativo ('RGF' ou 'RGF Simplificado').RGF

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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. 'Consulta' implies a read-only query, but the description does not state authentication needs, rate limits, pagination behavior, or what the response contains; page/limit appear only in the schema.

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?

The definition is a single front-loaded sentence with no filler, and the resource name appears first. The parenthetical enum hints are compact and do not obscure the purpose.

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

Completeness2/5

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

For a 10-parameter analytical query with no annotations and no output schema, the description is sparse: it does not explain the returned data shape or pagination behavior beyond what is in the schema. It identifies the report and filters but leaves an agent without enough context about the response.

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 ten parameters, enums, defaults, ranges, and required fields are already documented in the input schema. The description lists the same filter dimensions and adds no syntax or selection meaning beyond the schema.

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 uses a specific verb ('Consulta') and names the precise resource ('Relatório de Gestão Fiscal (RGF / RGF Simplificado)'), along with the scoping dimensions. It is clear enough to distinguish from unrelated sibling tools, but it does not explicitly contrast with related SICONFI report tools such as siconfi_rreo.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named for comparison. The only implied usage is that this tool retrieves RGF data; an agent must infer that selection from the resource name.

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