Skip to main content
Glama

eurlex_guide

Read-onlyIdempotent

Read the EUR-Lex research guide before writing SPARQL queries: learn how CELEX numbers are built, CDM prefixes and properties, search strategy, language codes, and known limitations.

Instructions

Returns the EUR-Lex research guide as Markdown: how CELEX numbers are built (legislation and case law), resource types, the CDM ontology cheat sheet (prefixes and properties) needed to write eurlex_sparql queries, the search strategy, language codes, and known limitations. Call it before writing a SPARQL query. Takes no input and makes no network call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "eurlex_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
guideYesThe research guide as Markdown: CELEX numbering, CDM cheat sheet, search strategy, languages, limitations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.8

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior. The description adds the operationally relevant fact that it takes no input and makes no network call, so an agent knows it is a safe, instant, offline read. It stops short of describing output size or format beyond 'Markdown,' but the output schema covers return structure.

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?

Two sentences, front-loaded with the return type and followed by a dense but useful content inventory and the call-ordering rule. The enumerated list is long yet every item tells the agent what reference material it will obtain; nothing is filler.

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?

For a parameterless reference tool with annotations covering safety and an output schema covering return shape, the description supplies everything needed: what it returns, what it contains, when to call it, and that it has no side effects.

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?

The tool has zero parameters, so there is no per-parameter meaning to convey. The description correctly states 'Takes no input,' confirming the empty schema and sparing the agent a wasted attempt to supply arguments.

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 ('Returns the EUR-Lex research guide as Markdown') and enumerates the concrete content: CELEX construction rules, resource types, CDM ontology prefixes/properties, search strategy, language codes, limitations. This clearly separates it from eurlex_sparql, whose prerequisites it supplies.

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?

Gives an explicit precondition: 'Call it before writing a SPARQL query,' which routes the agent to this tool ahead of the query-building sibling. Though it states no exclusion case, for a static reference tool the only meaningful guidance is this ordering instruction, and it is unambiguous.

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