Skip to main content
Glama

Tax Search

tax_search
Read-onlyIdempotent

Keyword search across federal tax regulations, US Treasury / IRS regulations in 26 CFR. Answers "what tax regulations cover X", "the IRS regulation / Treasury Regulation about X", "find the federal tax rule for X". Great for topics: charitable contribution deduction, gross income, business expense deduction, depreciation and MACRS, capital gains and losses, section 501(c)(3) exempt organizations, S corporations, partnerships, like-kind exchanges, employment tax, estate and gift tax, foreign tax credit, retirement plans. Returns matching Treasury Regulations with citation (26 CFR / Treas. Reg.), heading, excerpt, and source URL. Example: tax_search({ query: "charitable contribution deduction" }); tax_search({ query: "depreciation", limit: 15 }). 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": {
      "query": "charitable contribution deduction"
    },
    "name": "tax_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return, 1-20 (default 10).
queryYesFederal-tax-regulation topic or phrase, e.g. "charitable contribution deduction", "gross income", "depreciation", "exempt organizations", "capital gains".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "charitable contribution deduction"
      +  },
      +  {
      +    "limit": 15,
      +    "query": "depreciation"
      +  }
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's job is to add operational context, which it does: it discloses the return shape (citation, heading, excerpt, source URL), notes the tool is keyless (no auth setup), and shows a limit value in use. It does not describe ranking, relevance, or empty-result behavior, 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?

Front-loaded with purpose and return shape, then usage examples, so the important material comes first. The 14-item topic enumeration overlaps substantially with the example calls and the schema's own query examples, making the middle section longer than strictly necessary, though the extra vocabulary does aid keyword selection.

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?

There is no output schema, but the description compensates by naming the return fields, and it covers auth (keyless) and result capping via the schema. For a simple two-parameter search tool this is nearly complete; only relevance/ranking behavior and handling of zero matches are unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already defines both parameters and the 1-20/default-10 bound. The description still adds value by showing how query strings should be phrased (topic or phrase rather than a full natural-language question) and by demonstrating a bounded call with limit: 15, which clarifies the query-vs-limit division of labor.

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?

States a specific verb and resource: "Keyword search across federal tax regulations, US Treasury / IRS regulations in 26 CFR," and enumerates the question shapes it answers. It is clear what the tool returns (Treasury Regulations with citation, heading, excerpt, URL). It never names the sibling tax_regulation or explains how the two differ, so sibling differentiation is left to the caller.

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 when-to-use context by listing the question phrasings it serves ("what tax regulations cover X", "the IRS regulation about X") and a broad topic list, plus two worked call examples. It stops short of stating when NOT to use it or which sibling tool handles lookups by citation, so no exclusions are offered.

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.