Skip to main content
Glama

Roll-call participation per legislator

get_session_vote_participation
Read-only

How many roll calls each legislator voted in versus missed during one session (GET /v1/sessions/{id}/vote-participation). Use for attendance questions. Get session_id from list_sessions.

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": {
      "session_id": "<session_id>"
    },
    "name": "get_session_vote_participation"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 50).
session_idYessession_id from list_sessions (filter by state).

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, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds that results are aggregated per legislator for a single session and gives the underlying endpoint path. It does not disclose how 'missed' is defined (absent vs. not voting vs. excused), whether all legislators are returned or only those with votes, or anything about result volume, which matters for an aggregate tool.

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?

Three short sentences, front-loaded with what the tool returns, followed by usage and prerequisite. Nothing is padded, though the raw endpoint URL is somewhat redundant with the title and occupies space that could have described the response shape.

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 no output schema, the description does carry the burden of describing return values, and it does so at a high level: counts of roll calls voted versus missed per legislator per session. For a low-complexity, two-parameter read tool with full annotation coverage, this is nearly complete; only the definition of 'missed' and result ordering/pagination are left open.

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%, and both parameters (session_id, limit) are documented in the schema, including the default of 50 and the 500 maximum. The description's note that session_id comes from list_sessions (filtered by state) largely repeats the schema text, so it adds little meaning beyond what the structured field already provides. Baseline 3 is appropriate.

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?

The description names a specific verb+resource+scope: per-legislator counts of roll calls voted versus missed, within one session. It is clearly distinguishable from siblings like get_roll_call (a single roll call's details) and get_session_breakdown. It stops short of explicitly naming those siblings as alternatives.

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?

It states the intended use case ('Use for attendance questions') and supplies the prerequisite chain ('Get session_id from list_sessions'). It does not say when to prefer this over related session analytics tools such as get_session_breakdown or get_session_sponsor_stats, so routing among session-level tools still requires inference.

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.

Resources