Skip to main content
Glama

roop.public.statutes.search

Search public statutes and subordinate legislation metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
doc_kindNo
state_codeNo
instrumentTypeNoCamel-case alias for instrument_type.
instrument_typeNoOptional instrument type filter such as rules, regulations, notification, order, circular, or form.
jurisdiction_scopeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / doc_kind
      Added value: +{
      +  "enum": [
      +    "act",
      +    "subordinate",
      +    "draft"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / instrumentType
      Added value: +{
      +  "description": "Camel-case alias for instrument_type.",
      +  "type": "string"
      +}
    • addedInput schema / properties / instrument_type
      Added value: +{
      +  "description": "Optional instrument type filter such as rules, regulations, notification, order, circular, or form.",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description should disclose behavioral traits. It only states 'metadata', implying limited scope, but omits details like pagination, result format, or query behavior. Minimal transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very concise (single sentence), which is efficient but lacks structure. It could be expanded with bullet points or key constraints without losing clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 7 parameters, no output schema, and no annotations, the description is severely incomplete. It fails to cover common usage patterns, result behavior, or typical filters, making it hard for the agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 29%, yet the description adds zero parameter explanation. It does not clarify meaning or usage of any of the 7 parameters, leaving the agent to rely solely on the sparse schema.

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 clearly states the verb 'Search' and the resource 'public statutes and subordinate legislation metadata'. It distinguishes from siblings like 'roop.public.judgments.search' by specifying the domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., judgments search, get_packet for statutes). Missing context for optimal invocation scenarios.

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.