Skip to main content
Glama

calc_depreciation

COMPUTE. Asset depreciation schedule. method: straight_line | declining_balance | sum_of_years_digits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
costYes
methodYes
currencyNo
salvage_valueYes
useful_life_yearsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description must disclose behavioral traits but only adds a list of methods. It does not mention return structure, limitations (e.g., salvage value must be less than cost), or how currency is handled, leaving significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely brief (one line), but this brevity is under-specification rather than conciseness. It omits critical information about parameters and expected outputs, so it is not appropriately sized.

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

Completeness1/5

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

Given 5 parameters, no annotations, and no output schema, the description is completely inadequate. It provides no context on return values, assumptions, or calculation details, making it nearly unusable for correct invocation.

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 coverage is 0%, so the description must compensate. It defines the 'method' possible values but provides no semantics for 'cost', 'salvage_value', 'useful_life_years', or 'currency', leaving most parameters unexplained.

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 clearly states the tool computes an asset depreciation schedule and lists three depreciation methods. This distinguishes it from sibling calculation tools like compound growth or IRR, though it could be more explicit about output format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives, nor any prerequisites or conditions for choosing a depreciation method. The description simply states the function without context.

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.