Skip to main content
Glama
openar-pt

@openar/mcp

Official
by openar-pt

get_deputado_atividade

Retrieve the complete parliamentary activity of a deputy, including initiatives, plenary interventions, and committee work.

Instructions

Get full parliamentary activity for an MP: initiatives, requirements, plenary interventions, committees

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDeputy ID (DepCadId)
legislaturaNoe.g. XVII — omit for full history
Behavior3/5

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

No annotations are present, so the description bears full burden. It mentions what is returned (activity types) but does not disclose read-only nature, response structure, pagination, or any side effects. The name implies a read operation, but explicit behavioral traits are missing.

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?

The description is a single, front-loaded sentence with no redundant information. Every part contributes to understanding the tool's purpose, making it concise and effective.

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?

For a tool with no output schema and two parameters, the description adequately lists the types of activities returned. However, it lacks mention of how to obtain the deputy ID (e.g., from list_deputados) and does not describe the response format, leaving minor gaps.

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 coverage is 100% with clear descriptions for both parameters (id as Deputy ID, legislatura as optional filter). The description does not add new meaning beyond the schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb (Get), resource (full parliamentary activity for an MP), and specifies included content (initiatives, requirements, plenary interventions, committees), differentiating it from sibling tools which focus on single entities or lists.

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?

The description implies usage for retrieving MP activity but does not explicitly state when to use this tool over alternatives (e.g., get_deputado for basic info, list_deputados for finding IDs). No exclusions or context about prerequisites are provided.

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

Install Server

Other Tools

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/openar-pt/mcp'

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