Skip to main content
Glama

Payments Law EU

Search defined terms

search_defined_terms
Read-onlyIdempotent

Which instruments define this term, and do they agree? A listing: term, definers and divergence flags, with no definition text. Matching is over the term itself, never the definition body. Divergence is judged on the RESOLVED text as well as the verbatim one, because several instruments defining a term by pointing at the same root agree, however differently their pointers read. Pass only_divergent to find where the corpus does not agree with itself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNoTerm text to match. Matching is over the TERM only, never the definition body. Omit for the full alphabetical listing of every term the corpus defines.
cursorNo
instrumentNoKeep only terms defined in this instrument, e.g. "psd-2".
only_divergentNoKeep only terms whose definers disagree — on the resolved text, the verbatim text, or both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
errorYes
coverageYes
warningsYes
paginationYes
provenanceYes
derivationsYes
corpus_releaseYes

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description adds meaningful behavioral detail: matching is restricted to the term itself, never the definition body, and divergence is evaluated on both resolved and verbatim text, with the nuance that same-root pointers count as agreement. It also discloses that the output excludes definition text, which is beyond what annotations provide.

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?

The description is dense but every sentence earns its place: it states the purpose, the output shape, the matching restriction, the subtle divergence semantics, and the key parameter usage. It is front-loaded with the core purpose and avoids fluff.

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?

Given the output schema, annotations, and generally descriptive input schema, the description covers the important behavioral subtleties well. The only clear gap is that limit and cursor are left unexplained in both schema and description, but the presence of an output schema and standard pagination parameters reduce the risk.

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?

The schema already documents query, instrument, and only_divergent well, so the description does not need to repeat that. It does add value by explaining the resolved-vs-verbatim divergence reasoning and the same-root agreement rule, and by reinforcing that matching never considers the definition body. However, limit and cursor remain undocumented in both the schema and the description, so parameter coverage is not complete.

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 opens with a precise question—'Which instruments define this term, and do they agree?'—and defines the output as a listing of term, definers, and divergence flags with no definition text. This clearly distinguishes it from siblings like get_defined_term, which would provide definition content rather than an instrument-level listing.

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 gives clear context for when to use the tool: to find which instruments define a term and whether they agree. It also gives explicit guidance on the only_divergent parameter to filter for disagreements. It does not explicitly name alternative tools or state when not to use this one, but the usage context is unmistakable.

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.4/5.0
Disambiguation5/5

Each tool targets a distinct legal-research action: retrieval by anchor, full-text search, citation resolution, definition lookup, version diffing, and orientation. Even the paired simple/advanced tools (fetch vs get_provision, search vs search_legislation) explicitly direct agents to the fuller variant.

Naming Consistency4/5

The set is almost uniformly snake_case verb-object: get_*, list_*, search_*, compare_versions, resolve_citation. The bare-verb fetch and search are minor deviations from the verb-noun pattern but are recognizable and consistent in style.

Tool Count5/5

Thirteen tools is well-scoped for a legal corpus server: each tool represents a distinct mode of access or workflow stage, without redundant bulk. The count is comfortably within the ideal range and every tool appears to earn its place.

Completeness5/5

For a read-only legal research corpus, the surface is thorough: instrument and provision enumeration, full-text retrieval, citation resolution, definition lookup, version comparison, and guided orientation. There are no obvious dead ends; workflows are explicitly described for coverage questions.

Resources