Skip to main content
Glama

fedlex.detect_foreign_content

Read-only

Detect what the text tools hide in a Fassung: sections in another language (xml:lang) and islands (formulas, graphics): use before quoting. norm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoManifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read.
eli_versionYesDated consolidation: `<abstract-eli>/<YYYYMMDD>`.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark the tool readOnlyHint=true, and the description adds the behavioral nuance that this is a pre-flight check for content that text tools hide. It discloses the detection categories rather than just repeating the read-only signal.

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?

The description is compact and front-loaded with the action and target, and every clause adds information. The trailing 'norm.' is cryptic and unexplained, which prevents a perfect conciseness score.

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

Completeness3/5

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

For a read-only detection tool with a documented schema, the description gives enough context to invoke it, but with no output schema it does not describe the shape of the detection result. The unexplained 'norm.' also leaves a small gap in what the agent should do with the output.

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%: both lang and eli_version are already documented, including the eli_version format. The description adds no new parameter-level semantics beyond the general notion of xml:lang, so 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?

The description names a specific verb ('Detect'), a specific resource ('Fassung'), and concrete artifacts it surfaces ('sections in another language (xml:lang)' and '<foreign> islands'). This makes the tool's niche clear and distinguishes it from the read_document/read_article text tools without needing to inspect schemas.

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 before quoting' is an explicit, actionable trigger telling an agent when to call this tool. It does not name alternatives or state when not to use it, but the context is clear enough for selection among the fedlex siblings.

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.

TDQS

A3.5/5.0
Disambiguation4/5

The tools are strongly namespaced and most have a clear 'use for' hint, so an agent can usually select correctly. A few near-neighbour pairs, such as fedlex.get_citations vs fedlex.get_references and facts.badge vs facts.latest, require careful reading but are still distinguishable.

Naming Consistency4/5

The <domain>.<snake_case_action> style is consistent and the fedlex/lindas families are predictable. However, several noun-style names such as meta.tools, lindas.observations, and facts.badge deviate from the verb_noun pattern, and the variety of get_/read_/list_/find_ verbs adds minor noise.

Tool Count2/5

With 52 tools, this is a very large MCP surface for one server; while each tool appears individually purposeful, the combined set is heavy for an agent to explore and select from. The gateway would be more manageable split into separate legal, data, and meta servers.

Completeness5/5

The Fedlex cluster covers the full legal-research workflow: search, version resolution, reading, comparison, citation checking, history tracing, consultations, and official publications. The LINDAS cluster covers cube discovery, schema inspection, filtering, and label resolution, and the directory/meta tools complete the capability-discovery loop. There are no obvious dead ends or critical missing operations.

Resources