Skip to main content
Glama

Agent Data Tools: Compliance and checks

EU law search: GDPR, AI Act, DSA, VAT and 180+ EU acts

law_search
Read-only

Search 185 EU acts article by article: Treaties, Charter, GDPR, AI Act, NIS2, DORA, MiFID II, employment, competition, procurement, company, IP, consumer and tax law, latest consolidated text in English (Swedish with lang=sv). Get act, article, heading, full text, EUR-Lex link and version; answer=true adds quote-checked sentences with pinpoint citations. Our own EU-stored index. Use for compliance questions and citing EU law. Not legal advice. Example: q=which AI practices are banned. Price $0.005/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "q": "<q>"
    },
    "name": "law_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesQuestion or keywords in any EU language; the articles are in English (at most 400 characters)
actNoOnly this act: short name (GDPR, AI Act, DSA, VAT Directive…), full name or CELEX number
kindNoarticle or recital (default both)
langNoLanguage of the legal text returned: en (default) or sv (the official Swedish text of the same provisions)
casesNotrue: each article also lists the Court of Justice judgments that discuss it most (case number, parties, ECLI, date, first paragraph citing it, link)
countNoResults (1-10, default 5)
answerNotrue: also a short AI-written answer in which every sentence quotes the provision it rests on, checked word for word, with a pinpoint citation (Article 6(1)(f)); sentences whose quote is not found are dropped. Not legal advice
swedishNotrue: also the Swedish statute sections that match the question (Swedish law, section by section) and the Swedish statutes implementing the directives found

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / cases
      Added value: +{
      +  "description": "true: each article also lists the Court of Justice judgments that discuss it most (case number, parties, ECLI, date, first paragraph citing it, link)",
      +  "type": [
      +    "string",
      +    "number",
      +    "boolean"
      +  ]
      +}
    • addedInput schema / properties / swedish
      Added value: +{
      +  "description": "true: also the Swedish statute sections that match the question (Swedish law, section by section) and the Swedish statutes implementing the directives found",
      +  "type": [
      +    "string",
      +    "number",
      +    "boolean"
      +  ]
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / answer / description
      Previous value: -"true: also a short answer written only from the articles found, with [n] citations (an AI reading, not legal advice)"New value: +"true: also a short AI-written answer in which every sentence quotes the provision it rests on, checked word for word, with a pinpoint citation (Article 6(1)(f)); sentences whose quote is not found are dropped. Not legal advice"
    • addedInput schema / properties / lang
      Added value: +{
      +  "description": "Language of the legal text returned: en (default) or sv (the official Swedish text of the same provisions)",
      +  "enum": [
      +    "en",
      +    "sv"
      +  ],
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / count / maximum
      Previous value: -9007199254740991New value: +10
    • changedInput schema / properties / count / minimum
      Previous value: --9007199254740991New value: +1
  4. Changed1 schema field changed
    • changedInput schema / properties / q / description
      Previous value: -"Question or keywords, in English (at most 400 characters)"New value: +"Question or keywords in any EU language; the articles are in English (at most 400 characters)"
  5. Changed1 schema field changed
    • addedInput schema / properties / answer
      Added value: +{
      +  "description": "true: also a short answer written only from the articles found, with [n] citations (an AI reading, not legal advice)",
      +  "type": [
      +    "string",
      +    "number",
      +    "boolean"
      +  ]
      +}
  6. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint=false, and the description adds genuinely useful context beyond them: per-call pricing ($0.005 via x402 USDC or card key), failed calls free, repeats not free (consistent with idempotentHint=false), and that the index is EU-stored. It does not cover rate limits or latency, which keeps it short of a 5, but the billing and repeat-cost disclosure is exactly the kind of trait an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability is front-loaded, but the first sentence is a long comma-separated catalogue of acts and practice areas, and 'Not legal advice' appears both in the body and inside the answer parameter description. Pricing and the 'changes nothing' clause are appended at the end, adding mild redundancy with the annotations.

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?

There is no output schema, and the description compensates by naming the returned fields (act, article, heading, full text, EUR-Lex link, version) and the extras added by answer=true and cases=true. For an 8-parameter, read-only search tool, an agent has everything needed to call it and interpret results.

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 the schema already explains q, act, kind, lang, cases, count, answer and swedish. The description only adds a usage example for q and restates lang=sv and answer=true, so it does not add substantial meaning beyond structured data — the baseline 3 applies.

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 — 'Search 185 EU acts article by article' — and enumerates the covered acts and subject areas, which lets an agent separate it from generic siblings such as search or ai_answer. It also names the returned fields, so the tool's output shape is clear from the purpose statement alone.

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

Usage Guidelines4/5

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

'Use for compliance questions and citing EU law' plus a concrete example (q=which AI practices are banned) gives a clear selection context. It does not, however, state when NOT to use it or name an alternative tool for general web/company queries, so the routing is implied rather than explicit.

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.

Resources