Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-depreciation

Depreciation: Builds a straight-line or declining-balance depreciation schedule from cost, salvage and life 🆓 5 free trial calls per signed wallet

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": "x402-depreciation"
  }
}

Input Schema

NameRequiredDescriptionDefault
costYes
lifeYes
rateNo
valueNo
yearsNo
methodNo
salvageNo
residualNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "cost",
      +  "life"
      +]
  2. Changed8 schema fields changed
    • removedInput schema / properties / cost / description
      Removed value: -"Cost to process"
    • removedInput schema / properties / life / description
      Removed value: -"Life to process"
    • removedInput schema / properties / method / description
      Removed value: -"Method to process"
    • removedInput schema / properties / rate / description
      Removed value: -"Rate to process"
    • removedInput schema / properties / residual / description
      Removed value: -"Residual to process"
    • removedInput schema / properties / salvage / description
      Removed value: -"Salvage to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
    • removedInput schema / properties / years / description
      Removed value: -"Years to process"
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and falls short: it does not say what the returned schedule looks like, how rounding/periods are handled, or what constraints apply. The only behavioral detail is a commercial note about 5 free trial calls per signed wallet, which hints at an auth/billing gate but does not explain it.

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?

A single front-loaded sentence followed by a short pricing tagline; nothing is padded. The emoji/trial blurb is marketing rather than operational, but it is brief.

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 an 8-parameter financial calculator with no annotations and no output schema, the description is too thin: it does not explain which optional parameters pair with each method or what the schedule output contains. An agent could call it, but only by guessing at half the inputs.

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 8 parameters, and the description only references three of them (cost, salvage, life) plus the method names. It never explains rate, value, years, or residual, nor resolves the apparent overlaps (life vs years, salvage vs residual), which are exactly the ambiguities an agent would trip over.

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 and resource ('Builds a ... depreciation schedule') and names the two supported methods, so an agent knows exactly what the tool computes. It does not differentiate from siblings, but the siblings are unrelated single-purpose calculators, so the omission costs little.

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 by the purpose: call it when a depreciation schedule is needed. However, it gives no guidance on when to choose straight-line vs declining-balance, which parameters select which method, or any preconditions, leaving the key decision to inference.

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.