Skip to main content
Glama

Find EU legislative definitions

search_defined_terms
Read-onlyIdempotent

Use this to find which EU instruments define a legal term, such as payment transaction or payment account, and where their definitions differ. For definition wording use get_defined_term. 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 text. Pass only_divergent to find where the corpus does not agree with itself.

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

Input 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

NameRequiredDescriptionDefault
dataYes
tierNo
errorYes
coverageYes
warningsYes
paginationYes
provenanceYes
derivationsYes
corpus_releaseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / tier
      Added value: +{
      +  "enum": [
      +    "public",
      +    "licensed"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / instrument / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 64,
      -    "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 64,
      +    "pattern": "^[A-Za-z0-9]+(?:[ ._-][A-Za-z0-9]+)*$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed6 schema fields changed
    • addedInput schema / properties / cursor / anyOf
      Added value: +[
      +  {
      +    "maxLength": 512,
      +    "pattern": "^[A-Za-z0-9_-]+$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / cursor / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / instrument / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / instrument / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedInput schema / properties / query / anyOf
      Added value: +[
      +  {
      +    "maxLength": 256,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / query / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  4. Changed10 schema fields changed
    • removedInput schema / properties / cursor / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / cursor / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / instrument / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / instrument / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / only_divergent / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / only_divergent / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / data / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "defined_in": {
      -              "items": {
      -                "additionalProperties": {},
      -                "properties": {
      -                  "cite": {
      -                    "type": "string"
      -                  },
      -                  "defined_within": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "instrument_id": {
      -                    "type": "string"
      -                  },
      -                  "qualifier": {
      -                    "anyOf": [
      -                      {
      -                        "type": "string"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "instrument_id",
      -                  "qualifier",
      -                  "defined_within",
      -                  "cite"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "divergent_resolved": {
      -              "type": "boolean"
      -            },
      -            "divergent_verbatim": {
      -              "type": "boolean"
      -            },
      -            "term": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "term",
      -            "defined_in",
      -            "divergent_verbatim",
      -            "divergent_resolved"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "next_cursor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "next_cursor",
      -      "total"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "defined_in": {
      +              "items": {
      +                "additionalProperties": {},
      +                "properties": {
      +                  "cite": {
      +                    "type": "string"
      +                  },
      +                  "defined_within": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "instrument_id": {
      +                    "type": "string"
      +                  },
      +                  "qualifier": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "instrument_id",
      +                  "qualifier",
      +                  "defined_within",
      +                  "cite"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "divergent_resolved": {
      +              "type": "boolean"
      +            },
      +            "divergent_verbatim": {
      +              "type": "boolean"
      +            },
      +            "term": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "term",
      +            "defined_in",
      +            "divergent_verbatim",
      +            "divergent_resolved"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "next_cursor",
      +      "total"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / pagination / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "next_cursor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "total": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "complete",
      -      "next_cursor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "complete",
      +      "next_cursor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  5. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive behavior, yet the description still adds real context: the response is a listing of term/definers/divergence flags with no definition text, matching runs over the term only and never the definition body, and divergence is judged on both resolved and verbatim text. These are non-obvious semantics that no annotation or schema 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and each sentence carries distinct information, with no filler. The telegraphic fragments ('A listing: term, definers and divergence flags') are efficient but slightly clipped, and the divergence point is split across two sentences that could be merged.

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?

For a filtered-list tool with an output schema and rich annotations, the description covers purpose, alternative routing, result shape, and matching/divergence semantics. The only meaningful gap is pagination and cursor behavior, which matters for a listing tool that can return the full alphabetical corpus.

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 coverage is 60%, and the description reinforces the query matching rule and explains only_divergent's meaning (disagreement on resolved text, verbatim text, or both). However, limit, cursor, and instrument receive no treatment in the description, leaving pagination and instrument-filter behavior to the schema alone.

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 and resource ('find which EU instruments define a legal term') and scopes it precisely to definers and divergence rather than definition text. It explicitly contrasts with the sibling get_defined_term, so an agent can distinguish the two without opening either schema.

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 routes the agent explicitly: 'For definition wording use get_defined_term' and 'Pass only_divergent to find where the corpus does not agree with itself.' Both the when-to-use and the when-to-use-something-else conditions are stated rather than implied.

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.

Resources