Skip to main content
Glama

sistema_financeiro_lookup

Query Brazil's bank, Pix participant, and CVM broker registries by COMPE code, ISPB, CNPJ, name, or city, with filtered paginated results.

Instructions

Query Brazil's financial system registries via BrasilAPI: banks (COMPE/ISPB), Pix participants, and CVM brokers (corretoras). Supports direct single-item lookup (bank code or 14-digit broker CNPJ) and cached server-side filtering with pagination (default 25, max 50). No API key required.

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": {
      "tipo": "<tipo>"
    },
    "name": "sistema_financeiro_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
cnpjNoFull 14-digit or partial CNPJ for corretoras
ispbNo8-digit ISPB code for bancos or pix
pageNo1-indexed page number (default: 1)
tipoYesFinancial registry to query
buscaNoCase/accent-insensitive name or city filter
limitNoResults per page (default: 25, max: 50)
codigoNoNumeric COMPE bank code (1-6 digits, e.g. '1' or '001') for bancos
statusNoStatus or participation modality filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose real operational traits: no API key required, caching happens server-side, and pagination caps at 50 with a default of 25. It says nothing about what errors look like for an invalid codigo/ispb, whether cached results can be stale, or what a result object contains.

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, front-loaded with the resource and provider, then the access modes and limits. Every clause carries information: registries covered, lookup styles, pagination caps, and keyless access. No filler.

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 an 8-parameter tool with no annotations and no output schema, the description covers invocation well but leaves the return side entirely unaddressed; the agent cannot anticipate the shape of a bank, Pix participant, or corretora record. Missing also is any note on behavior when multiple optional filters are combined (e.g., busca plus status).

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 one of the 8 parameters including the tipo enum and page/limit bounds. The description reinforces the mapping of codigo to bank codes and cnpj to corretoras, but that association is already stated in the schema field descriptions, so it adds little beyond baseline.

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 a specific verb+resource set: querying Brazil's financial registries via BrasilAPI, enumerating the three sub-registries (bancos with COMPE/ISPB, pix participants, corretoras/CVM). An agent can immediately tell this is not a general company lookup. It stops short of 5 because it never distinguishes itself from plausible siblings such as cnpj_lookup or bcb_olinda, which likely also surface bank/company registry data.

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

Usage Guidelines4/5

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

It lays out the two operating modes clearly: direct single-item lookup (bank code or 14-digit CNPJ) versus cached server-side filtering with pagination. That implicitly tells the agent when to pass an identifier versus a search filter. It gives no explicit exclusions or prerequisites for choosing among the sibling lookups, so it falls short of the top band.

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