Skip to main content
Glama
UK Business Tools - Ledgerhall

UK Business Tools - Ledgerhall

Read HMRC Internal Manual Page

law_hmrc_get_manual_page
Read-onlyIdempotent

Retrieve a cited HMRC internal-manual page as bounded, source-order text with canonical URL and metadata, so you can cite or analyse only the returned official content.

Instructions

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.

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": "law_hmrc_get_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. Addedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world characteristics, so the description only needs to add beyond that — and it does: bounded source-order text, canonical URL and retrieval provenance in the response, plus the important failure-mode rule 'if retrieval fails, do not infer the page's contents.' It stops short of stating rate limits or what happens with an invalid reference.

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?

Four short lines, front-loaded with the trigger condition and followed by return shape and post-call obligations; nothing is padded. The closing 'Source: the allowlisted...' line is mildly redundant with the earlier statement of the same fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not enumerate return fields, yet it still summarises text, URL, reference, metadata and provenance. Combined with the failure-handling instruction, an agent has everything needed to call it and interpret results.

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%, with each parameter documenting its role (max_chars bounds, reference example, URL-vs-family/reference alternative), so the schema already carries the semantics. The description adds no parameter-level detail beyond what is there, making baseline 3 the correct score.

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?

Names a specific verb (read) and resource (HMRC internal-manual page), and the 'cited' qualifier implies page retrieval rather than discovery. It does not explicitly contrast itself with law_hmrc_search_guidance, which is the nearest sibling, so an agent must infer the search-vs-fetch split from the name.

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' supplies a clear triggering condition and, via 'cited', implicitly excludes exploratory search. No sibling is named as an alternative for the case where the reference is not yet known, so the routing guidance is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools