Skip to main content
Glama

finance_depreciation

Read-only

Depreciation schedule — Asset depreciation schedule: straight line, double declining (ddb), 150% declining (db150) with switch to straight line, sum-of-years digits (syd), units of production (units with total_units= and units=), or US MACRS (method=macrs, life=3|5|7|10|15|20 half-year IRS table, or 27.5|39 mid-month with placed=YYYY-MM; optional bonus= percent and section179= amount). Params: cost, life, salvage, placed= for a partial first year. Returns year-by-year depreciation, accumulated, book value, rate, and first-year comparison by method. 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": {
      "cost": "<cost>",
      "life": "<life>"
    },
    "name": "finance_depreciation"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYes50000
lifeYes5

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, so safety is covered; the description adds genuinely new behavior: the return payload ('year-by-year depreciation, accumulated, book value, rate, and first-year comparison by method') and a paid-access model ('$0.002 USDC (Base, via x402)'), which an agent must know before calling. It stops short of pagination/limits, but this is a single-shot computation so that matters less.

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?

Front-loaded with the resource and method list, then parameters, then return shape, then price — a sensible ordering. It is dense and parenthesis-heavy (the MACRS clause in particular), but nearly every clause carries a real constraint; the only redundancy is repeating 'Asset depreciation schedule' in the opening.

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 returned columns, and it discloses the payment requirement and return-comparison behavior. The gap is that several described parameters (method, salvage, units, bonus, section179, life table values) do not appear in the input schema, so an agent must trust the prose over the structured contract.

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 descriptions are bare examples ('50000', '5') and it declares only cost and life as required properties. The description is the only place that reveals salvage, placed=, method=, total_units=, units=, bonus=, and section179=, which is substantial added meaning. The one risk is that these extra parameters are not declared in the schema at all, so an agent cannot verify accepted names or types from structured data.

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?

Opens with a specific verb+resource ('Depreciation schedule — Asset depreciation schedule') and then enumerates the exact methods supported (straight line, ddb, db150, syd, units of production, MACRS). An agent immediately knows this computes depreciation schedules rather than any of the finance_bank / finance_income_tax / finance_loan_calc siblings, none of which overlap.

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?

Gives strong intra-tool selection guidance: it states the mutually exclusive method families and the exact parameterization for each (method=macrs with life=3|5|7|10|15|20 half-year, or 27.5|39 mid-month with placed=YYYY-MM; units with total_units= and units=). What's absent is any statement of when NOT to use it or which sibling to reach for instead, though no sibling appears to cover depreciation.

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