Skip to main content
Glama

get_cfr_content

Read-only

Fetch the full text of a CFR section, subpart, part, or appendix. Returns clean parsed text by default, or raw XML when original regulatory text is needed.

Instructions

Get the full text of a CFR section, subpart, part, or appendix.

This is the primary workhorse for reading regulatory text. Returns parsed clean text by default (heading, paragraphs, citations, plus tables and editorial_notes when present). Set raw_xml=True to get the original XML instead.

Specify the narrowest scope possible to keep responses manageable:

  • section='15.305' for a single FAR section

  • subpart='15.3' for a subpart

  • part='15' for an entire part (can be large)

  • chapter='1' for an entire chapter (often >1 MB, avoid)

  • appendix='Appendix A to Chapter 2' (with chapter='2') for a DFARS appendix

Date auto-resolves to the latest available if not provided. Do NOT use today's date directly -- eCFR lags 1-2 business days and today often 404s.

Title 48 = FAR/DFARS. Chapter 1 = FAR (Parts 1-99), Chapter 2 = DFARS (Parts 200-299). Other chapters = agency FAR supplements (GSAR, VAAR, HSAR, etc.).

For DFARS clauses, use chapter='2' (e.g., section='252.227-7014').

part/subpart/section accept int or string. Common prefix mistakes like section='FAR 15.305' or '48 CFR 15.305' are stripped automatically, and trailing paragraph cites like section='15.305(a)(2)' resolve to the base section '15.305'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
partNo
chapterNo
raw_xmlNo
sectionNo
subpartNo
appendixNo
title_numberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description goes well beyond the readOnlyHint/destructiveHint annotations by detailing return behavior: default parsed clean text, inclusion of tables and editorial_notes, raw_xml toggle, size caveats, and automatic stripping of common prefix mistakes. It also warns about eCFR date lag and potential 404s, providing valuable operational context.

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 well-structured and dense with practical information. Each block (purpose, usage notes, chapter mapping, common mistakes) earns its place. The use of bullet-like examples and clear warnings makes it easy to parse, despite being longer than average, because it covers complex variable options.

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?

The description explains return content, parameter selection, date handling, common input variations, and title-specific context (Title 48 FAR/DFARS). Combined with the output schema and annotations, this gives an agent all necessary context to invoke the tool correctly and avoid pitfalls, making the description effectively self-sufficient.

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

Parameters5/5

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

With schema description coverage at 0%, the description compensates thoroughly. Every scoping parameter (section, subpart, part, chapter, appendix) has examples and size guidance. It also explains date behavior, raw_xml semantics, title_number default, and type flexibility (int/string). This is model guidance that the bare schema cannot provide.

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 identifies the tool's function: retrieving full text of CFR sections, subparts, parts, or appendixes. It goes beyond mere naming by explaining output types (parsed clean text, raw XML) and specific resource scopes, distinguishing it effectively from sibling tools like search or structure listing.

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?

Provides explicit guidance on when to use the tool ('primary workhorse for reading regulatory text'), how to scope requests ('narrowest scope possible'), what to avoid (chapters >1 MB, using today's date), and concrete examples for each parameter. It also explains date auto-resolution and common input normalization, making it clear how to get successful results.

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/1102tools-dev/federal-contracting-mcps'

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