Skip to main content
Glama

uk-parliament-mcp-server

Ukparl Lookup Reference

ukparl_lookup_reference
Read-onlyIdempotent

Resolve Parliament filter IDs and inspect source coverage before searching. Use identifiers for ID namespaces and required selectors, coverage for Hansard date limitations, or a named reference topic for filter IDs. Follow opaque collection cursors with the same filters; use contentCursor to reconstruct an oversized selected payload.

Input Schema

NameRequiredDescriptionDefault
houseNoCommons or Lords; required for active parties.
limitNoRequested whole reference rows; positive safe integer, default 10, effective cap 20.
topicYesReference topic or static identifier/coverage guide.
cursorNoOpaque collection cursor; repeat the same normalized filters.
nameContainsNoCase-insensitive AND tokens over the complete named reference set.
contentCursorNoOpaque same-selection recursive content continuation.

Output Schema

NameRequiredDescriptionDefault
capNoEffective maximum whole reference rows per call.
pageNoWhole reference-row pagination.
errorNoPresent when the call failed. Absent on success.
itemsNoComplete named reference rows in the selected page.
shownNoActual whole reference rows selected for delivery.
topicNoSelected reference topic on a full payload.
noticeNoLicence, coverage and workload notices.
appliedNoNormalized selection applied by this call.
sourcesNoAll requests that supplied the complete reference set.
coverageNoStatic typed historical coverage facts and official sources.
deliveryNoFull selected payload, child outline, or JSON fragment.
identityNoStable selected-record identifiers retained during content retrieval.
retrievalNoSame-tool retrieval instruction.
truncatedNoFurther reference rows remain after the selected page.
provenanceNoSelected response provenance retained during content retrieval; source notices remain in the reconstructed payload.
totalCountNoKnown complete selected guide or reference row count.
contentPageNoLossless recursive content continuation.
identifiersNoStatic typed identifier namespaces and supported selections.
nameContainsNoComplete normalized AND-token filter, retained through content continuation.
collectionPageNoCollection continuation; reconstruct the outlined selected payload before following it.
requestedLimitNoCaller limit before an effective cap was applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 description's value-add is the cursor lifecycle: 'Follow opaque collection cursors with the same filters; use contentCursor to reconstruct an oversized selected payload.' That explains pagination and reconstruction behavior beyond structured fields. It stops short of describing return shape, but the output schema covers that.

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?

Two compact sentences, front-loaded with the core 'resolve/inspect before searching' purpose, then behavior. The phrase 'or a named reference topic for filter IDs' is slightly opaque, but overall there is little waste.

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

Completeness4/5

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

With 6 parameters, full schema coverage, an output schema, and read-only annotations, the description covers the missing behavioral layer (cursor/reconstruction semantics). It is complete enough to invoke correctly, with only minor ambiguity around reference topics.

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 coverage is 100%, so baseline is 3, but the description adds operational meaning to the cursors: cursor requires repeating the same normalized filters, and contentCursor reconstructs an oversized payload. That is genuine meaning beyond the schema's one-line parameter descriptions, justifying a bump.

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 first sentence states a specific verb+resource pair ('Resolve Parliament filter IDs and inspect source coverage') and positions the tool as a pre-search reference, which distinguishes it from the sibling search/get tools. It is clear what the tool does, though the dense enumeration in the second sentence muddies the core purpose slightly.

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 frames usage as 'before searching' and maps topic choices to situations ('identifiers for ID namespaces and required selectors, coverage for Hansard date limitations, or a named reference topic for filter IDs'). This gives an agent clear selection context, though there are no explicit when-not-to-use exclusions.

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.