Skip to main content
Glama
jurisatlas-mcp

jurisatlas-mcp

Official
by jurisatlas

Search Legislation

search_legislation
Read-onlyIdempotent

Search official national statutes and regulations for a jurisdiction by keyword, title, section, or citation, with year filters and transparent source-tier warnings.

Instructions

Search official national legislation (statutes, acts, codes, regulations, official gazettes) for a given jurisdiction (e.g. 'uk', 'us', 'ch', 'de', 'eu', 'at', 'pl', 'se', 'no', 'ee', 'ie', or country name). Every result includes source_tier ('official_registry_api' or 'web_search_fallback') and transparent portal warnings.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jurisdiction": "<jurisdiction>",
      "query": "<query>"
    },
    "name": "search_legislation"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional enactment year filter.
limitNoMaximum number of legislative records to return (1-50).
queryYesKeywords, statute title, section, or citation number to search.
jurisdictionYesTarget jurisdiction ISO code or country name (e.g. 'uk', 'ch', 'eu', 'de', 'us', 'Switzerland').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: results carry a `source_tier` of 'official_registry_api' or 'web_search_fallback', and portal `warnings` are surfaced. That fallback disclosure tells the agent results may be of variable provenance, which is meaningful information it could not get from annotations.

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?

Two sentences with no waste. The resource scope is front-loaded, followed by the result-transparency clause. Every clause carries information an agent needs.

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?

With an output schema present, the description needn't explain return shapes, and annotations carry the safety profile. It covers scope, jurisdiction input, and result provenance adequately. Minor gap: it does not clarify how `year` interacts with the query or what specific conditions trigger portal warnings.

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%, so the baseline is 3. The description expands the jurisdiction list beyond the schema's examples (adding 'at', 'pl', 'se', 'no', 'ee', 'ie'), which is mildly useful for an agent guessing at codes, but it adds nothing about the `year` or `limit` parameters that the schema does not already state.

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

Purpose4/5

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

States a specific verb (search) and resource (official national legislation) and enumerates the covered document types: statutes, acts, codes, regulations, official gazettes. The jurisdiction scoping is made concrete. It stops short of explicitly differentiating from siblings such as search_case_law or search_tiered_court_decisions, leaving the agent to infer the legislation-vs-case-law boundary.

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

Usage Guidelines3/5

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

Usage is implied by the resource name: use this when looking for statutes or regulations. There is no explicit when-not guidance and no named alternative for case law or citation verification, so the routing decision is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.