Skip to main content
Glama

Ri Regulation Search

ri_regulation_search
Read-onlyIdempotent

Search the Rhode Island Code of Regulations by keyword or agency subject and list matching parts: citation, title, agency (title/chapter/subchapter names), status and effective date. Use to find the citation for a Rhode Island rule ("boiler inspection", "child care licensing", "dental fees"), then call ri_regulation for the text. Keyless. Active rules only unless status is given.

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": {
      "limit": 5,
      "query": "boiler"
    },
    "name": "ri_regulation_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 20, max 50).
queryYesKeywords, e.g. "boiler" or "child care". Or a citation fragment like "260-RICR-30".
statusNoRule status to search (default active).

Output Schema

NameRequiredDescriptionDefault
queryNo
sourceNo
statusNo
resultsNo
returnedNo
total_matchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), so the bar is lower, and the description adds genuinely new context: the API is keyless (no auth setup) and results default to active rules only. It stops short of noting rate limits or result pagination beyond the limit parameter, so it is strong but not exhaustive.

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 verb and resource, then the routing advice, then the two operational facts (keyless, active-only). Three compact sentences with no filler, and the key constraint about status filtering is placed last where it is easy to find.

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?

An output schema exists, so return values need not be spelled out, yet the description still names the fields returned. Combined with the keyless note, the status default, and the handoff to ri_regulation, an agent has everything needed to call this correctly on the first try.

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%, so the schema already documents all three parameters including defaults and the status enum. The description reinforces that query accepts either keywords or a citation fragment and repeats the active-status default, but adds no format or syntax detail beyond what the schema provides, so baseline 3 applies.

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 ("Search the Rhode Island Code of Regulations") and enumerates what a match contains: citation, title, agency hierarchy, status, effective date. It also explicitly separates itself from the sibling ri_regulation, which returns the full text, so an agent can pick the right tool without opening either 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 the exact use case with concrete example queries ("boiler inspection", "child care licensing") and an explicit next step: call ri_regulation for the text. It also states a scope rule, active rules only unless status is given, which tells the agent when results will be filtered.

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.