Skip to main content
Glama

Ie Law Get

ie_law_get
Read-onlyIdempotent

Fetch one Irish Act by year and number (e.g. year 2018, number 7 for the Data Protection Act 2018). Returns title, citation, long title, date, the list of sections and schedules, and whether a consolidated Revised Act exists and how current it is. Pass section (e.g. "10", "10A" or "schedule 2") for that provision's text. Text is as enacted by the Oireachtas; later amendments are not applied, so in_force is true only where a Revised Act exists (the Act is then in force at least in part) and otherwise unknown (null).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": 2018,
      "number": 7,
      "section": "10"
    },
    "name": "ie_law_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesYear of the Act, e.g. 2018
numberYesAct number in that year, e.g. 7
sectionNoSection number, e.g. "10" or "10A", or "schedule 2"

Output Schema

NameRequiredDescriptionDefault
urlNo
noteNo
textNo
yearNo
foundNo
titleNo
numberNo
sourceNo
sectionNo
citationNo
in_forceNo
data_as_ofNo
long_titleNo
text_basisNo
enacted_dateNo
section_titleNo
revised_editionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the return payload (title, citation, long title, date, sections/schedules, Revised Act status) and, critically, the data-freshness caveat: text is as enacted, amendments are not applied, and in_force is true only where a Revised Act exists, otherwise null. That semantic caveat is exactly the context annotations cannot convey.

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?

Three tight sentences, front-loaded with the identity/identifier scheme, then returns, then the freshness caveat. No filler, and the most decision-relevant constraint (unapplied amendments) is stated plainly.

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?

Covers the lookup scheme, the optional section expansion, and the in_force/amendment semantics that an agent must not misread. With an output schema present, return-field enumeration is slightly redundant, and a pointer on how to resolve an unknown year/number is the only real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents each parameter with examples, so the baseline is 3. The description adds meaning by tying section to a concrete effect (returns that provision's text) and showing accepted forms like "10A" and "schedule 2" in context.

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 ("Fetch one Irish Act by year and number") and grounds it with a concrete example (2018/7 = Data Protection Act 2018). An agent immediately knows this is an exact-identifier lookup, distinct from a search-style sibling.

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?

Explains clearly when to supply the optional section parameter ("Pass section ... for that provision's text") and implies this is for retrieving a known Act. It stops short of explicitly routing the agent to ie_law_search to discover a year/number when unknown, so it is clear but not fully exclusive.

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.