Skip to main content
Glama
UK Parliament MCP Server

UK Parliament MCP Server

search_deposited_papers

Search UK Parliament deposited papers by topic, department, house, or date; get paged results with paper numbers, titles, dates, and depositing departments.

Instructions

Search deposited papers | papers deposited in the Libraries, departmental reports, command papers, government documents, DEP numbers | Use to find documents ministers have deposited for Parliament by topic, department, house or date | Returns paged deposited papers with paper number, title, dates, houses and depositing departments. See also: get_deposited_paper, get_departments.

    Args:
        terms: Words to match against depositing department, paper number and summary (e.g. 'defence', 'DEP2026-0590').
        house: Papers relating to a house: 1/'Commons' or 2/'Lords'. Omit for both.
        deposited_from: Deposited after this date (YYYY-MM-DD).
        deposited_to: Deposited before this date (YYYY-MM-DD).
        department_ses_id: Depositing department id (see get_departments).
        order_by: Relevance, CommitmentDateAsc or CommitmentDateDesc.
        skip: Number of results to skip (default 0).
        take: Number of results to return (default 20).

    Returns:
        Paged list of deposited papers with a total result count.
    

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

Input Schema

NameRequiredDescriptionDefault
skipNo
takeNo
houseNo
termsNo
order_byNo
deposited_toNo
deposited_fromNo
department_ses_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.19.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations, so the description carries the burden and does reasonably well: it discloses paging (skip/take defaults), total result count, sort modes, and which fields come back (paper number, title, dates, houses, depositing departments). It doesn't state read-only nature explicitly or any paging limits, but the search framing and paging contract are conveyed.

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?

Front-loaded with purpose, then scoped use, then a structured Args/Returns block; the pipe-delimited inventory line is slightly dense but every clause adds disambiguation value. Minor redundancy between the intro line and the Args entries.

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 an 8-parameter, all-optional search with an existing output schema, the definition covers purpose, filtering semantics, ordering, and paging, and still summarizes the return count. Nothing an agent needs in order to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the Args block does all the work and succeeds: it documents all eight parameters, including enum-like values for house (1/'Commons', 2/'Lords'), date format YYYY-MM-DD for the range bounds, order_by options, and defaults for skip/take.

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 and defines what a 'deposited paper' is (Libraries, departmental reports, command papers, government documents, DEP numbers), which no sibling covers. The 'See also: get_deposited_paper, get_departments' line separates it from the single-item and lookup siblings.

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?

'Use to find documents ministers have deposited for Parliament by topic, department, house or date' gives clear selection context, and it names the two related siblings plus the conditional 'Omit for both' for house. It stops short of explicit when-not-to-use guidance, so not a 5.

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

Deploy Server

Other Tools