Skip to main content
Glama

Ri Regulation

ri_regulation
Read-onlyIdempotent

Get the FULL TEXT of a Rhode Island administrative regulation (a part of the Rhode Island Code of Regulations, RICR) by citation, with its title, agency, status and effective date. "260-RICR-30-10-2" is Boiler and Pressure Vessel Inspection (Department of Labor and Training). Pass section ("2.5") to return only that section and its subsections, or query to return only the paragraphs containing your words, since parts can run to 50,000+ characters. Keyless. Use for "what does Rhode Island regulation 260-RICR-30-10-2 say about inspection frequency or fees"; for statutes use ri_general_law.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "section": "2.5",
      "citation": "260-RICR-30-10-2"
    },
    "name": "ri_regulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional words; returns only paragraphs containing all of them (case-insensitive), e.g. "inspection frequency".
sectionNoOptional section number inside the part, e.g. "2.5" or "2.5.2". Returns that section and everything under it.
citationYesPart citation, e.g. "260-RICR-30-10-2" or "260-30-10-2" (title-chapter-subchapter-part). A trailing section like "260-RICR-30-10-2.5" is accepted and used as `section`.
max_charsNoCap on returned text characters (default 60000, max 120000).

Output Schema

NameRequiredDescriptionDefault
textNo
scopeNo
titleNo
agencyNo
sourceNo
statusNo
chapterNo
citationNo
authorityNo
effectiveNo
truncatedNo
subchapterNo
text_charsNo
attributionNo
total_charsNo
type_of_filingNo
top_level_sectionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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 openWorld, so the safety profile is covered. The description adds genuinely useful context beyond them: the tool is keyless (no auth needed), responses include title/agency/status/effective date, and parts can run to 50,000+ characters, which motivates the narrowing options. It stops short of describing payload shape, but an output schema exists so that burden is not on the description.

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?

Front-loads the capability and the example citation before the optional narrowing parameters, then closes with the sibling routing rule. Every sentence carries distinct information — no restatement of the title and no filler.

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?

Covers citation format with a fallback variant, both narrowing options with their semantics, the size hazard that motivates them, auth posture, and the statute alternative, while an output schema already documents return fields. Nothing an agent needs to select or invoke this tool correctly is missing.

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; the description clears that bar by explaining the intent behind the narrowing parameters — `section` returns a section and its subsections, `query` returns paragraphs containing the words — and by giving the size rationale that tells an agent why it should narrow at all. It does not cover `max_chars` or the trailing-section shorthand, both of which the schema handles on its own.

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 ('Get the FULL TEXT of a Rhode Island administrative regulation'), names the governing corpus (RICR), and gives a concrete worked citation with its human-readable title and agency. It also explicitly separates itself from ri_general_law for statutes, so an agent can route without opening another schema.

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 use case in the agent's own idiom ('what does Rhode Island regulation 260-RICR-30-10-2 say about inspection frequency or fees') and an explicit exclusion, directing statute lookups to ri_general_law. It also states when to narrow with `section` versus `query`.

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.