Skip to main content
Glama

eCFR Federal Regulations MCP

Search U.S. Code of Federal Regulations (eCFR)

search_cfr
Read-onlyIdempotent

Full-text search across the U.S. Electronic Code of Federal Regulations with optional CFR title (1 to 50) and agency slug filters.

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": {
      "query": "<query>"
    },
    "name": "search_cfr"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return (1 to 50). Default 10.
queryYesSearch keywords (e.g. "cybersecurity", "insider trading", "emissions").
titleNoOptional CFR Title number (1 to 50).
agency_slugNoOptional eCFR agency slug (e.g. "securities-and-exchange-commission").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered. The description adds only that matching is 'full-text' and that filters are optional; it says nothing about relevance ordering, whether an empty result is possible, or how broad open-world coverage behaves in practice.

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?

A single front-loaded sentence that identifies the operation first and the optional refinements second, with no filler. It is arguably slightly under-sized rather than over-sized, which is a different problem than verbosity.

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

Completeness3/5

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

With four parameters, no enums and no output schema, the description should say something about what a result contains (citation, title, section text, snippet) or how relevance works, since nothing structured covers the return shape. It covers the input surface adequately but leaves the output side entirely undocumented.

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%, including the 1-50 title range, the 1-50 limit with default 10, and an example agency slug, so the schema carries the parameter burden. The description merely restates the title range and the existence of the agency slug filter without adding syntax, format, or matching-behavior detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ('Full-text search') with a specific resource ('U.S. Electronic Code of Federal Regulations') and names the narrowing dimensions (title, agency slug). It is clearly a retrieval-by-keyword tool and therefore distinct from structural siblings like list_cfr_titles or get_title_structure, though it never explicitly contrasts itself with them.

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?

There is no when-to-use or when-not-to-use guidance, and no mention of the sibling tools that retrieve CFR structure or corrections. An agent must infer from the sibling names alone that this is the keyword-search path rather than the browse path.

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.