Skip to main content
Glama

finance_passive_loss

Read-only

Rental Passive Loss Allowance (IRC 469) — How much of a rental real estate loss you can deduct this year under the passive activity rules (Form 8582). Required: rental_loss (USD), magi (USD). Optional: filing (single|mfj|hoh|qss|mfs_apart|mfs_together), carryforward (prior suspended losses), passive_income (other passive income), active (true|false, default true), re_professional (true = real estate professional, losses nonpassive), disposed (true = entire interest sold, losses released). Applies the $25,000 special allowance phased out by 50% of MAGI over $100,000 ($12,500/$50,000 MFS apart, $0 MFS together). Returns allowed loss, suspended carryforward, verdict. Offline. Price: $0.002 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": {
      "rental_loss": "<rental_loss>",
      "magi": "<magi>"
    },
    "name": "finance_passive_loss"
  }
}

Input Schema

NameRequiredDescriptionDefault
magiYes120000
rental_lossYes18000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, destructiveHint=false), it discloses that the tool is offline/deterministic, that it costs $0.002 USDC on Base via x402, and that it returns allowed loss, suspended carryforward, and a verdict. It also spells out the phaseout arithmetic ($25,000 reduced by 50% of MAGI over $100,000, with MFS variants), which is real behavioral context an agent cannot get from the annotations. Error behavior for invalid inputs is not covered.

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 definition is a single dense paragraph but is front-loaded with the purpose, then 'Required:', then 'Optional:', then the formula and output/pricing. Nearly every clause carries information. It is longer than strictly necessary and crams parameter documentation into prose where a bulleted list would scan faster.

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 deterministic two-parameter calculator with no output schema, the description covers the computation rule, the payment requirement, and the shape of the return values. The main gaps are the schema/description mismatch on optional parameters and the undefined format of the 'verdict' field.

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?

The prose adds substantial meaning beyond the schema: it documents semantics, defaults, and allowed values for filing (single|mfj|hoh|qss|mfs_apart|mfs_together), carryforward, passive_income, active (default true), re_professional, and disposed. The notable weakness is that six of those parameters appear only in the description and are absent from the input schema, so an agent could attempt to pass them and be rejected — the parameter story is informative but internally inconsistent.

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 first clause names a specific resource and operation: 'Rental Passive Loss Allowance (IRC 469) — How much of a rental real estate loss you can deduct this year under the passive activity rules (Form 8582).' An agent can tell this is a rental-loss deductibility calculator rather than a generic tax tool. It stops short of naming a sibling such as realestate_repetitive_loss to disambiguate the two loss-related tools.

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 establishes the exact scenario (rental real estate loss under passive activity rules for the current year) and encodes conditional usage through flags: re_professional=true means 'losses nonpassive' and disposed=true means 'entire interest sold, losses released' — these effectively tell the agent when the special allowance logic does and does not apply. There are no explicit exclusions or named alternatives, so it falls short of a 5.

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