Straight-line or double-declining-balance schedule for an asset.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
cost | number | required | Asset cost in USD |
salvage_value | number | optional | Salvage value at end of life, USD |
useful_life_years | integer | required | Useful life in years |
method | string | optional | Depreciation method One of: straight_line, double_declining |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "depreciation", "arguments": {"cost": 100, "useful_life_years": 30}}}'curl -s https://wingmanprotocol.com/tools/depreciation \
-H 'Content-Type: application/json' \
-d '{"cost": 100, "useful_life_years": 30}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/depreciation from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).