Skip to main content
Glama

brazil-legislation-mcp-server

Brlaw List Reference

brlaw_list_reference
Read-only

Look up Senado type codes, publication kinds, relation labels and item actions, or inspect citation syntax and index coverage. Choose a vocabulary topic to browse or filter by query. ADC denotes Ato Declaratório in type filters and ADCon denotes the STF ruling.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "brlaw_list_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRequested page size. Defaults to 25 and clamps to 200.
queryNoNonblank literal substring of a vocabulary label, abbreviation or code, ignoring case and accents. Use with types, publications, relations or actions.
topicNooverview gives coverage and syntax. types, publications, relations and actions list their respective Senado vocabularies.overview
offsetNoZero-based offset. Pass next_offset to continue.
page_tokenNoOptional token from the previous page to verify that its result set is unchanged.

Output Schema

NameRequiredDescriptionDefault
rowsNoVocabulary entries for the selected topic.
errorNoPresent when the call failed. Absent on success.
limitNoEffective maximum number of rows on this page.
topicNoSelected reference topic.
totalNoTotal matching rows before paging.
offsetNoZero-based offset of this page.
noticesNoPage-size adjustments, source constraints or search guidance.
overviewNoSource scope, citation and provision syntax, source credits, vocabulary sizes and live mirror state.
snapshotNoProvenance of this vocabulary snapshot.
truncatedNoWhether matching rows remain after this page.
page_tokenNoResult-set token for the next request.
next_offsetNoOffset for the next page when more rows exist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine domain context the annotations cannot carry – ADC means Ato Declaratório in type filters and ADCon means the STF ruling – plus a hint that 'overview' exposes index coverage. It says nothing about pagination limits or result shape, so it adds moderate value rather than rich behavior.

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?

Two sentences with the capability front-loaded and no filler. The ADC/ADCon sentence is dense and slightly cryptic out of context, but it earns its space as the only place that domain abbreviation is explained.

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 an output schema present and full parameter documentation, the description only needs to frame purpose and navigation, which it does. Nothing critical for calling the tool correctly is missing; a brief note on what the overview returns beyond 'coverage and syntax' would close the remaining gap.

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%, with limit, query, topic, offset and page_token all self-documented, so the baseline is 3. The description reinforces how topic and query interact and clarifies what the 'types' vocabulary contains via the ADC/ADCon note, but adds no syntax or format detail 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?

States a specific verb ('look up') plus the concrete resources: Senado type codes, publication kinds, relation labels, item actions, and citation syntax/index coverage. That makes the tool's domain distinct from the sibling retrieval tools (get_norm, get_text, search_norms, lookup_citation), though it never names a sibling to sharpen the boundary.

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?

'Choose a vocabulary topic to browse or filter by query' gives an actionable two-mode usage pattern and implies the topic plus query combination described in the schema. It stops short of saying when to prefer this over brlaw_lookup_citation, which also touches citation syntax, so the exclusions are absent rather than wrong.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.