Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEIS_MCP_HOMENoDirectory where leis-mcp stores its data. Defaults to ~/.cache/leis-mcp.~/.cache/leis-mcp

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
buscar_normaA

Localiza uma norma e devolve metadados do cabeçalho (título, ementa, data, revogada, versão do texto), caminho no repositório e link oficial da fonte.

ler_artigoA

Devolve o texto exato de um artigo (ou parágrafo, inciso, alínea), com o caput como contexto, link da fonte e avisos de revogação ou texto não compilado.

buscar_textoA

Busca um termo dentro de uma norma, ou nas normas já em cache local, indicando o artigo de cada ocorrência.

listar_normasA

Navega pelo acervo: sem filtros devolve contagens por esfera; com esfera, por tipo; com tipo, por ano; com ano, lista as normas.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
apelidosApelidos de leis aceitos pelas ferramentas.

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

The four tools target distinct retrieval actions: locating a norm, reading a specific article, searching within text, and browsing the collection. There is slight potential overlap between buscar_norma and listar_normas for discovering norms, but the descriptions make their roles sufficiently clear.

Naming Consistency5/5

All tool names follow a consistent Portuguese verb_noun pattern in snake_case: buscar_norma, ler_artigo, buscar_texto, listar_normas. The repeated verb buscar is used predictably for two different search scopes.

Tool Count5/5

Four tools is a well-scoped set for a legal norm retrieval server. Each tool covers a distinct core operation, and none appears redundant or merely decorative.

Completeness4/5

The surface covers the main read-only workflows: browsing norms, locating a norm, reading an article, and searching text. A minor gap is the lack of a direct way to retrieve an entire norm or list its article structure without relying on search or known article numbers.

Maintenance

ActivityMaintained
ResponsivenessNo issues