Skip to main content
Glama

Server Details

MCP server for UK Freedom of Information research. Connects AI assistants to WhatDoTheyKnow — the UK's largest FOI request platform — to search requests, read responses, look up public authorities, and draft new requests.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 12 tools

Disambiguation4/5

Most tools are clearly distinct, but get_user_feed_items and get_user_requests both surface user activity, and get_request_feed_items vs get_request_detail could be confused. Descriptions help differentiate them, but the overlap creates minor ambiguity.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (build_, create_, get_, list_, search_, update_). No mixing of conventions or vague verbs.

Tool Count5/5

12 tools are well-scoped for the domain, covering read, search, write, and feed operations without bloat. The prompts-related tools are ancillary but not excessive.

Completeness4/5

Core workflows are covered: authority lookup, request search/detail, user requests, creation, and state updates. Missing user detail or direct authority request list can be worked around with existing search and feed tools.

Available Tools

12 tools
build_request_urlA
Read-onlyIdempotent
Inspect

Build a prefilled WhatDoTheyKnow request URL.

Inputs: authority_slug (required), body, tags, title, +1 more. Returns: url, authority_slug

create_request_recordA
Destructive
Inspect

Create a request through the experimental write API.

Requires WDTK_API_KEY in the server environment.

Inputs: body (required), title (required), external_url (required), external_user_name (required). Returns: object

get_authority_detailA
Read-onlyIdempotent
Inspect

Return full public JSON for a WhatDoTheyKnow public authority.

The response includes contact/profile fields, tags, publication links, and request statistics such as successful, overdue, and classified request counts where WhatDoTheyKnow exposes them.

Authority slugs use underscores, not hyphens — e.g. 'home_office' not 'home-office'. Use search_authorities to find the correct slug.

Inputs: authority_slug (required). Returns: object

get_promptAInspect

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.

Inputs: name (required), arguments. Returns: result

get_request_detailA
Read-onlyIdempotent
Inspect

Return full public JSON for a WhatDoTheyKnow FOI request.

The response includes request metadata, public body details, requester details, state/status fields, and the visible info_request_events array containing correspondence text and attachment metadata where WhatDoTheyKnow exposes it.

Inputs: request_slug (required). Returns: object

get_request_feed_itemsA
Read-onlyIdempotent
Inspect

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 link field contains the request URL; use the slug from that URL with get_request_detail for full detail.

Inputs: request_slug (required), limit. Returns: result

get_user_feed_itemsA
Read-onlyIdempotent
Inspect

Return parsed Atom feed entries for a user's WhatDoTheyKnow activity.

Unlike the raw wdtk://users/{slug}/feed resource, this returns structured entries with the Atom content converted to readable text in content and mirrored to summary for clients that only display summary fields.

Inputs: user_slug (required), limit. Returns: result

get_user_requestsA
Read-onlyIdempotent
Inspect

List a user's visible WhatDoTheyKnow requests from their public requests page.

Returns request title, slug, URL, current displayed status, authority, updated timestamp, event text, and the page snippet. status_filter is a case-insensitive substring match against the displayed status.

Inputs: user_slug (required), limit, status_filter. Returns: result

list_promptsAInspect

List all available prompts.

Returns JSON with prompt metadata including name, description, and optional arguments.

Inputs: no named parameters. Returns: result

search_authoritiesA
Read-onlyIdempotent
Inspect

Search WhatDoTheyKnow public authorities by name.

Returns up to limit authorities whose name or short_name contains query (case-insensitive). Use the slug field with authority_json or build_request_url as the next step.

Example: search_authorities("Liverpool") → slug "liverpool_city_council" Then: authority_json with that slug, or build_request_url with it.

Inputs: query (required), limit. Returns: result

search_request_eventsA
Read-onlyIdempotent
Inspect

Search WhatDoTheyKnow's feed-based event index and return structured results.

Call this to find FOI requests matching a query expression. Returns up to limit AtomEntry objects. Use the link field of each result as the next navigation step — extract the request slug and call get_request_detail or get_request_feed_items for full detail.

Example expressions: status:successful body:"Liverpool City Council" (variety:sent OR variety:response) status:successful

Inputs: search_expression (required), limit. Returns: result

update_request_stateA
Destructive
Inspect

Update the user-assessed state of a request through the experimental write API.

Requires WDTK_API_KEY in the server environment.

Inputs: state (required), request_id (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Servers

    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources