Skip to main content
Glama

provision_text

Read-onlyIdempotent

One provision's verbatim text, one provision per call: the version asked for, else the one in force on at, else the current one. The page is cut at max_chars (1 to 50000) with a marker '[… N characters omitted, continue with offset=M]' and paged by offset; parts names the locations below it, so a large annex is read a part per call. pending is true when an amendment is announced and not yet consolidated. Consolidated text is documentation; only the Official Journal is authentic. unavailable says why there is no text. Every list is complete for the watch window the record covers, from the oldest version an act was watched from to its newest, and says nothing about anything outside it. disputed means one of three independent signals (the text comparison, the EU's own amendment metadata, the amending act's instructions) disagreed; dispute_reason says which and how, and a dispute is a reading of the sources, not a judgement about the law. applies_from: unknown means no application date could be read deterministically, never that no date applies. Units named by only one signal are listed by name on their event (metadata_only_units, instruction_only_units), never as changes. Not legal advice: this output is machine-computed from published texts, carries no lawyer's review, and is engineering assistance only.

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": {
      "act": "<act>",
      "location": "<location>"
    },
    "name": "provision_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoThe version in force on this date.
actYesThe act's key, or `corpus/key`.
offsetNoWhere the page starts.
versionNoA stored version, as given.
locationYesA canonical location such as `AR 50` or `AN I`.
max_charsNoCharacters per page, 1 to 50000.

Output Schema

NameRequiredDescriptionDefault
actYesThe act's key as asked for, or as found.
pageYesThe page of verbatim text; null if unavailable.
partsYesThe locations directly below this one, so a large annex is read a part per call.
corpusYesThe act's corpus; null when the act is unknown.
headingYesThe node's heading, if any.
pendingYesTrue when an amendment announced on or before `asked_at` (any, without it) is not yet consolidated: the text may already be out of date.
versionYesThe stored version read; null when none was.
asked_atYesThe date asked for, or null.
locationYesThe canonical location, or the location as asked for.
page_urlYesThe provision's page, else the act's; '' when unknown.
authenticYesWhat the text is, and what is authentic.
disclaimerNoThe not-legal-advice disclaimer.Not legal advice: this output is machine-computed from published texts, carries no lawyer's review, and is engineering assistance only.
unavailableYesWhy there is no text; empty when there is.
version_dateYesThat version's date, when known.
authority_urlYesThe authority's text at the unit; '' when unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the version-resolution chain (version, else at, else current), the exact truncation marker and offset paging contract, and the semantics of pending, unavailable, disputed/dispute_reason, and applies_from: unknown. It also bounds the data with an explicit caveat about the watch window and states the machine-computed, non-authoritative status of the text.

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 core action and paging contract are correctly front-loaded, and the disclaimer sits at the end where it belongs. However, the whole definition is a single dense paragraph of chained clauses that mixes invocation guidance with return-field caveats, making it hard to scan despite containing little outright filler.

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 read-only, single-resource tool with a full schema and an output schema, the definition covers the hard parts: version resolution, paging, and the ambiguous output flags. The remaining gap is routing guidance toward the sibling tools that search or compare provisions, which this description never addresses.

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 already 100%, so the baseline is 3; the description earns an extra point by explaining the precedence interaction between `version` and `at`, which a JSON schema cannot express. It adds no extra meaning for `act`, `location`, or `offset` beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'One provision's verbatim text, one provision per call,' which pins down both content and cardinality. It does not name or contrast with the obvious siblings (provision_history, provision_twins, find_provisions), so an agent must infer the boundary from the sibling names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: 'one provision per call' and 'a large annex is read a part per call' hint at when to page instead of fetching once, but there is no explicit when-to-use or when-not-to-use versus provision_history or find_provisions. No prerequisites or failure conditions are given.

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