What Do They Know
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WDTK_API_KEY | No | Enables create_request_record and update_request_state write tools |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| build_request_urlC | Build a prefilled WhatDoTheyKnow request URL. |
| get_request_feed_itemsA | Return parsed Atom feed entries for a specific FOI request as structured objects. Use this instead of reading the raw wdtk://requests/{slug}/feed resource when you
want structured AtomEntry objects rather than raw XML. Each entry's |
| search_request_eventsA | Search WhatDoTheyKnow's feed-based event index and return structured results. Call this to find FOI requests matching a query expression. Returns up to Example expressions: status:successful body:"Liverpool City Council" (variety:sent OR variety:response) status:successful |
| search_authoritiesA | Search WhatDoTheyKnow public authorities by name. Returns up to Example: search_authorities("Liverpool") → slug "liverpool_city_council" Then: authority_json with that slug, or build_request_url with it. |
| create_request_recordB | Create a request through the experimental write API. Requires WDTK_API_KEY in the server environment. |
| update_request_stateB | Update the user-assessed state of a request through the experimental write API. Requires WDTK_API_KEY in the server environment. |
| list_promptsB | List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments. |
| get_promptA | Get a prompt by name with optional arguments. Returns the rendered prompt as JSON with a messages array. Arguments should be provided as a dict mapping argument names to values. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| draft_foi_request | Draft a narrow, specific FOI request suitable for WhatDoTheyKnow. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| all_authorities_csv | Download the complete CSV of every WhatDoTheyKnow public authority. WARNING: this is a large payload — use search_authorities(query) for targeted lookups, or authority_json for a specific body. Only call this when you need the full dataset (e.g. bulk analysis or seeding a list). |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/whatdotheyknow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server