Skip to main content
Glama

Irish Tax Hub

Get Revenue Document Text

get_revenue_document_text
Read-only

Get the full text of a specific Revenue Tax & Duty Manual document.

Use search_revenue_documents first to find the document. You can pass the url from the search result directly — URLs, paths, and bare filenames are all accepted. Not all documents have extracted text available.

Content is reused from public sector sources, normally revenue.ie under Revenue's PSI Licence (CC BY 4.0); reproduce the result's own attribution where present, otherwise attribution.source.statement, when citing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesDocument identifier — accepts a bare filename (e.g. '19-07-03'), a filename with .pdf, the full Revenue PDF URL, or the 'textUrl' value from a search result.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
textNo
titleNo
statusYes
messageNo
filenameNo
attributionYesSource attribution and a link back to Irish Tax Hub.
displayNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish a safe, non-destructive, closed-domain read. The description adds genuinely new behavioral context: 'Not all documents have extracted text available' (a partial-failure caveat an agent must anticipate) and the attribution/licence obligation when reusing content. It stops short of saying whether absent text yields an error or an empty result.

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?

Front-loaded with purpose, then the workflow, then the caveat, then licensing. Slightly padded by the licensing paragraph and stray double-backtick artifacts (``url``), but each section carries actionable information for a retrieval tool whose output must be cited.

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?

An output schema exists, so return-value shape needn't be restated. The description covers the key gaps an agent needs — the search-first workflow, accepted input forms, possible missing text, and attribution requirements. Only the failure mode when text is unavailable is left unstated.

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 coverage is 100% and the property description already enumerates the accepted input forms, so the schema does the heavy lifting. The description's mention that URLs, paths and bare filenames are accepted and that the search result's url can be passed directly reinforces the linkage to the search tool, but adds little beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get the full text of a specific Revenue Tax & Duty Manual document'), and distinguishes itself from the sibling search tool that only finds documents. An agent can tell exactly what this returns without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes the workflow: 'Use search_revenue_documents first to find the document' and explains that the search result's url can be passed straight through. This is a clear prerequisite plus the alternative to use upstream, leaving nothing 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