Skip to main content
Glama

lookup_article

Read-onlyIdempotent

Look up a reference to Regulation (EU) 2024/1689 (e.g. "Art. 53(1)(d)", "Annex III", "Recital 60") and return related events plus the EUR-Lex URL. Matches whole references: "Art. 5" finds Art. 5 and Art. 5(1)(b), never Art. 50. References the Regulation does not have (Art. 1 to 113, Annex I to XIII, Recital 1 to 180) return known: false and no EUR-Lex link.

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": {
      "article": "<article>"
    },
    "name": "lookup_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
articleYesArticle identifier, e.g. "Art. 53", "Art. 53(1)(d)", "Annex III", "Recital 60".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / article / minLength
      Added value: +1
  2. Changed1 schema field changed
    • changedInput schema / properties / article / description
      Previous value: -"Article identifier — e.g. \"Art. 53\", \"Art. 53(1)(d)\", \"Annex III\", \"Recital 60\"."New value: +"Article identifier, e.g. \"Art. 53\", \"Art. 53(1)(d)\", \"Annex III\", \"Recital 60\"."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, yet the description adds materially: it discloses the return payload (related events plus EUR-Lex URL) and the matching rule ("Art. 5" matches Art. 5 and Art. 5(1)(b) but never Art. 50) plus the failure shape (known: false, no link). These are behavioral traits no structured field conveys.

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?

Three sentences, front-loaded with purpose, then matching semantics, then the invalid-input contract. The valid-range parenthetical is dense but functional; no sentence is padding.

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?

With only one parameter and no output schema, the description carries the return-value burden and does so adequately (related events, EUR-Lex URL, known flag). It stops short of saying what 'related events' contain or how many are returned, but nothing essential for correct invocation is missing.

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?

Schema coverage is 100% and already lists example identifiers, so the baseline is 3; the description earns an extra point by explaining the prefix-matching semantics that determine how a given 'article' string resolves, which is meaning the schema alone does not supply.

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 (look up) and a precisely scoped resource (a reference to Regulation (EU) 2024/1689), with concrete input shapes like "Art. 53(1)(d)", "Annex III", "Recital 60". This is clearly a citation-resolution tool, distinguishable from obligation, update-query, and change-summary siblings.

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?

The description establishes when the tool applies (resolving a specific article/annex/recital reference) and gives examples of valid inputs, plus what happens for out-of-range references. It does not explicitly compare against a sibling tool that might also surface related events, but the context is unambiguous.

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.