Skip to main content
Glama

get_provision

Read-onlyIdempotent

One provision (article, annex, recitals) as structured units with its status, version, check, applicability, official source — today or as it stood on as_of (time travel: text in force on that date, or an explicit state such as not_available_for_date or update_pending; never the current text in place of a past one). Each unit's text is plain Unicode; raised/lowered wording as the official text prints it (10 with a superscript 25, K with a subscript CCP) is a mark in the unit's marks: [{kind: superscript | subscript, start, end}], Unicode code-point offsets into text (empty when none); the page Markdown carries it as /. A date with no text (date_state not_yet_adopted, not_available_for_date, absent) is a normal answer, not an error.

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": {
      "ref": "<ref>"
    },
    "name": "get_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesA page address (https://www.headlesslaw.com/… or a path such as /mica/articles/75) or a citation ("Art 75(3) MiCA", "Article 75(3) of Regulation (EU) 2023/1114", "2025/298", a CELEX number).
as_ofNoA date YYYY-MM-DD.
releaseNoOptional release id (or its first 8+ hex characters) to pin a multi-call task to one release; releases stay available for 24 hours after they leave the live position. Outside that window the answer is release_unavailable (isError), naming the current release — never silently another release.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses substantial behavior: past-date semantics, explicit non-error states (not_yet_adopted, not_available_for_date, absent, update_pending), release_unavailable being an isError, and how markup is represented via code-point offsets in `marks`. This is far more than the annotations already convey.

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 definition is front-loaded with purpose before moving into time-travel semantics and mark encoding, so the most important content comes first. It is dense with stacked parentheticals and some low-level encoding detail, but with no output schema that detail earns its place.

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?

With no output schema, the description carries the full burden of explaining the returned shape (units with status, version, check, applicability, source, text, marks) and does so thoroughly. It also covers the empty/absent-date cases and the release-unavailable error path, leaving little an agent would need to infer.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema's terse 'A date YYYY-MM-DD': it states that as_of returns text in force on that date and never substitutes current text for a past one. It also reinforces the release pinning window behavior, though ref's accepted formats are already covered in the schema.

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?

The description gives a specific verb+resource: 'One provision (article, annex, recitals) as structured units with its status, version, check, applicability, official source'. The scope is narrow enough to separate it from generic page/document fetchers, though it never explicitly contrasts itself with getPage or get_document.

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?

It clearly explains the as_of/time-travel mode and that a date with no text is a normal answer rather than an error, which guides usage well. However, it gives no guidance on when to choose this over getPage, get_document, or get_definition, so the alternative-selection question is left 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