Skip to main content
Glama

CapLedger R&D Tax Credit & Software CapEx

check_form_6765_section_g_applicability

Read-onlyIdempotent

Deterministic 2026 IRS Form 6765 Section G (Business Component) applicability screener. Checks the statutory small-filer screen ($1.5M controlled-group QRE and $50M prior 3-year average gross receipts) and QSB §41(h) payroll-tax election, and explains the 80% QRE / Top-50 Business Component reporting rules. Computational screener only; final filing determination remains with the company's CPA.

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": {
      "controlled_group_qre": "<controlled_group_qre>",
      "avg_prior_3yr_gross_receipts": "<avg_prior_3yr_gross_receipts>"
    },
    "name": "check_form_6765_section_g_applicability"
  }
}

Input Schema

NameRequiredDescriptionDefault
controlled_group_qreYesTotal controlled-group Qualifying Research Expenditures (QRE) in USD.
total_business_componentsNoOptional count of distinct software products/business components.
electing_payroll_tax_offsetNoTrue if claiming the Qualified Small Business §41(h) payroll-tax offset on Form 8974.
avg_prior_3yr_gross_receiptsYesAverage annual gross receipts for the 3 preceding tax years in USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety needs no restating. The description adds behavior beyond that: it is deterministic, outputs a screening judgment rather than a filing decision, and explains downstream 80% QRE / Top-50 Business Component reporting rules — useful context for interpreting the result. It does not note any limitations on which tax years or entity types the 2026 rules cover.

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?

Two sentences, tightly front-loaded: the identity of the tool comes first, the tests it evaluates second, and the CPA disclaimer last. Every clause carries substantive information about scope or limits; no filler or repetition of the name.

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?

With no output schema, the description should ideally say what a screening result looks like (pass/fail per test, which threshold failed), and it does not. Otherwise it is complete for a deterministic, four-parameter, read-only screener: the statutory inputs, the election, and the non-advice boundary are all covered.

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 description coverage is 100%, so the baseline would be 3, but the description goes further by tying parameters to concrete statutory thresholds: controlled_group_qre is compared against $1.5M and avg_prior_3yr_gross_receipts against $50M. It says nothing, however, about how total_business_components interacts with the Top-50 rule or what electing_payroll_tax_offset changes in the outcome.

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: 'applicability screener' for 2026 IRS Form 6765 Section G, with the exact statutory tests it evaluates ($1.5M controlled-group QRE, $50M prior 3-year average gross receipts, QSB §41(h) election). This is distinguishable at a glance from a credit calculator such as calculate_rd_credit_savings, because it screens eligibility rather than computing a credit.

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?

The description makes the use context explicit (pre-filing eligibility screening under the small-filer and QSB payroll-tax paths) and sets a clear boundary with 'Computational screener only; final filing determination remains with the company's CPA.' It does not explicitly say when to prefer calculate_rd_credit_savings or compare_irc_174a_vs_foreign_174 instead, so routing is only implied.

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.