Skip to main content
Glama
uk-parliament-commons-votes-mcp

uk-parliament-commons-votes-mcp

Get UK House of Commons division count

get_uk_commons_division_count
Read-onlyIdempotent

Count UK House of Commons divisions by keyword or date range. Use optional search term, start date, and end date filters to retrieve the total number of matching votes.

Instructions

Return the total count of UK House of Commons divisions matching optional keyword or date filters.

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

Input Schema

NameRequiredDescriptionDefault
end_dateNoOptional end date in YYYY-MM-DD format.
start_dateNoOptional start date in YYYY-MM-DD format.
search_termNoOptional title keyword to filter division count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds only that the result is an aggregate count and that filters are optional; it says nothing about zero-match behavior or the response shape, so added value beyond the annotations is modest.

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?

A single front-loaded sentence with no filler or redundancy. It is appropriately sized for a simple count tool, though it leaves little room for the guidance other dimensions need.

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?

For a zero-required-parameter, flat-schema count tool with rich annotations, the definition covers purpose and filtering adequately. The only real gap is that no output schema exists and the description does not state the return type (an integer, and what happens with no matches).

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

Parameters3/5

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

Schema description coverage is 100%, with all three parameters documented including date format YYYY-MM-DD. The description restates that keyword and date filters exist but adds no new semantics such as timezone, inclusive/exclusive date bounds, or match scope, so baseline 3 applies.

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?

States a specific verb and resource: return the total count of UK House of Commons divisions, with optional keyword or date filters. The word 'count' distinguishes it in spirit from siblings like search_uk_commons_divisions and get_uk_commons_division_details, though no sibling is named.

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?

The description implies you should use this when you need an aggregate number rather than a list of divisions, but it never states when to prefer it over search_uk_commons_divisions or how it relates to filter_commons_divisions_by_date. Usage is inferred rather than explicit.

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