Skip to main content
Glama

Find provision

find_provision
Read-onlyIdempotent

Find the file path of a provision by its number ("1182", "Art. 16a", "reg 13") or words from its heading ("debtor", "Asylrecht"). Also finds an act by its name ("Data Protection Act 2018": its folder), a provision by its act and number in one query ("Equality Act 2010 section 4", "Code du travail L3141-3", "Codul civil art. 1357"), and a court decision by its docket number, citation or name ("1 BvR 1547/19", "410 U.S. 113", "Miranda v. Arizona").

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": {
      "query": "<query>"
    },
    "name": "find_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA section, article or regulation number, heading words, the name of an act (with a provision's number after it, for that provision), or a decision's docket number, citation or name.
offsetNoRows to skip: the next_offset the answer before gave in "page" (default 0).
max_resultsNoAt most this many (default 15, at most 100).
jurisdictionNoOptional jurisdiction: a country by its name in English or its own language ("germany", "Deutschland", "UK") or its ISO code ("de"), or a path prefix, for example "germany", "united-states/federal" or "united-kingdom/uk/legislation/uksi".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / jurisdiction / description
      Previous value: -"Optional jurisdiction prefix, for example \"germany\", \"united-states/federal\" or \"united-kingdom/uk/legislation/uksi\"."New value: +"Optional jurisdiction: a country by its name in English or its own language (\"germany\", \"Deutschland\", \"UK\") or its ISO code (\"de\"), or a path prefix, for example \"germany\", \"united-states/federal\" or \"united-kingdom/uk/legislation/uksi\"."
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"A section, article or regulation number, heading words, the name of an act, or a decision's docket number or citation."New value: +"A section, article or regulation number, heading words, the name of an act (with a provision's number after it, for that provision), or a decision's docket number, citation or name."
  3. Changed3 schema fields changed
    • changedInput schema / properties / max_results / description
      Previous value: -"At most this many (default 15)."New value: +"At most this many (default 15, at most 100)."
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Rows to skip: the next_offset the answer before gave in \"page\" (default 0).",
      +  "type": "integer"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"A section, article or regulation number, or heading words."New value: +"A section, article or regulation number, heading words, the name of an act, or a decision's docket number or citation."
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive behavior, and closed-world scope. The description adds useful behavioral context by stating that the result is a file path, but it does not discuss ambiguity resolution, pagination, or result limits beyond what the schema already provides.

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 description is front-loaded with the core purpose and then compactly lists supported query modes with examples. It is dense and mostly earns its length, though the repeated "Also finds" phrasing is slightly list-like rather than optimally structured.

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 multi-mode lookup tool with an output schema and full parameter documentation, the description covers the essential query forms and states the return type (file path). It omits details about jurisdiction filtering and pagination, but those are adequately handled in the input schema.

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 meaningful semantics by showing the accepted query formats: bare numbers, article/regulation prefixes, heading words, combined act-and-section strings, and citation/docket/name forms. This helps an agent choose the right query syntax beyond the schema's generic description.

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 uses a specific verb and resource ("Find the file path of a provision") and then enumerates the distinct lookup modes: provision number, heading words, act name, act-plus-number, and court decision identifiers. This makes its purpose unambiguous and distinguishes it from sibling search/listing tools.

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 definition gives clear contexts for use through well-chosen examples for each supported query form ("1182", "Equality Act 2010 section 4", "Miranda v. Arizona"). It does not explicitly say when to prefer a sibling such as search_law or list_provisions, nor does it state exclusions, so it falls short of a full routing guide.

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.