constituency_search
Find a UK parliamentary constituency by part of its name and get its id and current MP, from the UK Parliament Members API. This is the lookup step for the election result tools. It searches constituency names only; to go from a postcode to an MP use mp_lookup. (cost: 1 credit)
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": "constituency_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | string, required, part of the constituency name (2-100 chars), e.g. "Holborn" | |
| take | No | integer, optional, max results 1-20, default 10 |