Skip to main content
Glama

Tax Regulation

tax_regulation
Read-onlyIdempotent

Get the full text of one Treasury Regulation / IRS regulation, a US federal tax regulation codified in 26 CFR, by its citation. Returns the exact regulatory wording currently in force. Answers "what does Treas. Reg. 1.170A say", "what is the IRS regulation for X", "the Treasury Regulation on X", "read 26 CFR 1.61-1", "the income tax regulation for X". Forgiving citation input: "1.170A-1", "26 CFR 1.61-1", "Treas. Reg. 1.501(c)(3)-1", "section 1.170A-1", even "1.170A-1(b)" (trailing paragraph stripped). Tax citations are dotted, the part is the number BEFORE the first dot: "1.170A-1" -> part 1, section 170A-1; "301.7701-1" -> part 301. Covers 26 CFR part 1 income tax regulations (gross income, deductions, credits, charitable contributions 1.170A, exempt organizations 1.501(c)(3)-1, depreciation, capital gains), part 301 procedure & administration, parts 20 & 25 estate & gift tax, part 31 employment tax, the whole of Title 26. Pass a whole part (e.g. "1") to get a (large) section list. Example: tax_regulation({ citation: "1.170A-1" }) -> charitable contribution deduction; tax_regulation({ citation: "Treas. Reg. 1.61-1" }) -> gross income defined. Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "citation": "1.170A-1"
    },
    "name": "tax_regulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationYesTreasury/IRS regulation citation (dotted). A section: "1.170A-1", "26 CFR 1.61-1", "Treas. Reg. 1.501(c)(3)-1", "section 1.170A-1(b)", "301.7701-1". Or a bare part: "1", "301".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / citation / description
      Previous value: -"Treasury/IRS regulation citation (dotted). A section: \"1.170A-1\", \"26 CFR 1.61-1\", \"Treas. Reg. 1.501(c)(3)-1\", \"§1.170A-1(b)\", \"301.7701-1\". Or a bare part: \"1\", \"301\"."New value: +"Treasury/IRS regulation citation (dotted). A section: \"1.170A-1\", \"26 CFR 1.61-1\", \"Treas. Reg. 1.501(c)(3)-1\", \"section 1.170A-1(b)\", \"301.7701-1\". Or a bare part: \"1\", \"301\"."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "citation": "1.170A-1"
      +  },
      +  {
      +    "citation": "26 CFR 1.61-1"
      +  }
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so the safety profile is covered; the description adds genuinely new context on top: the text returned is the wording "currently in force," citation parsing is forgiving with the trailing paragraph stripped, whole-part requests return a large list, and "Keyless" signals no auth is needed. It stops short of describing response structure or pagination/size limits beyond the single warning, which keeps it below a 5.

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?

The core capability is front-loaded in the first two sentences and the rest is operational detail, so nothing is badly misplaced. It is dense and somewhat repetitive, though: the same example citations ("1.170A-1", "26 CFR 1.61-1") appear in the prose, in the worked examples, and again in the schema's examples block, which is mild redundancy rather than waste.

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?

For a single-parameter, annotation-covered tool with no output schema, the description covers what is returned (exact in-force regulatory wording), which CFR parts are reachable, how citations are normalized, and that no key is required. Nothing an agent needs to call it correctly is missing.

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?

Schema coverage is 100%, yet the description still adds real meaning: it explains the dotted citation grammar, that the part is the number before the first dot ("1.170A-1" -> part 1, section 170A-1; "301.7701-1" -> part 301), lists accepted prefix variants, and notes paragraph suffixes are stripped. That is parsing behavior an agent cannot infer from a bare string 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?

States a specific verb and resource: "Get the full text of one Treasury Regulation / IRS regulation... by its citation," and pins the scope to 26 CFR. The phrase "one ... by its citation" implicitly separates it from a broader search tool, so an agent can tell what it does without opening the 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?

Gives concrete use contexts via the quoted natural-language questions it answers ("what does Treas. Reg. 1.170A say", "read 26 CFR 1.61-1"), which tells an agent when this is the right call. It also documents an alternate mode (passing a bare part returns a large section list), but never names or excludes a sibling such as tax_search, so the alternative-selection guidance is inferred rather than explicit.

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.