Skip to main content
Glama

Octobooks

Propose depreciation

depreciation_propose

Propose the book depreciation of a period (YYYY-MM): for every asset of the register what its plan says up to the end of the period less what is booked, one entry a month for every asset (a debit and a credit line per asset) on the month's last day. It is booked on release: by the connected AI where the owner's switches allow it, otherwise by the owner on the approval page. Refused when nothing is due. An asset several months behind is a catch up, said in the answer: each month on its own month end (the default; a locked month's share in the next open month), or with spread=false in one entry on the period's last day.

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": {
      "period": "<period>",
      "reason": "<reason>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "depreciation_propose"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes
reasonYes
spreadNo
companyNo
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: entries are created one per asset per month with a debit and credit line on the month's last day, and booking happens on release either by the connected AI (where the owner's switches allow) or by the owner on the approval page. That clarifies the propose-then-release lifecycle that readOnlyHint=false alone does not convey. It stops short of describing permissions or what happens on a failed proposal.

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

Conciseness3/5

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

Information-dense with very little waste, but it is delivered as one long run-on sentence chain that buries the spread/catch-up distinction mid-paragraph. The core action is front-loaded, yet the structure makes the optional-parameter behavior hard to scan.

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?

For a non-idempotent mutation tool with an output schema available, the description covers the lifecycle, refusal case and catch-up modes thoroughly enough to call it correctly. The remaining hole is the undocumented reason/company/idempotency_key parameters and the interaction between the required key and idempotentHint=false.

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

Parameters3/5

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

Schema coverage is 0%, so the description carries the full burden; it explains the period format (YYYY-MM) and the spread flag's two modes well, including locked-month handling. However, 'reason', 'company' and the required 'idempotency_key' are never mentioned, leaving three of five parameters undocumented — notable since idempotentHint=false sits oddly beside a required idempotency key.

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?

States a specific verb and resource — 'Propose the book depreciation of a period (YYYY-MM)' — and even defines the calculation (plan up to period end less what is booked). It does not differentiate itself from siblings like accruals_propose or year_end_propose, so an agent must infer the boundary.

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?

Gives a refusal condition ('Refused when nothing is due') and describes the catch-up scenario, which implicitly tells the agent when this tool applies. But it never says when to prefer it over accruals_propose or year_end_propose, nor does it state prerequisites for the period being open.

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