Skip to main content
Glama

UK Source Intelligence

inspect_govuk_page

Read-only

Retrieve the current supported GOV.UK Content API source title, update timestamps and SHA-256 content fingerprint; optionally test whether quoted wording is present. Not a factual or legal correctness checker. Requires trial or paid key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull canonical https://www.gov.uk/ URL for a supported Content API page.
quoteNoOptional exact quote to check for presence, maximum 400 characters.
api_keyNoOptional UKSI API key (usi_...). Prefer supplying Authorization: Bearer KEY in MCP connection settings rather than exposing paid keys in tool calls.
previous_fingerprintNoOptional previously observed SHA-256 fingerprint to compare.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true already declaring the safety profile, the description still adds meaningful context: the auth prerequisite (trial/paid key), the scope boundary that it is not a correctness checker, and the fingerprint-comparison behavior behind previous_fingerprint. It does not cover rate limits or output characteristics, but for a read-only inspection tool this is above the bar.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence listing exactly what is returned, followed by a short boundary clause and the auth prerequisite. Every clause earns its place; there is no padding or restatement of the title.

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?

There is no output schema, yet the description enumerates the return payload (title, timestamps, SHA-256 fingerprint, quote-presence result) and states the input constraint (supported Content API pages) and auth requirement. It stops short of describing the response shape for the optional quote test or any failure modes, which is the only notable gap for a 4-parameter call.

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%, so the baseline is 3 and the schema already carries parameter meaning (including the 400-char quote limit and the api_key/Bearer guidance). The description adds only light framing around the quote check and the fingerprint, and does not clarify how previous_fingerprint is compared or what a mismatch means.

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 (Retrieve) and a concrete resource set: the GOV.UK Content API source title, update timestamps, and SHA-256 fingerprint of the current page. The word 'current' implicitly separates it from the history-oriented siblings (page_history, page_changes), but no sibling is named explicitly, so differentiation is inferential rather than stated.

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?

Gives a clear usage condition ('optionally test whether quoted wording is present') and a real exclusion ('Not a factual or legal correctness checker'), plus the prerequisite that a trial or paid key is required. It never names the alternative tools (watch_govuk_page, page_history) that an agent would choose between, so routing is left partly to inference.

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.

Resources