Skip to main content
Glama

CapLedger R&D Tax Credit & Software CapEx

compare_irc_174a_vs_foreign_174

Read-onlyIdempotent

Deterministic Year-1 tax deduction and 15-year midpoint amortization comparison between U.S.-based software R&E (IRC §174A immediate deduction) and offshore non-U.S. engineering (Foreign IRC §174 15-year midpoint amortization: 3.33% Year 1, 6.67% Years 2-15, 3.33% Year 16; $0 federal R&D credit).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domestic_us_rd_spend": "<domestic_us_rd_spend>"
    },
    "name": "compare_irc_174a_vs_foreign_174"
  }
}

Input Schema

NameRequiredDescriptionDefault
domestic_us_rd_spendYesQualifying U.S.-based software R&E spend in USD.
foreign_non_us_rd_spendNoQualifying non-U.S. (offshore) software R&E spend in USD.

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 read-only, idempotent, closed-world, non-destructive behavior. The description adds meaningful domain context beyond that: deterministic calculation, specific amortization percentages, a 15-year midpoint schedule, and $0 federal R&D credit for foreign spend. It does not contradict the annotations.

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 description is a single dense sentence, but it is front-loaded with the comparison purpose before supplying the amortization detail. The parenthetical schedule is useful for understanding the calculation and does not feel like padding, though the sentence is longer than strictly necessary.

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?

For a two-parameter, read-only calculation tool with full schema coverage and explicit annotations, the description gives enough context to understand the comparison being performed. It lacks explicit output-shape guidance, but the calculation semantics are sufficiently clear for an agent to invoke it correctly.

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 100%, so both parameters are already fully documented as U.S.-based and non-U.S. software R&E spend in USD. The description contextualizes those inputs but does not add syntax, constraints, or interpretation beyond what the schema provides.

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 names a specific calculation, resource, and scope: a deterministic Year-1 deduction and 15-year midpoint amortization comparison between U.S. IRC §174A and Foreign IRC §174 treatment. An agent can distinguish this from credit-calculation or form-applicability siblings 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 Guidelines3/5

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

Usage is implied by the comparison framing, but the description does not explicitly state when to use this tool versus calculate_rd_credit_savings or check_form_6765_section_g_applicability. It also provides no exclusions or prerequisites, leaving the agent to infer the appropriate context.

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.