Skip to main content
Glama
ChrisBrooksbank

UK Parliament MCP Server

get_sessions

Retrieve a list of UK parliamentary sessions to identify session dates and understand the parliamentary calendar structure.

Instructions

Get list of parliamentary sessions. Use when you need to understand parliamentary terms, session dates, or the parliamentary calendar structure.

    Returns:
        List of parliamentary sessions.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. Beyond restating that it returns a list, it discloses nothing about ordering, pagination, scope breadth, or read-only guarantees, leaving the agent to guess at call behavior for an unannotated 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?

The description is short and front-loads the core purpose in the first sentence. The trailing 'Returns: List of parliamentary sessions.' is a restatement that duplicates the output schema and earns little, but it is a minor redundancy rather than bloat.

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

Completeness3/5

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

With zero parameters and an output schema present, the structural context is largely covered, so the description does not need to explain return values. What remains missing is disambiguation from the many sibling session/calendar tools, which the description does not address.

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?

The tool takes zero parameters, so there is no parameter semantics to convey and the baseline of 4 applies. The description neither helps nor harms here.

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 and resource ('Get list of parliamentary sessions'), which is unambiguous on its own. It does not differentiate from close siblings like get_session_by_id, get_session_for_date, or get_sitting_dates, so an agent still has to infer which one applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides implied usage ('Use when you need to understand parliamentary terms, session dates, or the parliamentary calendar structure'), which is clearer than nothing. However, it names no alternatives or exclusions, and 'session dates' plausibly overlaps with siblings such as get_sitting_dates or get_session_for_date without routing guidance.

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