Skip to main content
Glama

PitCanary

Read one regulation in full

get_regulation
Read-onlyIdempotent

Use this to cite or explain one regulation that check_values or find_regulations returned, when its short form is not enough. It returns the record in full: every number with its condition and where it stands in the source, the duties it sets, who enforces it, conflicts with other sources, what it replaced, when it was last checked, and for each number the rooms it is meant for. The country and the id come from those two tools' answers. Informative only: it reports what the source says and gives no verdict on a room. No account needed.

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": {
      "country": "<country>",
      "regulation_id": "<regulation_id>"
    },
    "name": "get_regulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNoOptional room type, as PitCanary names it and list_rooms returns it. Every number stays in the answer, each marked with whether it is meant for that room, because some records give a different number per room.
countryYesCountry as an ISO 3166-1 code in lower case (be, de, gb, nl, us and the others in the list), or int for international guidance (WHO, EN) when the country is not covered or not known.
regulation_idYesThe record's id, as check_values or find_regulations returned it, for example be-bru-agrbc-2007-12-21-annexe-xxvi-vhr.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds real value on top by enumerating the payload (numbers with conditions, source position, duties, enforcer, conflicts, superseded sources, last-checked date, room targeting) and by stating there is no account requirement and no verdict output. It stops short of describing size or pagination behavior for potentially large records, which keeps it from a 5.

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?

Three sentences, front-loaded with the trigger condition before the payload list, and the closing caveat about verdicts is well placed. The middle enumeration of returned fields is long but earns its place because no output schema exists; only slight tightening would be possible.

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 burden of describing returns and does so field-by-field, plus it covers the informative-only constraint, the room-targeting behavior and the absence of authentication. An agent has everything needed to decide to call it and to interpret the response.

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 description coverage is 100% and the schema already explains the ISO country codes, the int fallback, the id pattern and the room enum semantics, so the description mostly reinforces rather than extends it. The one added nuance is provenance ('the country and the id come from those two tools' answers'), which the schema only partially states for regulation_id — appropriate for the baseline-3 case.

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?

States a specific verb and resource ('read/cite or explain one regulation') and explicitly scopes it to records that check_values or find_regulations already returned. The contrast with those siblings ('when its short form is not enough') makes the boundary between the lookup tools and this one unmistakable.

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?

Gives an explicit when-to-use condition (short form insufficient for citing or explaining), names the two tools whose answers supply the required country and id, and adds a clear when-not qualifier: 'Informative only: it reports what the source says and gives no verdict on a room.' No inference is needed to route correctly.

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