Skip to main content
Glama

Bosco Labs: official records for AI agents

EUR-Lex Scraper API: EU law article text, in force, amendments

get_eu_law
Read-onlyIdempotent

One call answers "what does Article 50 of the AI Act say today, is it in force, and what amended it?": the article as plain text from the current consolidated version (or the one in force on any date), the act's in-force status and dates, and the acts that amend, correct or repeal it. A second mode lists new acts in the Official Journal L series.

Pass query (GDPR, AI Act, a citation, CELEX or ELI), or ojSince alone to list new Official Journal acts. For UK or Dutch statutes use get_uk_dutch_law.

Inputs: with article (e.g. "6(1)", up to 10) one row per article; without it one row for the whole act with its table of contents. include adds amendments, citing acts or the full text; asOf gives the version in force on a date; language is one of the 24 EU languages (English when a text is missing).

Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.

Price: $0.005 per act-lookup.

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

Input Schema

NameRequiredDescriptionDefault
asOfNoYYYY-MM-DD, e.g. "2025-01-01": return the consolidated version that applied on that date
queryNoThe EU act to look up: a short name ("GDPR", "AI Act", "DSA", "NIS2", "DORA", "MiCA", "CSRD"...), a citation ("Regulation
articleNoArticle number, optionally with a paragraph: "5", "6(1)", "4a"; several separated by commas ("5, 6(1)", up to 10)
includeNoAny of "metadata" (always on), "amendments" (amended_by, corrected_by, repealed_by, amends, repeals), "citing" (acts and judgments that cite this act, newest first) and "text"
ojSinceNoSwitches to Official Journal mode: list acts published in the OJ L series from this date (YYYY-MM-DD, e.g. "2026-11-03") until today, newest first, at most 31 days back
keywordsNoOJ mode only: comma-separated words or phrases; an act is kept when its title (in the chosen language) contains any of them, case-insensitive, e.g. "artificial intelligence, data"
languageNoEU language code of the text and titles: BG, CS, DA, DE, EL, EN, ES, ET, FI, FR, GA, HR, HU, IT, LT, LV, MT, NL, PL, PT, RO, SK, SL, SVEN
maxCitingNoWith include "citing": how many citing acts to list, newest first, e.g. 20 (default)
maxResultsNoOJ mode only: the most acts to return, newest first, e.g. 50 (default)
maxTextCharsNoCap on article_text and text, in characters, e.g. 30000 (default)

Output Schema

NameRequiredDescriptionDefault
rowsYes
toolNo
countYes
messageNo
warningsNo
balance_usdNo
charged_usdNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior4/5

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

Well beyond the annotations, it discloses pricing per row, that failed or timed-out calls (55 s) are free, rate limits (60/min, 10 on a new key, refusal with rate_limited and a ~10 s retry), and graceful partial failure where other sources still return and `warnings` names the gap. These are the operational facts an agent needs; only the exact `act-lookup` unit definition behind the per-row price is left implicit.

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?

Front-loads the value proposition and mode switch, then moves through inputs, behavior, cost, and failure handling in short labeled chunks. The quoted example question and the 'Inputs:' paragraph both carry routing information, so no sentence 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?

An output schema exists, so return shapes need not be explained, and the description correctly spends its budget on the things the schema cannot cover: mode selection, partial-failure behavior, rate limiting, latency ceiling, and billing. Nothing needed to invoke a 10-parameter, dual-mode tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds semantics the schema cannot: that `article` switches the response to one row per article versus one row for the act plus its table of contents, that `include` layers amendments/citing/text on top of always-on metadata, that `asOf` selects a historical consolidated version, and that `keywords`/`maxResults` apply only in OJ mode with `language` falling back to English when a text is missing.

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?

Opens with a concrete verb-and-resource framing tied to a real question ("what does Article 50 of the AI Act say today, is it in force, and what amended it?") and enumerates the three payloads returned: article text from the consolidated version, in-force status with dates, and amending/correcting/repealing acts. It also carves out a distinct second mode (OJ L series listing) and names the sibling to avoid for UK/Dutch statutes.

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?

Routing is explicit: pass `query` for an act, or `ojSince` alone to list new Official Journal acts, and use get_uk_dutch_law for UK or Dutch statutes. It also states the branch between article-mode (one row per article) and whole-act mode, which is exactly the decision an agent must make before calling.

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.