Skip to main content
Glama

Kildeverk

Search EU legislation (EUR-Lex)

eu_legislation_search
Read-onlyIdempotent

EU regulations, directives and decisions by words in their English title, from EUR-Lex: CELEX number, adoption date, whether in force, entry into force, and whether marked as relevant for the EEA (and so for Norway). Slow: 10-30 seconds.

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": {
      "query": "<query>"
    },
    "name": "eu_legislation_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoany
limitNo
queryYesWords that must all be in the English title, e.g. 'batteries' or 'artificial intelligence'.
sinceNoOnly acts adopted from this date.2010-01-01
in_force_onlyNo
include_corrigendaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely new behavioral context: a 10-30 second latency warning and the set of facts returned (CELEX, adoption date, in-force status, EEA relevance). It does not explain pagination or what happens when nothing matches.

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 front-loaded sentence with a tight colon-delimited field list; almost no waste. The returned-field enumeration is slightly long, but it substitutes for the absent output schema and the latency warning is placed at the end where it reads as a caveat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Listing returned fields compensates for the missing output schema and the latency note is valuable. However, for a six-parameter tool it leaves the default 2010 adoption cutoff, the 50-result cap, and corrigenda handling unstated, so an agent could silently miss pre-2010 acts.

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 coverage is only 33%, so six parameters need description help. The description does cover query semantics (all words must appear in the English title), the kind filter via 'regulations, directives and decisions', and hints at adoption date and in-force filtering, but omits 'limit', 'include_corrigenda', and the consequential 'since' default of 2010-01-01.

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?

Names a specific resource ('EU regulations, directives and decisions'), the matching mechanism ('words in their English title'), and the source ('EUR-Lex'). It does not distinguish itself from the sibling laws_search, so an agent must still guess which legal-search tool applies.

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 only implied: the reader infers that this is the title-word search over EUR-Lex acts. There is no statement of when to prefer it over laws_search or catalog_search, and no prerequisites, though 'Slow: 10-30 seconds' implicitly warns against casual repeated calls.

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.