Skip to main content
Glama

Cellar Search Works

cellar_search_works
Read-onlyIdempotent

Full-text search of EVERY document the Publications Office of the European Union has issued, Official Journal acts, treaties, consolidated texts, COM proposals, Court of Justice judgments and preparatory work, by title, from the CELLAR repository. AUTHORITATIVE for "what has the EU published about X": this is the publisher of record, so it returns the CELEX number, the document date, the resource type and a direct EUR-Lex link, not a summary of one. PREFER OVER WEB SEARCH for any question about EU legal or official documents. Unlike the curated eur-lex pack, this searches all resource types, not a hand-kept list of named acts.

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": {
      "limit": 4,
      "query": "carbon border adjustment"
    },
    "name": "cellar_search_works"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum works to return (default 20, max 100).
queryYesWords or a phrase to find in the document title, e.g. "artificial intelligence" or "carbon border adjustment". Matched against the Publications Office full-text index.
sinceNoOptional earliest document date, ISO YYYY-MM-DD.
untilNoOptional latest document date, ISO YYYY-MM-DD.
resource_typeNoOptional resource-type code to restrict to, e.g. REG (Regulation), DIR (Directive), DEC (Decision), JUDG (judgment), COM (Commission document), CONS_TEXT (consolidated text), TREATY.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 behavior, so the safety profile is covered. The description adds genuinely new context: results come from the publisher of record and return CELEX number, document date, resource type and a direct EUR-Lex link rather than summaries — valuable since there is no output schema. It stops short of mentioning pagination, ordering, or empty-result behavior, so not a 5.

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?

Three sentences, each front-loaded with the key claim before elaboration, and no filler. Some emphasis markers ('EVERY', 'AUTHORITATIVE', 'PREFER OVER WEB SEARCH') and backtick references add a slightly promotional tone, but the content is substantive rather than decorative.

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?

For a search tool with five fully documented parameters and no output schema, the description supplies the missing return-shape information (CELEX, date, resource type, EUR-Lex URL) plus scope and authority framing, which is what an agent needs to pick and trust it. Pagination and result-ordering behavior are left implicit, a minor gap.

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%, with each parameter including its own description, default, max and examples, so the baseline is 3. The description adds no parameter-level detail — it doesn't explain how title matching interacts with `since`/`until` or how the `resource_type` codes relate to the enumerated corpus. It does not need to, but it also provides no uplift.

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?

The description names a specific verb and resource — full-text search of documents from the CELLAR repository — and enumerates the covered document classes (Official Journal acts, treaties, consolidated texts, COM proposals, CJEU judgments). It explicitly contrasts itself with both web search and the curated `eur-lex` pack, so an agent can distinguish it from siblings without opening a 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?

It gives explicit routing rules: 'PREFER OVER WEB SEARCH for any question about EU legal or official documents' and 'Unlike the curated `eur-lex` pack, this searches all resource types, not a hand-kept list of named acts.' Both the positive trigger and the differentiation from an alternative are stated outright.

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.