Skip to main content
Glama

Look up a provision's text

lookup_provision
Read-onlyIdempotent

Authoritative text of one provision, with in-force window, repealed/prospective status, concept tags, transposition edges and full provenance. Use asAt (YYYY-MM-DD) for point-in-time law and lang for a translation — translations come back flagged non-authoritative with the original attached. gated.citedByArticle says HOW MANY provisions of other instruments name this article and names those instruments; the rows themselves — which provision, which citation — come from provision_context.

The provision text is always free. Only the derived counts (gated.citedByArticle, gated.nationalMandate) and the analysis behind them require an API key on a signed-in account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eIdYesProvision identifier: 'sec_4' (section 4), 'art_2__para_1' (article 2(1)), 'sch_9' (Schedule 9). Use search or history endpoints to discover eIds.
asAtNoOptional date YYYY-MM-DD: the law as it stood on that day.
langNoOptional ISO 639 language, e.g. 'eng', 'fra'.
workYesELI URI of the instrument, e.g. 'http://www.legislation.gov.uk/id/ukpga/1994/23' (UK VAT Act 1994) or 'http://data.europa.eu/eli/dir/2006/112/oj' (EU VAT Directive).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the readOnly/idempotent annotations, it discloses that translations come back flagged non-authoritative with the original attached, and that the gated.citedByArticle and gated.nationalMandate counts require an API key on a signed-in account while the provision text is always free. This tells an agent which response fields may be unavailable and why. No contradiction with annotations.

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?

Two dense paragraphs where every sentence earns its place: core payload, parameter guidance, citation-row handoff, and the free-vs-gated access model. The purpose is front-loaded in the first sentence and nothing is repeated from the annotations or schema.

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?

With no output schema present, the description compensates well by naming the return payload (text, in-force window, status, concept tags, transposition edges, provenance, gated counts) plus the translation and auth caveats. It does not address error behavior or the exact shape of non-gated fields, a minor gap for a complex legal-data tool.

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?

All four parameters are already documented in the schema (100% coverage), so the baseline is 3; the description adds real value by framing asAt as point-in-time law and revealing that lang triggers translation behavior with a non-authoritative flag and attached original. eId and work gain little beyond the schema, keeping this at a modest bump above baseline.

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?

Opens with a specific verb-resource statement — 'Authoritative text of one provision' — and enumerates the enriched payload (in-force window, repealed/prospective status, concept tags, transposition edges, provenance). This clearly separates it from siblings like provision_history and search_legislation, which concern a provision's change over time and discovery rather than single-provision retrieval.

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?

Gives explicit parameter usage ('Use asAt (YYYY-MM-DD) for point-in-time law and lang for a translation') and routes one concrete case to an alternative — 'the rows themselves... come from provision_context.' It does not, however, map other relevant siblings (e.g., provision_history, search_legislation) to their selection conditions, so the when-not guidance is partial rather than systematic.

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, and descriptions carefully separate overlapping areas such as definition lookup, cross-references, and transposition links. A few citation/graph tools (related_works, work_mentions, find_national_implementations, provision_context) could be confused at a glance, but their granularity and direction are explicitly differentiated.

Naming Consistency3/5

Naming follows a readable all-lowercase-snake_case style, but conventions are mixed: roughly half are imperative verb_object names (lookup_provision, search_legislation, list_topics) while the rest are bare noun-phrase view names (provision_context, recent_changes, work_mentions). The pattern is understandable but not uniform.

Tool Count4/5

At 18 tools, the set is slightly above the ideal 3-15 range, but each tool maps to a distinct research query or data product. The count is justified by the breadth of legal-research operations rather than redundancy.

Completeness5/5

The surface covers the domain thoroughly: search, provision lookup, definitions, multilingual terms, cross-references, amendment history, transposition links, topics, coverage, updates, and review workflows. The explicit read-only design means absent write operations are a deliberate boundary, not a gap.

Resources