Skip to main content
Glama

finance_mortgage_interest_limit

Read-only

Mortgage Interest Deduction Limit — Deductible home mortgage interest when loans exceed the $750,000 / $1,000,000 limits (IRS Publication 936 Table 1). Required: interest (USD paid this year) and at least one average balance: post_2017 (acquisition debt after Dec 15 2017), pre_2017 (Oct 14 1987 - Dec 15 2017), grandfathered (before Oct 14 1987), other_debt (home equity not used to buy, build or improve). Optional: filing (single|mfj|mfs; MFS limits halved). Returns the full worksheet, qualified loan limit, deductible and nondeductible interest, verdict FULLY_DEDUCTIBLE/PARTIALLY_DEDUCTIBLE/NOT_DEDUCTIBLE. 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": {
      "post_2017": "<post_2017>",
      "interest": "<interest>"
    },
    "name": "finance_mortgage_interest_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
interestYes65000
post_2017Yes1000000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description adds real context beyond that: it is an offline calculation, it costs $0.002 USDC via x402 on Base, and it returns a verdict enum. One minor tension: the description says "Offline" while annotations set openWorldHint=true, which is worth noting but is a definitional ambiguity rather than a genuine behavioral conflict, since nothing in the described computation reaches external state.

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 block, but it is front-loaded with the tool's identity and then the input contract before the outputs and price. Nearly every clause carries information (date boundaries, debt categories, verdict values, cost); the only mild redundancy is repeating the threshold figures already implied by the title.

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 correctly compensates by naming the return payload and its verdict values, and it discloses cost and the offline nature. It is nearly complete for a two-parameter calculation, with the remaining weakness being the mismatch between the documented optional parameters and the schema that omits them.

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 nominally 100%, but the schema only supplies example values ("65000", "1000000"), so the description carries the actual semantics: interest is USD paid this year, post_2017 is acquisition debt incurred after Dec 15 2017, and MFS filing halves the limits. That is substantial added meaning. The gap is that the description documents pre_2017, grandfathered, other_debt and filing, none of which appear in the supplied schema, creating a mismatch an agent must reconcile.

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 opens with a specific verb+resource pairing ("Mortgage Interest Deduction Limit" computation per IRS Publication 936 Table 1) and states exactly what is produced: worksheet, qualified loan limit, deductible/nondeductible split, and a three-valued verdict. It is unmistakably distinct from siblings like finance_mortgage_points or econ_debt_interest because it names the governing tax rule and the loan-limit thresholds.

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 applicability condition is explicit: use this when loans exceed the $750,000 / $1,000,000 limits, and the description enumerates which balance categories trigger the limit. Required vs optional inputs are spelled out. It stops short of naming an alternative tool for the under-limit case or stating exclusions, so it is clear context rather than full when/when-not routing.

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