Skip to main content
Glama

CapLedger R&D Tax Credit & Software CapEx

calculate_rd_credit_savings

Read-onlyIdempotent

Deterministic planning calculator matching capledger.cedarstonellc.com/calculator. Computes estimated U.S. QRE, federal R&D tax credit (IRC §41 14% ASC with §280C(c) 79% reduced election or 6% QSB startup payroll-tax offset up to $500k/yr), contingency fee comparison (20%, 15%, or $38k flat), and annual dollars kept using CapLedger flat licensing ($1,980/yr Growth or $2,980/yr 5-EIN CPA Desk). Illustrative planning estimate only, not tax advice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_rd_credit_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNo'growth' ($1,980/yr single entity) or 'cpa_desk' ($2,980/yr up to 5 EINs).growth
avg_us_w2NoAverage annual U.S. engineering W-2 wage in USD.
filer_typeNo'asc14' for established 14% ASC (§280C reduced) or 'qsb6' for startup 6% ASC / QSB payroll offset.asc14
compare_feeNoAlternative vendor pricing to compare against CapLedger.pct20
us_engineersNoNumber of U.S.-based software engineers.
foreign_engineersNoNumber of non-U.S. engineers (15-year Foreign §174 amortization; $0 federal R&D credit).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world, so the safety profile is covered. The description adds real context beyond them: determinism, the exact rate model (14% ASC with §280C reduction, 6% QSB payroll offset capped at $500k/yr), the flat $38k alternative, and the licensing tiers. It does not describe the response shape, though it does name the output categories it produces.

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?

It is a single dense paragraph, front-loaded with the core function before the rate details. The heavy parentheticals earn their place by conveying model assumptions, though the disclaimer sentence and URL reference add some bulk to an otherwise tight definition.

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 six-parameter calculator with full schema coverage and no output schema, the description supplies the calculation logic, the fee-comparison framing, the pricing constants, and the planning-only caveat. An agent has enough to call it correctly and to describe the results to a user.

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 baseline is 3, but the description adds meaning to the enums that the schema only labels: it explains what asc14 vs qsb6 imply in tax terms, what the three compare_fee options represent, and what each plan costs. Note that the foreign-engineer §174 amortization detail lives only in the schema, not the description.

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 states a specific verb and resource: a deterministic planning calculator that computes QRE, the federal R&D credit, a contingency-fee comparison, and net dollars kept. That is far more concrete than a restated title. It does not explicitly distinguish itself from siblings such as compare_irc_174a_vs_foreign_174, but the computation focus makes the boundary inferable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description frames the tool as a planning resource ('Illustrative planning estimate only, not tax advice'), which implies when to use it. However, it never states trigger conditions or when a sibling such as check_form_6765_section_g_applicability is the better call, and it gives no prerequisites or exclusions for the qsb6/asc14 choice.

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.