Skip to main content
Glama

Ie Law Search

ie_law_search
Read-onlyIdempotent

Search Irish Acts of the Oireachtas by words in the title, e.g. "data protection" or "companies". Reads the Statute Book year by year, so it covers a range of years: by default the last 25 years; set from_year (as early as 1922) and to_year to widen or narrow, e.g. from_year 1988 to_year 1988 for the Data Protection Act 1988. Returns Act number, year, title and a link; matches are newest first. Acts only (not statutory instruments). Pair with ie_law_get for contents and section text.

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": {
      "query": "data protection",
      "to_year": 2018,
      "from_year": 1988
    },
    "name": "ie_law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesWord(s) from the Act title, e.g. "data protection"
to_yearNoLast year to search (default: the current year)
from_yearNoFirst year to search (default: 24 years before to_year; earliest 1922)

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
sourceNo
resultsNo
to_yearNo
from_yearNo
data_as_ofNo
years_searchedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/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 real value beyond that: the sequential "year by year" scan model, the default 25-year window, the 1922 earliest bound, and the "newest first" ordering of matches. It stops short of saying anything about result caps or pagination behaviour, which matters for a search that can span a century of Acts.

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 scope, then parameter behaviour, then the sibling pairing — a sensible order with no filler. Slight redundancy: the sample query ("data protection") and the year-range defaults are repeated from the schema, costing a little density.

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?

Returns are described briefly (Act number, year, title, link) and an output schema exists, so no more is required there. Combined with explicit scope limits, default behaviour, ordering and the hand-off to ie_law_get, an agent has everything needed to call this correctly on the first attempt.

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%, so the defaults and bounds are already documented in the schema itself. The description reinforces them in prose and supplies a worked single-year example ("from_year 1988 to_year 1988 for the Data Protection Act 1988") that conveys the intent of the range, though it does not add syntax or semantics the schema lacks.

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 ("Search Irish Acts of the Oireachtas by words in the title") and immediately scopes it: "Acts only (not statutory instruments)". This lets an agent distinguish it from ie_law_get (which fetches contents/section text) without opening either 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?

Explicit guidance on when and how to use it: default window of the last 25 years, widening/narrowing via from_year and to_year with a concrete single-year example, the 1922 floor, and the explicit routing sentence "Pair with ie_law_get for contents and section text". It also states the exclusion (no statutory instruments).

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.