Skip to main content
Glama
cliwant

mcp-sam-gov

by cliwant

ecfr_search

Read-only

Search the Code of Federal Regulations by keyword and optional title. Returns ranked excerpts with direct links to sections.

Instructions

Full-text search across the entire CFR (Code of Federal Regulations). Use for DISCOVERY — pass titleNumber=48 for FAR (Federal Acquisition Regulation), titleNumber=2 for federal financial assistance, etc. Returns a ranked EXCERPT (snippet, not full text) + section path + ecfrUrl per hit. To then read the COMPLETE text of a hit: for a FAR/DFARS clause (title 48) use far_clause_lookup (adds prescription + revision); for any other title's section use ecfr_get_section; or open the ecfrUrl.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
perPageNo
titleNumberNoCFR title (1-50). e.g. 48 = FAR (Federal Acquisition Regulation), 2 = Federal financial assistance.
Behavior4/5

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

Annotations already indicate readOnlyHint and openWorldHint. The description adds useful behavioral context: it returns a ranked EXCERPT (not full text), section path, and ecfrUrl. It does not contradict annotations and provides additional details about the output format.

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?

The description is concise, front-loaded with the main purpose, and each sentence adds value. No filler or tautology.

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?

Given no output schema, the description explains the return structure (excerpt, section path, ecfrUrl). It also links to sibling tools for next steps. However, it does not mention pagination or perPage behavior, which is a minor gap.

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 33% (only titleNumber has a description). The description adds value by explaining titleNumber usage with examples (48 for FAR, 2 for financial assistance), but for query and perPage it provides no additional meaning beyond the schema's property definitions.

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 'Full-text search across the entire CFR' with specific examples (titleNumber=48 for FAR, titleNumber=2 for financial assistance). It distinguishes itself from sibling tools like far_clause_lookup and ecfr_get_section by emphasizing it returns excerpts for discovery.

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?

The description explicitly says 'Use for DISCOVERY' and provides clear instructions for what to do after getting a hit: use far_clause_lookup for FAR/DFARS clauses, ecfr_get_section for other titles, or open the ecfrUrl. This gives excellent guidance on when to use this tool versus alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cliwant/mcp-sam-gov'

If you have feedback or need assistance with the MCP directory API, please join our Discord server