Skip to main content
Glama

TaxRail

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as taxrail.

Check Crypto Disposal Tax Impact (FREE)

check_tax_impact

FREE tax optimization preview for US & Brazil crypto disposals. Supports explicit lots OR automatic on-chain scanning via EVM walletAddress (using Alchemy). Compares naive FIFO vs tax-optimized lot selection and TLH, returning verified tax savings, dynamic x402 pricing, and a planId.

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": {
      "jurisdiction": "<jurisdiction>",
      "regime": "<regime>",
      "targetAsset": "<targetAsset>"
    },
    "name": "check_tax_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
lotsNo
chainNo
regimeYes
contextNo
asOfDateNo
pricingTierNo
targetAssetYes
jurisdictionYes
sellQuantityNo
walletAddressNo
referrerWalletNo
currentPriceUsdNo
targetQuoteAssetNo
targetProceedsUsdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: a free tier, an external Alchemy dependency for on-chain scanning, FIFO-vs-optimized comparison with TLH, and outputs including savings, x402 pricing, and a `planId`. It omits what happens if neither `lots` nor `walletAddress` is supplied, the latency/cost of scanning, and it is slightly inconsistent in offering `solana` as a chain while describing wallet scanning as EVM-only.

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?

Three tight sentences, front-loaded with the free-preview value proposition, then input modes, then comparison behavior and returns. No filler, though the parenthetical '(using Alchemy)' is lower-value than the missing parameter explanation it displaces.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool with a nested context object, no annotations, and no output schema, the description is far too thin. It partially covers return values (savings, pricing, planId) but leaves the majority of inputs—including the entire tax `context` block that materially changes the computation—undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 14 parameters, so the description must compensate and largely does not. Only `lots` and `walletAddress` receive any explanation; `regime`, `jurisdiction`, `targetAsset`, `sellQuantity`, `targetProceedsUsd`, `pricingTier`, `asOfDate`, `referrerWallet`, and especially the nested `context` object (NIIT, usdBrlRate, marginal rates, Brazilian gross sales) are left entirely to inference from bare property names.

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 description states a specific verb+resource: it compares naive FIFO against tax-optimized lot selection for US and Brazil crypto disposals, and names the two input modes (explicit `lots` vs. on-chain `walletAddress`). It does not explicitly distinguish itself from the sibling `unlock_tax_plan`, though the mention of a 'preview' returning a `planId` implicitly signals the split.

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: 'preview' plus 'FREE' suggests this is the pre-purchase estimation step before a fuller plan, and the XOR between `lots` and `walletAddress` is hinted at. There is no explicit when-not-to-use guidance, no named alternative, and no prerequisites such as which jurisdiction/regime combinations are valid.

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