Skip to main content
Glama

australia-parliament-mcp-server

Auparl Search Divisions

auparl_search_divisions
Read-onlyIdempotent

Search recorded parliamentary divisions by date, house, bill or debate heading. Add a member name or ID to learn whether they voted aye, no, paired, did not vote or were outside their service. Follow a division ID to auparl_get_division. Requires an initialized mirror.

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": "auparl_search_divisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
billNoParlInfo bill ID, ignoring case, or words in one bill title.
fromNoInclusive first sitting date (YYYY-MM-DD).
voteNoReturn only divisions recording the selected member on any of these sides. A seat-term ID restricts the vote to that term.
houseNoRestrict the search to one house.
limitNoNumber of results, default 25, maximum 100. Larger requests return 100 and a notice.
untilNoInclusive last sitting date (YYYY-MM-DD).
memberNoMember name, PHID or prefixed OpenAustralia ID for a vote status per division.
offsetNoZero-based result offset. Follow next_offset for the next page.
headingNoWords in the debate headings.

Output Schema

NameRequiredDescriptionDefault
rowsNoMatching divisions with source attribution and historical member data.
errorNoPresent when the call failed. Absent on success.
totalNoNumber of records matching all filters before pagination.
noticesNoCoverage, freshness and pagination details relevant to this call.
attributionNoSource attribution, applicable licenses, and any format conversion.
next_offsetNoFirst offset on the next page, or null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds context the annotations cannot: the tool requires an initialized mirror, and it discloses the set of possible vote outcomes (aye, no, paired, did not vote, outside service term), which shapes how an agent interprets results.

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?

Four short sentences with no filler: capability first, then the member-driven behavior, then the sibling handoff, then the prerequisite. The prerequisite is placed last but remains short and actionable.

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 nine-parameter, all-optional search tool with a full output schema and annotations, the description covers the search axes, the vote-status dimension, the escalation path and the mirror prerequisite. The remaining gaps (pagination and result-cap behavior) are already fully specified in the schema.

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%, so every parameter is already documented, and the description largely restates those axes. It does add one useful semantic link by implying the member parameter drives per-division vote status, but it says nothing about the default limit, the 100-result cap, or offset/next_offset paging that the schema carries.

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?

States a specific verb and resource ("Search recorded parliamentary divisions") and enumerates the filter axes (date, house, bill, debate heading). It also distinguishes itself from the sibling getter by saying a division ID should be followed to auparl_get_division, so an agent can route without opening either schema.

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?

Gives clear conditional guidance: use plain filters to find divisions, add a member to get per-division vote status, and switch to auparl_get_division for a single known ID. It stops short of explicit exclusions (e.g. when to prefer auparl_search_speeches or auparl_get_sitting for related lookups).

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.