Skip to main content
Glama

Search Ni Decisions

search_ni_decisions
Read-onlyIdempotent

Search Northern Ireland judicial decisions from judiciaryni.uk, judgments, sentencing remarks and directions from the NI Court of Appeal (nica), Crown Court (nicc), King's Bench Division (nikb), Family Division (nifam), Coroner's Court (nicoroner), Master's decisions (nimaster), the Valuation Tribunal (nivt) and others. court is matched against the court code embedded in each decision's own neutral citation/URL (case-insensitive, e.g. "nica"), not a server-side filter, so it is applied while paging the listing, combine it with year to narrow a rare court quickly. query does a full-text keyword search across the whole corpus (the site's own search box), independent of court/year. Returns each match's title, neutral citation, court, date, judge and a link to the decision's PDF (get_ni_decision has full metadata for one). Judgment TEXT is PDF-only, nothing here extracts it.

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": 2026,
      "court": "nica",
      "limit": 5
    },
    "name": "search_ni_decisions"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear the decision was delivered, e.g. 2026.
courtNoCourt code, e.g. "nica" (Court of Appeal), "nicc" (Crown Court), "nikb" (King's Bench), "nifam" (Family Division), "nicoroner" (Coroner's Court), "nimaster" (Master's decisions), "nivt" (Valuation Tribunal). Case-insensitive.
limitNoMax rows to return (1-25, default 10).
queryNoFree-text keyword search (site-wide full-text, not scoped to court/year).

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?

With annotations already covering readOnly/openWorld/idempotent, the description still adds substantive behavior: `court` is matched against the citation/URL code while paging the listing rather than being a server-side filter (a real cost/latency implication), returned fields are enumerated, and the key limitation that judgment text is PDF-only and not extracted is disclosed. That is exactly the context annotations cannot express.

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?

A single dense paragraph, front-loaded with the resource and court codes, with each clause carrying distinct information (filter mechanics, return shape, PDF limitation). It is long but nearly every sentence earns its place; only the court-code enumeration overlaps with the schema.

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?

No output schema exists, so the description carries the return-value burden and does so by naming title, citation, court, date, judge and PDF link. Combined with the filter-mechanics caveat and the PDF-text limitation, an agent has everything needed to call it correctly and interpret results.

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 baseline is 3, but the description adds meaning the schema does not: it explains the mechanism behind `court` (matched against the neutral citation/URL, case-insensitive, applied during paging) and clarifies that `query` searches the whole corpus independently of other filters. That materially changes how an agent would choose filter combinations.

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 Northern Ireland judicial decisions from judiciaryni.uk') and enumerates the exact court codes covered, so the agent knows the retrieval surface precisely. It also distinguishes itself from the sibling get_ni_decision by scoping that tool to 'full metadata for one' decision.

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?

Gives actionable routing guidance: combine `court` with `year` to narrow a rare court quickly, and notes `query` is independent of `court`/`year` so the agent knows the filters do not compose the way one might assume. It also points to get_ni_decision for single-decision metadata. It stops short of explicit when-not-to-use conditions, which keeps it off a 5.

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.