Skip to main content
Glama

finance_qsbs

Read-only

QSBS Section 1202 Gain Exclusion — Qualified small business stock (IRC 1202) gain exclusion calculator, updated for the 2025 law change. Required: acquired (YYYY-MM-DD original issuance), sold (YYYY-MM-DD), gain (USD). Optional: basis (applies the 10x-basis cap), prior_excluded (gain already excluded for this issuer), filing (single|mfj|mfs), gross_assets (issuer gross assets at issuance). Stock issued after July 4 2025: 50/75/100% after 3/4/5 years, $15M cap, $75M assets test; earlier stock: 5-year hold, 50/75/100% by acquisition date, $10M cap. Returns excluded and taxable gain (28% section 1202 portion vs regular), AMT preference, next tier date, verdict FULLY_EXCLUDED/PARTIALLY_EXCLUDED/NOT_YET_ELIGIBLE/NOT_ELIGIBLE and the eligibility checklist. Offline. Price: $0.003 USDC (Base, via x402).

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": {
      "acquired": "<acquired>",
      "sold": "<sold>",
      "gain": "<gain>"
    },
    "name": "finance_qsbs"
  }
}

Input Schema

NameRequiredDescriptionDefault
gainYes12000000
soldYes2025-06-01
acquiredYes2018-03-01

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint/destructiveHint already covering the safety profile, the description adds substantial behavior: the specific return payload (excluded vs taxable gain, 28% section 1202 portion, AMT preference, next tier date), the verdict enum, and the eligibility checklist. It also discloses cost ($0.003 USDC via x402), which annotations do not carry. Minor tension: it says 'Offline' while openWorldHint=true is set, though this reads as 'no external data lookup' rather than a true behavioral contradiction.

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?

Dense but front-loaded: what it computes, then inputs, then the 2025-vs-earlier rule tiers, then outputs. The statutory tier sentences (50/75/100%, $15M cap, $75M assets test) are compressed rather than padded. Slight drag from cramming pricing and law-change trivia into an already long paragraph.

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?

No output schema exists, so the description correctly spends its space enumerating return values and the verdict enum. For a single-purpose statutory calculator that is essentially complete; the gap is the phantom optional parameters and the absence of any stated failure modes or edge-case behavior.

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?

The schema nominally has 100% description coverage, but each 'description' is only a bare example value ('12000000', '2025-06-01'), so the description genuinely adds meaning: date format YYYY-MM-DD, USD units, and that basis triggers the 10x-basis cap while prior_excluded covers gain already excluded for the issuer. However, it also advertises four optional parameters (basis, prior_excluded, filing, gross_assets) that do not exist in the input schema, which would mislead an agent trying to pass them.

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+resource: a Qualified Small Business Stock (IRC 1202) gain exclusion calculator, with scope qualifiers ('updated for the 2025 law change'). An agent can distinguish it from neighbors like finance_capital_gains or finance_home_sale_exclusion purely from the description.

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 rather than stated: it lists required (acquired, sold, gain) and optional inputs, so an agent can infer what data must be gathered before calling. It never says when to prefer this over a general capital-gains calculator, nor any prerequisites or exclusions.

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.

Resources