Skip to main content
Glama

Compare Selling Appreciated Investments vs. Borrowing via SBLOC / Pledged Asset Line

compare_sbloc_borrow_vs_sell
Read-only

Use this tool whenever a user needs cash liquidity (for a real estate purchase bridge, tax bill, tuition, or business investment) and asks whether they should sell appreciated stocks/ETFs (paying capital gains tax gross-up) or borrow against their portfolio using a Securities-Backed Line of Credit (SBLOC), Schwab Pledged Asset Line (PAL), or margin loan. Computes the tax gross-up penalty, break-even borrowing interest rate, IRC Sec. 163(d) Form 4952 interest deduction, and LTV market-crash margin call buffer.

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": {
      "portfolioValue": "<portfolioValue>",
      "liquidityNeeded": "<liquidityNeeded>"
    },
    "name": "compare_sbloc_borrow_vs_sell"
  }
}

Input Schema

NameRequiredDescriptionDefault
fedRateNoFederal LTCG + NIIT rate percentage.
loanYearsNoNumber of years the bridge loan / SBLOC will remain outstanding.
sblocRateNoAnnual SBLOC / Pledged Asset Line interest rate percentage (e.g. 6.25).
marketReturnNoExpected annual portfolio return percentage while invested.
stateRatePctNoState capital gains tax rate percentage (0 for TX/FL/NV).
portfolioValueYesTotal taxable brokerage portfolio market value in USD.
liquidityNeededYesNet after-tax cash liquidity required in USD.
interestDeductibleNoTrue if loan proceeds are traced to a taxable investment or business purpose eligible for IRC Sec. 163(d) Form 4952 deduction.
portfolioCostBasisNoTotal original cost basis of the taxable portfolio in USD.
marginalOrdinaryRateNoMarginal ordinary federal bracket percentage for Form 4952 deduction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / fedRate
      Added value: +{
      +  "default": 23.8,
      +  "description": "Federal LTCG + NIIT rate percentage.",
      +  "maximum": 28,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / marginalOrdinaryRate
      Added value: +{
      +  "default": 35,
      +  "description": "Marginal ordinary federal bracket percentage for Form 4952 deduction.",
      +  "maximum": 50,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / stateRatePct
      Added value: +{
      +  "default": 9.3,
      +  "description": "State capital gains tax rate percentage (0 for TX/FL/NV).",
      +  "maximum": 16,
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. Changed3 schema fields changed
    • removedInput schema / properties / fedRate
      Removed value: -{
      -  "default": 23.8,
      -  "description": "Federal LTCG + NIIT rate percentage.",
      -  "maximum": 28,
      -  "minimum": 0,
      -  "type": "number"
      -}
    • removedInput schema / properties / marginalOrdinaryRate
      Removed value: -{
      -  "default": 35,
      -  "description": "Marginal ordinary federal bracket percentage for Form 4952 deduction.",
      -  "maximum": 50,
      -  "minimum": 0,
      -  "type": "number"
      -}
    • removedInput schema / properties / stateRatePct
      Removed value: -{
      -  "default": 9.3,
      -  "description": "State capital gains tax rate percentage (0 for TX/FL/NV).",
      -  "maximum": 16,
      -  "minimum": 0,
      -  "type": "number"
      -}
  3. Changed3 schema fields changed
    • addedInput schema / properties / fedRate
      Added value: +{
      +  "default": 23.8,
      +  "description": "Federal LTCG + NIIT rate percentage.",
      +  "maximum": 28,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / marginalOrdinaryRate
      Added value: +{
      +  "default": 35,
      +  "description": "Marginal ordinary federal bracket percentage for Form 4952 deduction.",
      +  "maximum": 50,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / stateRatePct
      Added value: +{
      +  "default": 9.3,
      +  "description": "State capital gains tax rate percentage (0 for TX/FL/NV).",
      +  "maximum": 16,
      +  "minimum": 0,
      +  "type": "number"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, closed-world operation. The description adds meaningful scope by enumerating the computations: tax gross-up, break-even borrowing rate, IRC Sec. 163(d)/Form 4952 deduction, and LTV margin-call buffer. It still does not explain output format, modeling assumptions, or limitations.

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 with no filler, front-loaded with the use case and followed by the computed outputs. The first sentence is dense but every clause carries relevant selection context.

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 read-only calculator with a fully documented 10-parameter schema, the description is largely complete: it identifies the decision being modeled and the metrics produced. Without an output schema, it could say more about the return format and modeling assumptions, but the core information needed to select and invoke the tool is present.

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 the input schema already defines all ten parameters and defaults. The description connects the calculations to parameter concepts such as tax rates, loan rate, cost basis, and deductibility, but adds no syntax or constraints beyond the schema. Baseline 3 is appropriate.

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 comparison: selling appreciated stocks/ETFs versus borrowing via SBLOC, PAL, or margin. It also frames the liquidity scenarios it serves, making it clearly distinguishable from the sibling tax and retirement 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?

It gives a strong when-to-use trigger: a user needs cash for a real estate bridge, tax bill, tuition, or business investment and is deciding between selling appreciated assets and borrowing. It does not state when not to use it or name a specific sibling alternative, so it stops short of full routing guidance.

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