Skip to main content
Glama

uk-parliament-mcp-server

Ukparl Search Divisions

ukparl_search_divisions
Read-onlyIdempotent

Search official Commons or Lords division summaries, or use detail, voters or party_totals with a divisionId from the same House. Search supports title/number text, member and inclusive division dates; member searches include memberVote with the recorded House-native lobby and teller flag. Detail preserves complete metadata and teller identities, with roster selectors for voters mode. Voters can filter exact source party labels and House-compatible lobbies. not_recorded means only the source list, never abstention. Party totals count listed non-tellers and tellers separately from official headline counts. Follow collection cursors with unchanged filters; reconstruct oversized content using contentCursor.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "house": "<house>"
    },
    "name": "ukparl_search_divisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoOperation; defaults to search; accepts case-insensitive canonical mode names.search
houseYesSelected House and division ID namespace.
limitNoPositive safe integer; search default 5, cap 24 Commons/10 Lords; voters default 20/cap 50; detail and party_totals do not paginate.
lobbyNoVoters only: Commons aye/no/not_recorded or Lords content/not_content.
partyNoExact case-insensitive source party label; voters only, not a party ID.
queryNoDivision title or number search text; search mode only.
cursorNoOpaque search/voters collection continuation; repeat the same filters.
endDateNoInclusive source division-date upper bound; search only.
memberIdNoMembers API ID; search returns this member's recorded lobby and teller flag, including divisions where they were a teller.
startDateNoInclusive source division-date lower bound; search only.
divisionIdNoDivision ID in the selected House; required outside search.
contentCursorNoOpaque same-selection lossless content continuation, separate from collection cursor.

Output Schema

NameRequiredDescriptionDefault
modeNoSelected division operation.
pageNoActual emitted whole-row collection continuation.
errorNoPresent when the call failed. Absent on success.
foundNoSelected division existence; absent in search mode.
houseNoHouse scoping division IDs.
itemsNoExplicit search summaries without full roster arrays.
noticeNoLicence, coverage, empty-result and workload notices.
recordNoComplete selected division metadata, teller identities and roster selectors.
sourceNoActual selected API request provenance.
votersNoWhole deduplicated selected voter rows, including tellers.
appliedNoRequired normalized operation and actual workload metadata.
deliveryNoFull selected payload, child outline, or JSON fragment.
guidanceNoActionable recovery for a missing division or unavailable complete roster.
identityNoStable selected-record identifiers retained during content retrieval.
retrievalNoSame-tool retrieval instruction.
selectionNoComplete normalized filters retained through content delivery.
provenanceNoSelected response provenance retained during content retrieval; source notices remain in the reconstructed payload.
totalCountNoKnown selected collection total; search arrays do not supply a total.
truncationNoFurther collection rows remain; follow page.nextCursor.
contentPageNoLossless recursive content continuation.
partyTotalsNoComplete roster-derived party/lobby non-teller and teller counts.
collectionPageNoCollection continuation; reconstruct the outlined selected payload before following it.
requestedLimitNoCaller limit when clamped to the operation cap.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed39 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Positive safe integer; search default 5/cap 10, voters default 20/cap 50; detail and party_totals do not paginate."New value: +"Positive safe integer; search default 5, cap 24 Commons/10 Lords; voters default 20/cap 50; detail and party_totals do not paginate."
    • addedOutput schema / $defs
      Added value: +{
      +  "Division": {
      +    "additionalProperties": false,
      +    "description": "Normalized whole division metadata; provenance is the payload source, once per response.",
      +    "properties": {
      +      "amendmentMotionNotes": {
      +        "description": "Complete Lords amendment motion HTML.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "authoritativeContentCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Official authoritative Lords content count."
      +      },
      +      "authoritativeNotContentCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Official authoritative Lords not-content count."
      +      },
      +      "ayeCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Official Commons aye count, never derived from rows."
      +      },
      +      "date": {
      +        "description": "Source division date and time.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "detailLevel": {
      +        "description": "Search summary or selected complete metadata.",
      +        "enum": [
      +          "summary",
      +          "complete"
      +        ],
      +        "type": "string"
      +      },
      +      "divisionHadTellers": {
      +        "description": "Lords source teller presence flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "divisionId": {
      +        "description": "Division ID scoped to the accompanying House.",
      +        "type": "string"
      +      },
      +      "divisionWasExclusivelyRemote": {
      +        "description": "Lords exclusively remote division flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "doubleMajorityAyeCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Official Commons double-majority aye count."
      +      },
      +      "doubleMajorityNoCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Official Commons double-majority no count."
      +      },
      +      "evelCountry": {
      +        "description": "Historic Commons EVEL country.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "evelType": {
      +        "description": "Historic Commons EVEL type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "friendlyDescription": {
      +        "description": "Complete Commons friendly description.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "friendlyTitle": {
      +        "description": "Commons friendly title.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "headlineCountExplanationUrl": {
      +        "description": "Complete detail only: official Parliament explanation of whether tellers are counted in each House.",
      +        "type": "string"
      +      },
      +      "headlineCountTreatment": {
      +        "description": "Complete detail only: source-specific official count semantics, separate from roster arithmetic.",
      +        "type": "string"
      +      },
      +      "isDeferred": {
      +        "description": "Commons deferred division flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "isGovernmentContent": {
      +        "description": "Lords government content position.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "isGovernmentWin": {
      +        "description": "Lords source government-win flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "isHouse": {
      +        "description": "Lords source House flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "isInquorate": {
      +        "description": "Lords inquorate division flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "isWhipped": {
      +        "description": "Lords whipped division flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "memberContentCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Lords source member content tally."
      +      },
      +      "memberNotContentCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Lords source member not-content tally."
      +      },
      +      "memberVote": {
      +        "additionalProperties": false,
      +        "description": "Selected member vote, present only in member-filtered search results.",
      +        "properties": {
      +          "lobby": {
      +            "description": "Recorded House-native vote direction.",
      +            "enum": [
      +              "aye",
      +              "no",
      +              "content",
      +              "not_content"
      +            ],
      +            "type": "string"
      +          },
      +          "memberId": {
      +            "description": "Selected member identity supplied by the voting record.",
      +            "type": "string"
      +          },
      +          "wasTeller": {
      +            "description": "Source identifies this member as a teller for this division.",
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "memberId",
      +          "lobby",
      +          "wasTeller"
      +        ],
      +        "type": "object"
      +      },
      +      "noCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Official Commons no count, never derived from rows."
      +      },
      +      "notes": {
      +        "description": "Complete Lords notes.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "number": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "House session division number; distinct from divisionId."
      +      },
      +      "publicationUpdated": {
      +        "description": "Source publication update time.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "remoteVotingEnd": {
      +        "description": "Source remote voting end.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "remoteVotingStart": {
      +        "description": "Source remote voting start.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rosterAvailableVia": {
      +        "const": "ukparl_search_divisions",
      +        "description": "Complete detail only: use mode=voters with house and divisionId for complete roster rows.",
      +        "type": "string"
      +      },
      +      "rosterSelectors": {
      +        "description": "Complete-detail roster descriptors; summaries do not claim roster completeness.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One complete roster selector with explicit availability.",
      +          "properties": {
      +            "count": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Known complete roster row count; unknown if source omitted its list."
      +            },
      +            "lobby": {
      +              "description": "Select this lobby in voters mode.",
      +              "enum": [
      +                "aye",
      +                "no",
      +                "content",
      +                "not_content",
      +                "not_recorded"
      +              ],
      +              "type": "string"
      +            },
      +            "membersKnown": {
      +              "description": "Source supplied a complete member roster array for this lobby.",
      +              "type": "boolean"
      +            },
      +            "selector": {
      +              "const": "voters",
      +              "description": "Mode selecting this collection.",
      +              "type": "string"
      +            },
      +            "tellersKnown": {
      +              "description": "Source supplied a teller array, or this lobby has no teller concept.",
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "lobby",
      +            "membersKnown",
      +            "tellersKnown",
      +            "selector"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sourceUrl": {
      +        "description": "Official public division page.",
      +        "type": "string"
      +      },
      +      "sponsoringMemberId": {
      +        "description": "Source sponsoring Members API ID.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "tellerContentCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Lords count recorded by tellers; not the number of tellers."
      +      },
      +      "tellerNotContentCount": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Lords not-content count recorded by tellers."
      +      },
      +      "tellers": {
      +        "description": "Available source teller identities on selected detail; rosterSelectors discloses omitted source lists.",
      +        "items": {
      +          "$ref": "#/$defs/Voter"
      +        },
      +        "type": "array"
      +      },
      +      "title": {
      +        "description": "Complete division title.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "divisionId",
      +      "detailLevel",
      +      "sourceUrl"
      +    ],
      +    "type": "object"
      +  },
      +  "Page": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "hasMore": {
      +        "description": "Further collection items remain.",
      +        "type": "boolean"
      +      },
      +      "nextCursor": {
      +        "description": "Opaque collection continuation; repeat the same filters.",
      +        "type": "string"
      +      },
      +      "returned": {
      +        "description": "Whole items emitted on this page.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "total": {
      +        "description": "Total supplied by the source or fully read local collection.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "returned",
      +      "hasMore"
      +    ],
      +    "type": "object"
      +  },
      +  "Source": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "api": {
      +        "description": "Official API namespace.",
      +        "enum": [
      +          "bills",
      +          "members",
      +          "commons_votes",
      +          "lords_votes",
      +          "hansard",
      +          "questions",
      +          "committees"
      +        ],
      +        "type": "string"
      +      },
      +      "licenceUrl": {
      +        "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      +        "type": "string"
      +      },
      +      "notices": {
      +        "description": "Source-specific notices.",
      +        "items": {
      +          "description": "Source notice preserved verbatim.",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "retrievedAt": {
      +        "description": "Response retrieval time in ISO 8601 UTC.",
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Actual official HTTPS request URL.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "api",
      +      "url",
      +      "retrievedAt",
      +      "licenceUrl"
      +    ],
      +    "type": "object"
      +  },
      +  "Voter": {
      +    "additionalProperties": false,
      +    "description": "One whole normalized voter or teller identity.",
      +    "properties": {
      +      "constituency": {
      +        "description": "Commons constituency only; absent for Lords.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "isTeller": {
      +        "description": "Member appears in this lobby teller list.",
      +        "type": "boolean"
      +      },
      +      "listAs": {
      +        "description": "Source sortable member name.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "lobby": {
      +        "description": "Source lobby or explicitly not-recorded list.",
      +        "enum": [
      +          "aye",
      +          "no",
      +          "content",
      +          "not_content",
      +          "not_recorded"
      +        ],
      +        "type": "string"
      +      },
      +      "memberFrom": {
      +        "description": "Source constituency or peerage description.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "memberId": {
      +        "description": "Members API identifier supplied by this voting source.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Source member name, unknown when absent or null.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "party": {
      +        "description": "Party at this division, without current-party inference.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "partyAbbreviation": {
      +        "description": "Source party abbreviation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "partyColour": {
      +        "description": "Source party colour.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "partyIsMainParty": {
      +        "description": "Source main-party flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "proxyName": {
      +        "description": "Source proxy name.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "subParty": {
      +        "description": "Source sub-party label.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "memberId",
      +      "lobby",
      +      "isTeller"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / collectionPage / $ref
      Added value: +"#/$defs/Page"
    • removedOutput schema / properties / collectionPage / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / collectionPage / properties
      Removed value: -{
      -  "hasMore": {
      -    "description": "Further collection items remain.",
      -    "type": "boolean"
      -  },
      -  "nextCursor": {
      -    "description": "Opaque collection continuation; repeat the same filters.",
      -    "type": "string"
      -  },
      -  "returned": {
      -    "description": "Whole items emitted on this page.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "total": {
      -    "description": "Total supplied by the source or fully read local collection.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / collectionPage / required
      Removed value: -[
      -  "returned",
      -  "hasMore"
      -]
    • removedOutput schema / properties / collectionPage / type
      Removed value: -"object"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `http_invalid_params`: The official API returned HTTP 400 for this request. `http_unauthorized`: The official public API returned HTTP 401. `http_forbidden`: The official public API returned HTTP 402 or 403. `http_conflict`: The official API returned HTTP 409, 423 or 424. `http_rate_limited`: The official API returned HTTP 429 after bounded retry handling. `http_invalid_request`: The official API returned an unexpected redirect or another unsupported HTTP client response. `invalid_mode`: Filters, selected identifiers or lobby do not apply to this mode or House. `invalid_date_range`: A date is invalid or the lower bound exceeds the upper bound. `invalid_cursor`: A cursor is malformed or belongs to another selection. `source_changed`: A selected payload changed during content continuation. `queue_full`: The selected voting source request queue is full. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `http_invalid_params`: The official API returned HTTP 400 for this request. `http_unauthorized`: The official public API returned HTTP 401. `http_forbidden`: The official public API returned HTTP 402 or 403. `http_conflict`: The official API returned HTTP 409, 423 or 424. `http_rate_limited`: The official API returned HTTP 429 after bounded retry handling. `http_invalid_request`: The official API returned an unexpected redirect or another unsupported HTTP client response. `invalid_mode`: Filters, selected identifiers or lobby do not apply to this mode or House. `invalid_date_range`: A date is invalid or the lower bound exceeds the upper bound. `invalid_cursor`: A cursor is malformed or belongs to another selection. `source_changed`: A selected payload changed during content continuation. `queue_full`: The selected voting source request queue is full. `call_deadline_exceeded`: The 45-second call deadline elapsed before the official API answered. `http_server_error`: The official API returned an HTTP 5xx server error. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "http_invalid_params",
      -  "http_unauthorized",
      -  "http_forbidden",
      -  "http_conflict",
      -  "http_rate_limited",
      -  "http_invalid_request",
      -  "invalid_mode",
      -  "invalid_date_range",
      -  "invalid_cursor",
      -  "source_changed",
      -  "queue_full"
      -]New value: +[
      +  "http_invalid_params",
      +  "http_unauthorized",
      +  "http_forbidden",
      +  "http_conflict",
      +  "http_rate_limited",
      +  "http_invalid_request",
      +  "invalid_mode",
      +  "invalid_date_range",
      +  "invalid_cursor",
      +  "source_changed",
      +  "queue_full",
      +  "call_deadline_exceeded",
      +  "http_server_error"
      +]
    • addedOutput schema / properties / items / items / $ref
      Added value: +"#/$defs/Division"
    • removedOutput schema / properties / items / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / items / items / description
      Removed value: -"Normalized whole division metadata."
    • removedOutput schema / properties / items / items / properties
      Removed value: -{
      -  "amendmentMotionNotes": {
      -    "description": "Complete Lords amendment motion HTML.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "authoritativeContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official authoritative Lords content count."
      -  },
      -  "authoritativeNotContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official authoritative Lords not-content count."
      -  },
      -  "ayeCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons aye count, never derived from rows."
      -  },
      -  "date": {
      -    "description": "Source division date and time.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "detailLevel": {
      -    "description": "Search summary or selected complete metadata.",
      -    "enum": [
      -      "summary",
      -      "complete"
      -    ],
      -    "type": "string"
      -  },
      -  "divisionHadTellers": {
      -    "description": "Lords source teller presence flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "divisionId": {
      -    "description": "Division ID scoped to the accompanying House.",
      -    "type": "string"
      -  },
      -  "divisionWasExclusivelyRemote": {
      -    "description": "Lords exclusively remote division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "doubleMajorityAyeCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons double-majority aye count."
      -  },
      -  "doubleMajorityNoCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons double-majority no count."
      -  },
      -  "evelCountry": {
      -    "description": "Historic Commons EVEL country.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "evelType": {
      -    "description": "Historic Commons EVEL type.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "friendlyDescription": {
      -    "description": "Complete Commons friendly description.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "friendlyTitle": {
      -    "description": "Commons friendly title.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "headlineCountExplanationUrl": {
      -    "description": "Official Parliament explanation of whether tellers are counted in each House.",
      -    "type": "string"
      -  },
      -  "headlineCountTreatment": {
      -    "description": "Source-specific official count semantics, separate from roster arithmetic.",
      -    "type": "string"
      -  },
      -  "isDeferred": {
      -    "description": "Commons deferred division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isGovernmentContent": {
      -    "description": "Lords government content position.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isGovernmentWin": {
      -    "description": "Lords source government-win flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isHouse": {
      -    "description": "Lords source House flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isInquorate": {
      -    "description": "Lords inquorate division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isWhipped": {
      -    "description": "Lords whipped division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "memberContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords source member content tally."
      -  },
      -  "memberNotContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords source member not-content tally."
      -  },
      -  "memberVote": {
      -    "additionalProperties": false,
      -    "description": "Selected member vote, present only in member-filtered search results.",
      -    "properties": {
      -      "lobby": {
      -        "description": "Recorded House-native vote direction.",
      -        "enum": [
      -          "aye",
      -          "no",
      -          "content",
      -          "not_content"
      -        ],
      -        "type": "string"
      -      },
      -      "memberId": {
      -        "description": "Selected member identity supplied by the voting record.",
      -        "type": "string"
      -      },
      -      "wasTeller": {
      -        "description": "Source identifies this member as a teller for this division.",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "memberId",
      -      "lobby",
      -      "wasTeller"
      -    ],
      -    "type": "object"
      -  },
      -  "noCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons no count, never derived from rows."
      -  },
      -  "notes": {
      -    "description": "Complete Lords notes.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "number": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "House session division number; distinct from divisionId."
      -  },
      -  "publicationUpdated": {
      -    "description": "Source publication update time.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "remoteVotingEnd": {
      -    "description": "Source remote voting end.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "remoteVotingStart": {
      -    "description": "Source remote voting start.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "rosterAvailableVia": {
      -    "const": "ukparl_search_divisions",
      -    "description": "Use mode=voters with house and divisionId for complete roster rows.",
      -    "type": "string"
      -  },
      -  "rosterSelectors": {
      -    "description": "Complete-detail roster descriptors; summaries do not claim roster completeness.",
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "One complete roster selector with explicit availability.",
      -      "properties": {
      -        "count": {
      -          "anyOf": [
      -            {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Known complete roster row count; unknown if source omitted its list."
      -        },
      -        "lobby": {
      -          "description": "Select this lobby in voters mode.",
      -          "enum": [
      -            "aye",
      -            "no",
      -            "content",
      -            "not_content",
      -            "not_recorded"
      -          ],
      -          "type": "string"
      -        },
      -        "membersKnown": {
      -          "description": "Source supplied a complete member roster array for this lobby.",
      -          "type": "boolean"
      -        },
      -        "selector": {
      -          "const": "voters",
      -          "description": "Mode selecting this collection.",
      -          "type": "string"
      -        },
      -        "tellersKnown": {
      -          "description": "Source supplied a teller array, or this lobby has no teller concept.",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "lobby",
      -        "membersKnown",
      -        "tellersKnown",
      -        "selector"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "source": {
      -    "additionalProperties": false,
      -    "description": "Actual official request provenance.",
      -    "properties": {
      -      "api": {
      -        "description": "Official API namespace.",
      -        "enum": [
      -          "bills",
      -          "members",
      -          "commons_votes",
      -          "lords_votes",
      -          "hansard",
      -          "questions",
      -          "committees"
      -        ],
      -        "type": "string"
      -      },
      -      "licenceUrl": {
      -        "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      -        "type": "string"
      -      },
      -      "notices": {
      -        "description": "Source-specific notices.",
      -        "items": {
      -          "description": "Source notice preserved verbatim.",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "retrievedAt": {
      -        "description": "Response retrieval time in ISO 8601 UTC.",
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Actual official HTTPS request URL.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "api",
      -      "url",
      -      "retrievedAt",
      -      "licenceUrl"
      -    ],
      -    "type": "object"
      -  },
      -  "sourceUrl": {
      -    "description": "Official public division page.",
      -    "type": "string"
      -  },
      -  "sponsoringMemberId": {
      -    "description": "Source sponsoring Members API ID.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "tellerContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords count recorded by tellers; not the number of tellers."
      -  },
      -  "tellerNotContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords not-content count recorded by tellers."
      -  },
      -  "tellers": {
      -    "description": "Available source teller identities on selected detail; rosterSelectors discloses omitted source lists.",
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "One whole normalized voter or teller identity.",
      -      "properties": {
      -        "constituency": {
      -          "description": "Commons constituency only; absent for Lords.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "isTeller": {
      -          "description": "Member appears in this lobby teller list.",
      -          "type": "boolean"
      -        },
      -        "listAs": {
      -          "description": "Source sortable member name.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "lobby": {
      -          "description": "Source lobby or explicitly not-recorded list.",
      -          "enum": [
      -            "aye",
      -            "no",
      -            "content",
      -            "not_content",
      -            "not_recorded"
      -          ],
      -          "type": "string"
      -        },
      -        "memberFrom": {
      -          "description": "Source constituency or peerage description.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "memberId": {
      -          "description": "Members API identifier supplied by this voting source.",
      -          "type": "string"
      -        },
      -        "name": {
      -          "description": "Source member name, unknown when absent or null.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "party": {
      -          "description": "Party at this division, without current-party inference.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "partyAbbreviation": {
      -          "description": "Source party abbreviation.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "partyColour": {
      -          "description": "Source party colour.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "partyIsMainParty": {
      -          "description": "Source main-party flag.",
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "proxyName": {
      -          "description": "Source proxy name.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "subParty": {
      -          "description": "Source sub-party label.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "memberId",
      -        "lobby",
      -        "isTeller"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "title": {
      -    "description": "Complete division title.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / items / items / required
      Removed value: -[
      -  "divisionId",
      -  "detailLevel",
      -  "source",
      -  "sourceUrl",
      -  "rosterAvailableVia",
      -  "headlineCountTreatment",
      -  "headlineCountExplanationUrl"
      -]
    • removedOutput schema / properties / items / items / type
      Removed value: -"object"
    • addedOutput schema / properties / page / $ref
      Added value: +"#/$defs/Page"
    • removedOutput schema / properties / page / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / page / properties
      Removed value: -{
      -  "hasMore": {
      -    "description": "Further collection items remain.",
      -    "type": "boolean"
      -  },
      -  "nextCursor": {
      -    "description": "Opaque collection continuation; repeat the same filters.",
      -    "type": "string"
      -  },
      -  "returned": {
      -    "description": "Whole items emitted on this page.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "total": {
      -    "description": "Total supplied by the source or fully read local collection.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / page / required
      Removed value: -[
      -  "returned",
      -  "hasMore"
      -]
    • removedOutput schema / properties / page / type
      Removed value: -"object"
    • changedOutput schema / properties / provenance / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Complete official request provenance.",
      -    "properties": {
      -      "api": {
      -        "description": "Official API namespace.",
      -        "enum": [
      -          "bills",
      -          "members",
      -          "commons_votes",
      -          "lords_votes",
      -          "hansard",
      -          "questions",
      -          "committees"
      -        ],
      -        "type": "string"
      -      },
      -      "licenceUrl": {
      -        "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      -        "type": "string"
      -      },
      -      "notices": {
      -        "description": "Source-specific notices.",
      -        "items": {
      -          "description": "Source notice preserved verbatim.",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "retrievedAt": {
      -        "description": "Response retrieval time in ISO 8601 UTC.",
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Actual official HTTPS request URL.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "api",
      -      "url",
      -      "retrievedAt",
      -      "licenceUrl"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Compact provenance with a pointer to the complete request source.",
      -    "properties": {
      -      "api": {
      -        "description": "Official API namespace.",
      -        "enum": [
      -          "bills",
      -          "members",
      -          "commons_votes",
      -          "lords_votes",
      -          "hansard",
      -          "questions",
      -          "committees"
      -        ],
      -        "type": "string"
      -      },
      -      "contentPath": {
      -        "description": "RFC 6901 pointer to full source provenance in the reconstructable payload.",
      -        "type": "string"
      -      },
      -      "licenceUrl": {
      -        "description": "Open Parliament Licence URL.",
      -        "type": "string"
      -      },
      -      "origin": {
      -        "description": "Official origin only; the full request URL is at contentPath.",
      -        "type": "string"
      -      },
      -      "retrievedAt": {
      -        "description": "Response retrieval time.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "api",
      -      "origin",
      -      "retrievedAt",
      -      "licenceUrl",
      -      "contentPath"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/Source",
      +    "description": "Complete official request provenance."
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Compact provenance with a pointer to the complete request source.",
      +    "properties": {
      +      "api": {
      +        "description": "Official API namespace.",
      +        "enum": [
      +          "bills",
      +          "members",
      +          "commons_votes",
      +          "lords_votes",
      +          "hansard",
      +          "questions",
      +          "committees"
      +        ],
      +        "type": "string"
      +      },
      +      "contentPath": {
      +        "description": "RFC 6901 pointer to full source provenance in the reconstructable payload.",
      +        "type": "string"
      +      },
      +      "licenceUrl": {
      +        "description": "Open Parliament Licence URL.",
      +        "type": "string"
      +      },
      +      "origin": {
      +        "description": "Official origin only; the full request URL is at contentPath.",
      +        "type": "string"
      +      },
      +      "retrievedAt": {
      +        "description": "Response retrieval time.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "api",
      +      "origin",
      +      "retrievedAt",
      +      "licenceUrl",
      +      "contentPath"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / record / $ref
      Added value: +"#/$defs/Division"
    • removedOutput schema / properties / record / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / record / properties
      Removed value: -{
      -  "amendmentMotionNotes": {
      -    "description": "Complete Lords amendment motion HTML.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "authoritativeContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official authoritative Lords content count."
      -  },
      -  "authoritativeNotContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official authoritative Lords not-content count."
      -  },
      -  "ayeCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons aye count, never derived from rows."
      -  },
      -  "date": {
      -    "description": "Source division date and time.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "detailLevel": {
      -    "description": "Search summary or selected complete metadata.",
      -    "enum": [
      -      "summary",
      -      "complete"
      -    ],
      -    "type": "string"
      -  },
      -  "divisionHadTellers": {
      -    "description": "Lords source teller presence flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "divisionId": {
      -    "description": "Division ID scoped to the accompanying House.",
      -    "type": "string"
      -  },
      -  "divisionWasExclusivelyRemote": {
      -    "description": "Lords exclusively remote division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "doubleMajorityAyeCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons double-majority aye count."
      -  },
      -  "doubleMajorityNoCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons double-majority no count."
      -  },
      -  "evelCountry": {
      -    "description": "Historic Commons EVEL country.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "evelType": {
      -    "description": "Historic Commons EVEL type.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "friendlyDescription": {
      -    "description": "Complete Commons friendly description.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "friendlyTitle": {
      -    "description": "Commons friendly title.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "headlineCountExplanationUrl": {
      -    "description": "Official Parliament explanation of whether tellers are counted in each House.",
      -    "type": "string"
      -  },
      -  "headlineCountTreatment": {
      -    "description": "Source-specific official count semantics, separate from roster arithmetic.",
      -    "type": "string"
      -  },
      -  "isDeferred": {
      -    "description": "Commons deferred division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isGovernmentContent": {
      -    "description": "Lords government content position.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isGovernmentWin": {
      -    "description": "Lords source government-win flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isHouse": {
      -    "description": "Lords source House flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isInquorate": {
      -    "description": "Lords inquorate division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "isWhipped": {
      -    "description": "Lords whipped division flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "memberContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords source member content tally."
      -  },
      -  "memberNotContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords source member not-content tally."
      -  },
      -  "memberVote": {
      -    "additionalProperties": false,
      -    "description": "Selected member vote, present only in member-filtered search results.",
      -    "properties": {
      -      "lobby": {
      -        "description": "Recorded House-native vote direction.",
      -        "enum": [
      -          "aye",
      -          "no",
      -          "content",
      -          "not_content"
      -        ],
      -        "type": "string"
      -      },
      -      "memberId": {
      -        "description": "Selected member identity supplied by the voting record.",
      -        "type": "string"
      -      },
      -      "wasTeller": {
      -        "description": "Source identifies this member as a teller for this division.",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "memberId",
      -      "lobby",
      -      "wasTeller"
      -    ],
      -    "type": "object"
      -  },
      -  "noCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Official Commons no count, never derived from rows."
      -  },
      -  "notes": {
      -    "description": "Complete Lords notes.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "number": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "House session division number; distinct from divisionId."
      -  },
      -  "publicationUpdated": {
      -    "description": "Source publication update time.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "remoteVotingEnd": {
      -    "description": "Source remote voting end.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "remoteVotingStart": {
      -    "description": "Source remote voting start.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "rosterAvailableVia": {
      -    "const": "ukparl_search_divisions",
      -    "description": "Use mode=voters with house and divisionId for complete roster rows.",
      -    "type": "string"
      -  },
      -  "rosterSelectors": {
      -    "description": "Complete-detail roster descriptors; summaries do not claim roster completeness.",
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "One complete roster selector with explicit availability.",
      -      "properties": {
      -        "count": {
      -          "anyOf": [
      -            {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Known complete roster row count; unknown if source omitted its list."
      -        },
      -        "lobby": {
      -          "description": "Select this lobby in voters mode.",
      -          "enum": [
      -            "aye",
      -            "no",
      -            "content",
      -            "not_content",
      -            "not_recorded"
      -          ],
      -          "type": "string"
      -        },
      -        "membersKnown": {
      -          "description": "Source supplied a complete member roster array for this lobby.",
      -          "type": "boolean"
      -        },
      -        "selector": {
      -          "const": "voters",
      -          "description": "Mode selecting this collection.",
      -          "type": "string"
      -        },
      -        "tellersKnown": {
      -          "description": "Source supplied a teller array, or this lobby has no teller concept.",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "lobby",
      -        "membersKnown",
      -        "tellersKnown",
      -        "selector"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "source": {
      -    "additionalProperties": false,
      -    "description": "Actual official request provenance.",
      -    "properties": {
      -      "api": {
      -        "description": "Official API namespace.",
      -        "enum": [
      -          "bills",
      -          "members",
      -          "commons_votes",
      -          "lords_votes",
      -          "hansard",
      -          "questions",
      -          "committees"
      -        ],
      -        "type": "string"
      -      },
      -      "licenceUrl": {
      -        "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      -        "type": "string"
      -      },
      -      "notices": {
      -        "description": "Source-specific notices.",
      -        "items": {
      -          "description": "Source notice preserved verbatim.",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "retrievedAt": {
      -        "description": "Response retrieval time in ISO 8601 UTC.",
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Actual official HTTPS request URL.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "api",
      -      "url",
      -      "retrievedAt",
      -      "licenceUrl"
      -    ],
      -    "type": "object"
      -  },
      -  "sourceUrl": {
      -    "description": "Official public division page.",
      -    "type": "string"
      -  },
      -  "sponsoringMemberId": {
      -    "description": "Source sponsoring Members API ID.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "tellerContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords count recorded by tellers; not the number of tellers."
      -  },
      -  "tellerNotContentCount": {
      -    "anyOf": [
      -      {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "Lords not-content count recorded by tellers."
      -  },
      -  "tellers": {
      -    "description": "Available source teller identities on selected detail; rosterSelectors discloses omitted source lists.",
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "One whole normalized voter or teller identity.",
      -      "properties": {
      -        "constituency": {
      -          "description": "Commons constituency only; absent for Lords.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "isTeller": {
      -          "description": "Member appears in this lobby teller list.",
      -          "type": "boolean"
      -        },
      -        "listAs": {
      -          "description": "Source sortable member name.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "lobby": {
      -          "description": "Source lobby or explicitly not-recorded list.",
      -          "enum": [
      -            "aye",
      -            "no",
      -            "content",
      -            "not_content",
      -            "not_recorded"
      -          ],
      -          "type": "string"
      -        },
      -        "memberFrom": {
      -          "description": "Source constituency or peerage description.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "memberId": {
      -          "description": "Members API identifier supplied by this voting source.",
      -          "type": "string"
      -        },
      -        "name": {
      -          "description": "Source member name, unknown when absent or null.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "party": {
      -          "description": "Party at this division, without current-party inference.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "partyAbbreviation": {
      -          "description": "Source party abbreviation.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "partyColour": {
      -          "description": "Source party colour.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "partyIsMainParty": {
      -          "description": "Source main-party flag.",
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "proxyName": {
      -          "description": "Source proxy name.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "subParty": {
      -          "description": "Source sub-party label.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "memberId",
      -        "lobby",
      -        "isTeller"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "title": {
      -    "description": "Complete division title.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / record / required
      Removed value: -[
      -  "divisionId",
      -  "detailLevel",
      -  "source",
      -  "sourceUrl",
      -  "rosterAvailableVia",
      -  "headlineCountTreatment",
      -  "headlineCountExplanationUrl"
      -]
    • removedOutput schema / properties / record / type
      Removed value: -"object"
    • changedOutput schema / properties / selection / properties / limit / description
      Previous value: -"Positive safe integer; search default 5/cap 10, voters default 20/cap 50."New value: +"Effective collection limit; search default 5, cap 24 Commons/10 Lords; voters default 20/cap 50."
    • addedOutput schema / properties / source / $ref
      Added value: +"#/$defs/Source"
    • removedOutput schema / properties / source / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / source / properties
      Removed value: -{
      -  "api": {
      -    "description": "Official API namespace.",
      -    "enum": [
      -      "bills",
      -      "members",
      -      "commons_votes",
      -      "lords_votes",
      -      "hansard",
      -      "questions",
      -      "committees"
      -    ],
      -    "type": "string"
      -  },
      -  "licenceUrl": {
      -    "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      -    "type": "string"
      -  },
      -  "notices": {
      -    "description": "Source-specific notices.",
      -    "items": {
      -      "description": "Source notice preserved verbatim.",
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "retrievedAt": {
      -    "description": "Response retrieval time in ISO 8601 UTC.",
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Actual official HTTPS request URL.",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / source / required
      Removed value: -[
      -  "api",
      -  "url",
      -  "retrievedAt",
      -  "licenceUrl"
      -]
    • removedOutput schema / properties / source / type
      Removed value: -"object"
    • changedOutput schema / properties / truncation / properties / cap / description
      Previous value: -"Effective workload cap."New value: +"Mode cap, the most whole items one page can return (search 24 Commons/10 Lords, voters 50); the effective limit is applied.limit."
    • addedOutput schema / properties / voters / items / $ref
      Added value: +"#/$defs/Voter"
    • removedOutput schema / properties / voters / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / voters / items / description
      Removed value: -"One whole normalized voter or teller identity."
    • removedOutput schema / properties / voters / items / properties
      Removed value: -{
      -  "constituency": {
      -    "description": "Commons constituency only; absent for Lords.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "isTeller": {
      -    "description": "Member appears in this lobby teller list.",
      -    "type": "boolean"
      -  },
      -  "listAs": {
      -    "description": "Source sortable member name.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "lobby": {
      -    "description": "Source lobby or explicitly not-recorded list.",
      -    "enum": [
      -      "aye",
      -      "no",
      -      "content",
      -      "not_content",
      -      "not_recorded"
      -    ],
      -    "type": "string"
      -  },
      -  "memberFrom": {
      -    "description": "Source constituency or peerage description.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "memberId": {
      -    "description": "Members API identifier supplied by this voting source.",
      -    "type": "string"
      -  },
      -  "name": {
      -    "description": "Source member name, unknown when absent or null.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "party": {
      -    "description": "Party at this division, without current-party inference.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "partyAbbreviation": {
      -    "description": "Source party abbreviation.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "partyColour": {
      -    "description": "Source party colour.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "partyIsMainParty": {
      -    "description": "Source main-party flag.",
      -    "type": [
      -      "boolean",
      -      "null"
      -    ]
      -  },
      -  "proxyName": {
      -    "description": "Source proxy name.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "subParty": {
      -    "description": "Source sub-party label.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / voters / items / required
      Removed value: -[
      -  "memberId",
      -  "lobby",
      -  "isTeller"
      -]
    • removedOutput schema / properties / voters / items / type
      Removed value: -"object"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, and idempotent behavior, but the description adds substantial mode-specific context: memberVote with lobby/teller flag, not_recorded never meaning abstention, separate teller/non-teller party totals, and collection/content cursor rules.

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 a dense single paragraph that front-loads its purpose and mostly avoids repetition. However, the mode-specific clauses are packed tightly together, and phrases like 'roster selectors for voters mode' are somewhat opaque.

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 a 12-parameter, four-mode tool with an output schema and annotations, the description covers mode selection, filter behavior, continuation cursors, and counting quirks. Since the output schema handles return values, nothing critical 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 100%, but the prose still adds meaning beyond the schema: House-compatible lobbies, exact source party labels, not_recorded semantics, memberId return behavior, and the requirement to repeat unchanged filters with cursors.

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?

Opens with a specific verb and resource ('Search official Commons or Lords division summaries') and enumerates the four modes, so the agent can immediately distinguish this from bills, Hansard, member, question, and statement tools.

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?

Explains that search uses query/date/member filters while detail, voters, and party_totals require a divisionId from the selected House, and it explains cursor continuation. It does not explicitly name sibling tools or state when not to use this tool, so it falls short of a full 5.

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.