Skip to main content
Glama

australia-parliament-mcp-server

Auparl Search Speeches

auparl_search_speeches
Read-onlyIdempotent

Search House and Senate Hansard speeches since 2006 using words, quoted phrases, uppercase OR and trailing prefix wildcards. Filter by speaker, venue, bill, heading, party or date. Returns verbatim excerpts or full speeches and house-qualified IDs for auparl_get_sitting. 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_speeches"
  }
}

Input Schema

NameRequiredDescriptionDefault
billNoParlInfo bill ID, ignoring case, or words in one bill title.
fromNoInclusive first sitting date (YYYY-MM-DD).
houseNoRestrict the search to one house.
limitNoNumber of results, default 25, maximum 100. Larger requests return 100 and a notice.
orderNoNewest first, or relevance to a nonempty query.newest
partyNoParty of the speaker on the sitting date. Use a name, abbreviation or alias from auparl_list_reference.
queryNoStemmed words, literal quoted words or phrases, uppercase OR, or a trailing * for a prefix. Omit to browse.
untilNoInclusive last sitting date (YYYY-MM-DD).
venueNoHouse venue, excluding days whose venue could not be established.
offsetNoZero-based result offset. Follow next_offset for the next page.
headingNoWords in the debate headings.
speakerNoSpeaker name, PHID or prefixed OpenAustralia ID.
talk_typeNoSpeech kind. Omit to include speeches and continuations.
include_full_textNoReturn complete speech text instead of a verbatim excerpt.

Output Schema

NameRequiredDescriptionDefault
rowsNoMatching speeches 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.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, so the safety profile is covered; the description adds genuinely new behavioral facts: the prerequisite of an initialized mirror and the choice between verbatim excerpts and full speech text. It does not mention rate limits or result-size notices, though the latter is captured in the schema.

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 tight sentences: purpose and coverage window first, query language second, filters third, output and prerequisite last. No filler and nothing buried.

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

Completeness5/5

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

For a 14-parameter search tool with an output schema and full annotation coverage, the description covers purpose, query syntax, filterable facets, return shape, ID handoff to auparl_get_sitting, and the mirror prerequisite. Nothing an agent needs to decide to call it is missing.

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 in structured form with syntax guidance. The description largely restates the query syntax and filter list rather than adding new semantics; the one genuinely extra fact is the 'since 2006' coverage window bounding the date filters.

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 House and Senate Hansard speeches since 2006') plus the query language and filter surface, which cleanly separates it from siblings like auparl_search_divisions and auparl_get_sitting. An agent can tell what this retrieves without opening the 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 operational context: an initialized mirror is required, and results can be chained into auparl_get_sitting via house-qualified IDs. It does not state explicit when-not conditions or contrast itself directly with sibling search tools, so it falls short of a 5.

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.