Skip to main content
Glama

search_by_celex

Read-onlyIdempotent

Find an EU legal act or CJEU judgment by its unique CELEX number and retrieve the title in your chosen language, ECLI for case law, and EUR-Lex URL.

Instructions

Znajdz akt prawny UE lub orzeczenie CJEU po numerze CELEX. Numer CELEX jest unikalny i identyfikuje dokument niezaleznie od jezyka. Przyklady: 32016R0679 (RODO), 31995L0046 (uchylona dyrektywa o ochronie danych), 62018CJ0311 (wyrok Schrems II). Zwraca tytul w wybranym jezyku, ECLI (dla case-law) i EUR-Lex URL.

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": {
      "celex": "<celex>"
    },
    "name": "search_by_celex"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoISO 639-3 jezyka tytulu (POL/ENG/FRA/DEU). Domyslnie POL.
celexYesNumer CELEX, np. '32016R0679' (RODO).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's added value is the return contract: a title in the chosen language, ECLI for case-law, and an EUR-Lex URL. The note that CELEX is unique also tells the agent to expect a single deterministic result, which is meaningful behavioral context beyond the 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?

Four tight sentences, front-loaded with purpose, then the key property of the identifier, then examples, then the return payload. Every sentence carries information an agent would use; nothing is redundant.

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 no output schema, the description correctly compensates by describing what comes back (title, ECLI, EUR-Lex URL). For a simple two-parameter lookup this is close to complete; minor gaps remain about not-found behavior or format validation for the CELEX string.

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 real meaning: 'celex' is a unique language-independent document identifier, and 'lang' controls the language of the returned title. The examples also demonstrate accepted CELEX shapes for regulations, directives, and case-law.

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 and resource ('Znajdz akt prawny UE lub orzeczenie CJEU po numerze CELEX') and covers both document families (legislation and case-law), which effectively separates it from search_cjeu_by_ecli (ECLI-based lookup). It doesn't explicitly name a sibling it is not, so it stops short of a 5.

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 rather than stated: use this when you already have a CELEX number, which the text reinforces with three concrete examples (GDPR, repealed directive, Schrems II) and the note that CELEX is language-independent. There is no explicit when-not guidance or routing to search_cjeu_by_ecli for ECLI lookups.

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