Skip to main content
Glama
Legal Knowledge MCP Server

Legal Knowledge MCP Server

by Angioz

legal_query_eudata

Find and retrieve European datasets from the EU Open Data Portal using natural language queries, with optional category and publisher filters.

Instructions

Query EU Open Data Portal for European datasets via SPARQL endpoint.

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": "legal_query_eudata"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return (default: 10)
queryYesNatural language query for EU datasets
categoryNoDataset category filter
publisherNoPublishing organization filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only the transport (SPARQL endpoint); it says nothing about authentication, rate limits, pagination, or whether the operation is read-only, and the SPARQL-vs-natural-language tension is left unresolved.

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 no filler or redundancy. It is efficient, though its brevity comes at the cost of the guidance captured in other dimensions.

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

Completeness2/5

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

For a four-parameter tool with no annotations and no output schema, the description is thin. It does not explain what a result record contains, how the query string is interpreted, or how filtering by category/publisher interacts with the query, leaving the agent to guess at invocation behavior.

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 all four parameters (query, limit, category, publisher) are already documented in the schema. The description adds no meaning beyond that baseline, and its SPARQL framing slightly conflicts with the schema's 'natural language query' wording rather than clarifying it.

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: query the EU Open Data Portal for European datasets, with the transport (SPARQL endpoint) named. It is distinguishable from the legal_search_* and jurisdiction-specific legal_query_* siblings by scope. Minor ambiguity: the description says 'via SPARQL endpoint' while the schema describes the query parameter as 'Natural language query', leaving the actual query language unclear.

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

Usage Guidelines2/5

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

No guidance on when to choose this tool over the many sibling data sources, and no exclusions or prerequisites. The agent must infer from the name alone that this covers EU-level open data rather than national legal sources.

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