Skip to main content
Glama
ChrisBrooksbank

UK Parliament MCP Server

get_session_by_id

Retrieve details of a specific UK Parliament session using its unique session ID to view session details and parliamentary term.

Instructions

Get parliamentary session by ID | session details, parliamentary term, session lookup | Retrieve details of a specific parliamentary session by its ID | Returns session details

    Args:
        session_id: The unique session ID.

    Returns:
        Details of the specified parliamentary session.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/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 burden of behavioral disclosure. It does not state what happens for an invalid/unknown ID, whether the lookup requires auth, or anything beyond the trivial 'returns session details', so this is a significant gap for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description repeats the same purpose three times and appends boilerplate Args/Returns blocks that restate the schema and the obvious return. It is keyword-stuffed rather than front-loaded with genuinely distinct information.

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?

An output schema exists, so return values need not be explained, and a single-parameter getter is intrinsically simple. Still, with no annotations and no error/not-found or sourcing context, the definition is only minimally complete.

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

Parameters2/5

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

Schema description coverage is 0% and the sole parameter is documented only as 'The unique session ID', which is a tautological restatement of the field name and schema title. It adds no format, range, or sourcing guidance (e.g., where to obtain a valid session_id).

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 states a specific verb+resource ('Retrieve details of a specific parliamentary session by its ID'), so an agent can tell what it does. However, it gives no differentiation from close siblings like get_sessions and get_session_for_date, and the purpose is stated three separate times in near-identical phrasing.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as get_sessions or get_session_for_date. The agent must infer from the name alone that this is the ID-based lookup rather than the list or date-based lookup.

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