Skip to main content
Glama

Irish Tax Hub

Get Tax Treaty Text

get_tax_treaty_text
Read-only

Get the full text of a specific tax-treaty document.

Use search_tax_treaties first to find the document. 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
filenameYesTreaty identifier — accepts a bare filename (e.g. 'usa-1997'), 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 cover the safety profile (readOnly, non-destructive, closed-world), so the description's added value is the failure-mode caveat 'Not all documents have extracted text available' plus the licensing/attribution requirement for citing results. These are genuine behavioral traits beyond the structured fields, though rate limits and truncation behavior are not addressed.

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?

The core action and the search-first prerequisite are front-loaded in the first two sentences, followed by the accepted input forms and the caveat. Every sentence carries distinct information with no padding.

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, return values need not be explained. The description still covers the workflow prerequisite, the accepted identifier forms, the possibility of missing extracted text, and citation attribution — everything needed to invoke and use the result correctly.

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% and the property description already enumerates bare filename, .pdf filename, full URL, and textUrl value. The description restates the same accepted forms without adding syntax or format detail, so it is baseline-adequate rather than additive.

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 tax-treaty document') and scopes it to a single named document. This clearly separates it from siblings like get_revenue_document_text and search_tax_treaties without needing to open any schema.

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?

Explicitly names the prerequisite and the alternative: 'Use search_tax_treaties first to find the document.' That routes the agent correctly. It stops short of a when-not-to-use this tool (e.g. when to prefer get_revenue_document_text instead), so it is clear but not fully exhaustive.

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