Skip to main content
Glama
paulieb89

UK Legal Research MCP Server

Search Committee Evidence

committees_search_evidence
Read-onlyIdempotent

Search oral and written evidence submitted to UK parliamentary committees by committee ID. Paginate results with offset and limit.

Instructions

USE THIS TOOL WHEN you have a committee_id and want the oral and written evidence submitted to it.

Returns ONE PAGE of evidence (default 20). Free-text titles are capped per max_title_chars; witness lists are capped at 10 per item. For committees with many submissions, re-call with offset=offset+returned while has_more is true.

Authoritative source for parliamentary committee evidence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
committee_idYesCommittee ID from committees_search_committees results.
evidence_typeNoType of evidence to search.both
offsetNoNumber of evidence items to skip before this page. Default 0. Re-call with offset=offset+returned while has_more is true.
limitNoMaximum evidence items to return. Default 20. When evidence_type='both' the limit is split across oral and written (roughly half each).
max_title_charsNoPer-item cap on the free-text title field. Default 300 prevents context blow-up from verbose inquiry titles. Raise to 1000+ only when you need the full title text.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
committee_idYesCommittee ID this page belongs to
evidence_typeYesEvidence type filter applied to this query
offsetYesNumber of evidence items skipped before this page
limitYesMax evidence items requested for this page
returnedYesNumber of evidence items actually returned in this call
has_moreYesTrue if there may be more evidence beyond this page. Re-call with offset=offset+returned to fetch the next page. Conservative: when evidence_type='both', True if either oral or written upstream page came back full.
evidenceNoEvidence items in this page. Titles are capped per max_title_chars; witness lists are capped at 10 per item.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so the agent knows it is safe. The description adds valuable behavioral context beyond annotations: it explains pagination (returns one page, default 20, has_more), caps on free-text titles (max_title_chars) and witness lists (10 per item). No contradiction with annotations.

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 concise with three sentences, no fluff. It is front-loaded with 'USE THIS TOOL WHEN' for immediate usability. Every sentence adds value: usage condition, behavioral details, and authority statement.

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?

Given the tool's complexity (pagination, multiple evidence types, caps), the description covers key aspects: what it returns, pagination loop, and caps. The output schema exists (not shown but indicated), so return structure is documented elsewhere. The 'Authoritative source' statement adds useful context. The description is complete enough for an agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with each parameter already having a description. The tool description adds additional context, such as explaining offset usage for pagination and the effect of max_title_chars on title length. This complements the schema well, providing deeper meaning for parameters involved in pagination and output control.

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 starts with 'USE THIS TOOL WHEN you have a committee_id and want the oral and written evidence submitted to it,' clearly specifying the verb (search/return) and resource (committee evidence). It distinguishes itself from sibling tools like committees_search_committees (lists committees) and committees_get_committee (details a single committee), so the purpose is specific and unambiguous.

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?

The description explicitly states when to use the tool ('when you have a committee_id and want the oral and written evidence'). It also provides pagination guidance ('re-call with offset=offset+returned while has_more is true'). However, it does not explicitly state when not to use it or mention alternatives, though the sibling list and context signals partially cover that.

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/paulieb89/uk-legal-mcp'

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