Skip to main content
Glama

City Guide

Search Local Info

rules_search_compliance
Read-onlyIdempotent

Use this to search local tax rates, short-term rental rules, noise/alcohol rules, parking garages, flood advisories, and port arrival info by topic or keyword. Do not use this when you need a signed receipt attached to the answer (use rules_attested_compliance_brief). Behavior: free, no API key required; returns status: "not_in_verified_corpus" when we do not have an official rule on file.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rules_search_compliance"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional keyword search across rule titles, summaries, and local agencies.
topicNoTopic filter (defaults to "all").
destinationNoTown or city ID (for example: "ocean_city", "wharf_dc", "annapolis", "kill_devil_hills", "falmouth", "kingston"). Optional when connected to /rules/:destination/mcp.

Output Schema

NameRequiredDescriptionDefault
okYes
countNo
statusNo
findingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description adds real information beyond them: the search is free with no API key required, and misses return status 'not_in_verified_corpus' rather than an error. It still doesn't say how results are ranked or how large a result set can be, so it is strong but not complete.

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?

Two sentences plus a short 'Behavior:' line, all front-loaded with the primary use case before the exclusion. The enumerated topic list partly duplicates the topic enum in the schema, which is minor redundancy rather than filler.

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 three optional parameters, full schema coverage, and an output schema, the description covers the essentials an agent needs: selection vs. the attested sibling, no auth required, and the meaningful negative-result status. The one gap is that it doesn't mention that destination can be omitted when bound to /rules/:destination/mcp, leaving that to the schema.

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 each of q, topic, and destination is documented in the schema, including the enum and the destination pattern/optionality. The description's topic list loosely mirrors the topic enum but adds no syntax, defaults, or interaction guidance beyond what the schema already states, so the 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?

Names a specific verb ('search') and enumerates the concrete resource domains (tax rates, rental rules, noise/alcohol, parking, flood, port arrival) plus the query surface (topic or keyword). It also names the sibling it is not (rules_attested_compliance_brief), so an agent can separate it from the attested-brief 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit use case and one explicit exclusion with the correct alternative for signed-receipt needs. It stops short of routing between the other siblings (e.g., rules_preview_compliance_brief) or explaining when to prefer the topic filter over free keyword search.

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