Skip to main content
Glama

ler_artigo

Read-onlyIdempotent

Retrieve the exact text of a Brazilian legal article or provision, including caput context, source link, validity status, revocation or veto notes, and federal amendment records.

Instructions

Devolve o texto exato de um artigo (ou parágrafo, inciso, alínea), com o caput como contexto, link da fonte, vigencia e redacao da norma, situação do dispositivo (revogado, vetado) e, para normas federais, vigencia_online com as redações e alterações registradas no normas.leg.br e no Senado.

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": {
      "norma": "<norma>",
      "artigo": "<artigo>"
    },
    "name": "ler_artigo"
  }
}

Input Schema

NameRequiredDescriptionDefault
blocoNoQuando a numeração reinicia na norma (ex.: ADCT na CF), trecho do título do bloco ('transitórias') ou índice.
normaYesNorma: '8245/1991', 'Lei 8.245/91', apelido ('CDC', 'CLT', 'CF', 'ADCT') ou caminho no repositório.
alineaNoAlínea: 'a', 'b'...
artigoYesArtigo: '23', '9º', '4-A', '1.000'.
incisoNoInciso em romano ('III') ou número (3).
paragrafoNoParágrafo: '2', '2º' ou 'único'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses the shape of the response payload (source link, vigencia, redacao, revoked/vetoed status) and, importantly, that federal norms trigger an external lookup against normas.leg.br and Senado. It stops short of describing error behavior when an article is not found.

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 with the core action front-loaded and subordinate details trailing. Every clause carries information, though the packed enumeration of return fields makes it slightly heavy to scan.

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

Completeness4/5

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

With 6 parameters, 2 required, a full-coverage schema, an output schema, and annotations present, the description covers what the tool does and what makes its output distinctive (consolidated vigencia plus external federal-norm data). Only the not-found/miss behavior is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic value by explaining that paragraph/inciso/alinea are sub-article levels and that the caput is returned as surrounding context. It does not clarify the `bloco` parameter's block-restart semantics, leaving that to 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?

Specific verb ('Devolve') plus a precise resource ('texto exato de um artigo'), and it enumerates the retrievable granularity levels (artigo, parágrafo, inciso, alínea), so an agent knows this is a citation-precise fetch rather than a search. It does not explicitly name or contrast with siblings like buscar_texto, so differentiation is inferred rather than stated.

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?

Usage is only implied: fetch a specific article when you already know its citation. There is no statement of when to prefer this over buscar_texto or buscar_norma, and no prerequisites or failure conditions are mentioned.

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

Deploy Server

Other Tools