Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BR_ELI_BASE_URLNoBase URL for the Camara dos Deputados open-data APIhttps://dadosabertos.camara.leg.br/api/v2
BR_ELI_AUDIT_DIRNoAudit log directory~/.matematic/audit
BR_ELI_CACHE_DIRNoCache directory for API responses~/.matematic/cache/br-eli

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
br_search_proposicoesA

List Brazilian federal bills (proposicoes) of a given type and year.

br_get_proposicaoA

Fetch full detail (including current status) for one bill by its numeric id.

br_get_normaA

Resolve a Brazilian Norma Juridica (enacted law/decree/amendment) by its URN Lex.

Identification + Diario Oficial da Uniao publication provenance + amendment history + any STF unconstitutionality notes - NOT the full compiled article text (no confirmed URL rule to Planalto; see DISCOVERY.md).

br_get_norma_indexA

List the addressable structure of a Norma Juridica: parts, books, titles, chapters, sections, and articles, in document order.

Use this to find the dispositivo suffix for the article you need (e.g. "art5"), then pass it to br_get_norma_texto - do not guess a suffix.

br_get_norma_textoA

Fetch the real text of one dispositivo (article, or a titulo/capitulo header) of a Norma Juridica.

An article's text includes its caput and every paragraph/inciso/alinea beneath it, concatenated in document order - not a summary.

br_search_processosA

Search court dockets (procedural metadata, NOT ruling text) in one tribunal's DataJud CNJ index.

DataJud carries classe/assuntos/orgaoJulgador and the full procedural timeline (movimentos) for each docket - it does not carry the prose text of a ruling/acordao/ementa. STF is not covered (see server docstring).

br_get_processoA

Fetch one court docket by its exact CNJ unified process number.

br_search_case_stjA

Search STJ (Superior Tribunal de Justica) acordaos - real ruling text.

Unlike br_search_processos (DataJud, metadata only), this returns the actual ementa (headnote) and decisao (ruling body prose) from the STJ Open Data Portal. Scans the most recent monthly bulk files for one orgao julgador (chamber/section) - a miss means "not in the scanned window", not "does not exist". Coverage starts May 2022.

br_get_case_stjA

Fetch one STJ acordao by its exact numeroProcesso, with real ruling text.

br_get_case_carfA

Fetch one CARF (tax appeals) acordao by exact docket or decision number.

Exactly one of numero_processo / numero_decisao must be given - this is an exact lookup, not a search. There is no free-text search tool for CARF because its full-text index is not reliably populated upstream (confirmed empty on live probing for common Portuguese terms).

br_search_case_tstA

Search TST (labor supreme court) rulings by free text - real ruling text.

The query goes into the TST frontend's own "contendo as palavras" (AND) field - quote an expression for an exact-phrase match, e.g. "adicional de insalubridade". Returns the index's own total plus a page of records carrying the real ementa and inteiro_teor prose.

br_get_case_tstA

Fetch one TST ruling by its exact CNJ unified process number - real ruling text (ementa + inteiro_teor).

br_search_case_tcuA

Search TCU (Federal Court of Accounts) acordaos - public-procurement and public-spending jurisprudence.

Returns summaries (sumario) plus the index's own total. Use br_get_case_tcu for the full ruling text of one acordao. The query supports the portal's own field-scoped syntax in addition to plain words, e.g. NUMACORDAO:1771 ANOACORDAO:2026.

br_get_case_tcuA

Fetch one TCU acordao with the real ruling text: acordao_texto (deliberation), relatorio (rapporteur's report) and voto (vote).

A TCU acordao is uniquely identified by (numero, ano, colegiado) - the same numero/ano recurs across the Plenario and the two Camaras. When colegiado is omitted and more than one acordao matches, this errors and lists the matching bodies instead of guessing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/br-eli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server