Skip to main content
Glama

Search (deep research interface)

search
Read-only

LANGUAGE CONTRACT — READ BEFORE CALLING. Corpus is English. Call this tool ONLY with an English query in the legal register of the act (the wording of the Official Journal), not a tourist translation. Keep act identifiers and rewrite article/annex numbers into English (Article 9, Annex I; 第9条 / Artikel 9 / articolo 9 → Article 9). After you receive passages, answer the user in the user's language; quote the law in English with (file, page, article). If the user spoke another language, YOU translate before this call. Do not send non-English text in query.

Deep-research listing interface over the same corpus as search_eu_textile_regulations (ESPR, DPP, CSRD, CBAM, EU ETS, CWA 18291, JRC studies).

Use this when you need a browsable result list rather than an answer: returns {results: [{id, title, text, url}]}. Pass a result id to the fetch tool to read the full document page. For a direct regulatory answer use search_eu_textile_regulations instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesENGLISH ONLY, in the legal register of the act. A non-English `query` violates this tool's contract and its passages must be discarded, not answered from. Act identifiers stay verbatim ("ESPR", "2024/1781"): they are matched as metadata. Article and annex numbers must be rewritten into their English form, because that is how they are matched: "第9条" and "Artikel 9" do not match, "Article 9" does. Measured 2026-08-27 on the live index, one question three ways: "must a marketplace show the product passport before purchase, where is it written?" returned NOTHING; "marketplace must make the digital product passport accessible before purchase" returned the CWA guidance (0.96) with the ESPR at 0.001; "make the digital product passport accessible to customers before they are bound by a contract of sale" returned the ESPR itself first (0.94, p.21).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark the tool as read-only and non-destructive, and the description adds meaningful behavioral context: non-English queries violate the contract and their passages 'must be discarded, not answered from', article/annex numbers must be in English to match, and results are structured for browsing rather than answering. It also clarifies that after receiving passages, the assistant should answer in the user's language while quoting the law in English.

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 description is front-loaded with the all-caps language contract and clearly organized, but it is verbose for a single-parameter tool and repeats content already present in the input schema. It is readable and purposeful, yet not as concise as it could be.

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?

All necessary context is present: language constraints, valid query form, result structure, the handoff to `fetch`, and the explicit alternative tool for direct answers. Given the schema richness and annotations, nothing essential is missing for an agent to select and invoke this tool correctly.

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?

The schema description coverage is 100%, and the schema's `query` parameter already details the English-only requirement, legal register, act identifier handling, article/annex rewriting, and measured retrieval examples. The tool-level description largely repeats this guidance rather than adding new parameter-level semantics.

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 clearly identifies the tool as a 'deep-research listing interface' over the same corpus as `search_eu_textile_regulations`, and specifies that it returns a browsable result list with `{results: [{id, title, text, url}]}`. It distinguishes itself from siblings by saying it is for listing results rather than producing a direct regulatory answer.

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?

It explicitly states when to use the tool — when a browsable result list is needed — and when not to: for a direct regulatory answer, use `search_eu_textile_regulations` instead. It also gives concrete handoff guidance, telling the agent to pass a result `id` to the `fetch` tool to read the full document.

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

A4.2/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: semantic answering, browsable search, exact-string lookup, outline navigation, full-page fetch, about, and feedback. The main ambiguity is between `search` and `search_eu_textile_regulations`, but their descriptions do separate result-list browsing from cited passage answers.

Naming Consistency3/5

All names use lowercase snake_case, but the pattern is mixed: `fetch` and `search` are one-word verbs, `document_outline` is a noun compound, `about_reecopedia` begins with a preposition, and the rest use verb_object naming. The inconsistency is readable but not predictable enough to infer tool behavior from names alone.

Tool Count5/5

Seven tools is a well-scoped size for a specialized regulatory-corpus reader: Q&A, browse, exact search, outline, fetch, about, and feedback each earn their place. There is no redundancy or bloated surface.

Completeness5/5

The toolset covers the full retrieval lifecycle: ask a regulatory question, browse results, find exact strings, inspect document structure, fetch full pages, and report bad answers for curation. No obvious dead ends or missing operations are apparent for the stated domain.

Resources