Skip to main content
Glama

Read HMRC Internal Manual Page

hmrc_get_manual_page
Read-onlyIdempotent

USE THIS TOOL WHEN a cited HMRC internal-manual page must be read.

Returns bounded source-order text, canonical URL, manual reference, source metadata, and retrieval provenance. AFTER calling, cite or analyse only returned text; if retrieval fails, do not infer the page's contents. Source: the allowlisted official GOV.UK HMRC internal-manual page.

Input Schema

NameRequiredDescriptionDefault
max_charsNoMaximum main-text characters to return (500–20000). Truncation is explicitly reported.
referenceNoManual page reference, e.g. 'EIM00500'. Required with manual_family when manual_url is omitted.
manual_urlNoCanonical HTTPS GOV.UK HMRC internal-manual page URL. Provide this OR manual_family plus reference.
manual_familyNoGOV.UK manual-family slug, e.g. 'employment-income-manual'. Required with reference when manual_url is omitted.

Output Schema

NameRequiredDescriptionDefault
titleYesPage heading supplied by GOV.UK
contentYesSource-order main page text, bounded by max_chars; never an LLM summary
updatedNoSource page update date where GOV.UK supplied one
referenceYesManual page reference from the canonical GOV.UK path, e.g. eim00500
breadcrumbsNoSource-supplied GOV.UK breadcrumb labels, in display order
retrieved_atYesUTC timestamp when this official GOV.UK page was retrieved
canonical_urlYesFinal allowlisted GOV.UK URL retrieved for this manual page
manual_familyYesGOV.UK manual-family slug, e.g. employment-income-manual
original_lengthYesMain-text character length before any truncation
content_truncatedYesTrue when content was cut to max_chars

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds value beyond them: bounded source-order output, reported truncation, returned provenance/metadata, and an explicit failure-handling rule against inferring content. Return-format detail is partially redundant with the existing output schema.

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 trigger condition is front-loaded in the first sentence and the total length is short. The source-attribution line is slightly redundant with the title, but it earns its place as an allowlist/trust signal for an open-world fetch.

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?

With a full output schema and complete annotations, the description supplies the remaining essentials: read-only fetch semantics, truncation behavior, provenance return, and the do-not-infer-on-failure rule. The only gap is not telling the agent where to obtain a reference or family slug when it has none.

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 all four parameters (including the manual_url OR family+reference alternative and the 500–20000 max_chars bound) are already documented in the schema. The description mentions 'bounded' text and truncation reporting but adds no syntax or selection guidance beyond the schema, so baseline 3 applies.

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?

The description states a specific verb (read) and a specific resource (a cited HMRC internal-manual page), and the 'cited ... must be read' framing implicitly separates it from the search tools in the sibling list. It does not, however, name a sibling such as hmrc_search_guidance or legislation_get_section to make the boundary explicit.

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?

'USE THIS TOOL WHEN a cited HMRC internal-manual page must be read' gives a clear triggering condition, and 'if retrieval fails, do not infer the page's contents' supplies a useful negative rule. Missing is the prerequisite path: when the agent only has a topic, it should search for a reference first, and no alternative is named.

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.