Skip to main content
Glama

Taokeh MCP server

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp. If you published it, claim ownership there.

File a pending depreciation run draft (a person approves in Taokeh)

create_depreciation_draft

Files a pending draft of Run depreciation on Fixed Assets, through a date. Nothing is posted until an admin or bookkeeper approves in Taokeh; approval runs it exactly as the page does: one entry per month (Dr depreciation expense, Cr accumulated depreciation) for every active asset's months not yet posted up to through. The result lists the months, each asset's charge and the total, as the rolled-back run produced them; asset_register depreciationNotRun shows the same months beforehand. A run with nothing to post is refused at filing, as is a month in a locked period. One run draft waits at a time; if an asset is added, changed, disposed or depreciated before approval, approval refuses and nothing is posted.

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": {
      "through": "<through>"
    },
    "name": "create_depreciation_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoA short note for the reviewer: where the figures came from.
throughYesPost every month up to this date, YYYY-MM-DD (normally a month-end).
needsReviewNotrue flags the draft for the reviewer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only mark this as a non-read-only, non-idempotent, non-destructive write. The description adds substantive behavior: nothing posts until approval, the approval replays the page's posting logic (one entry per month, Dr expense / Cr accumulated depreciation per asset), refusals occur for empty runs and locked periods, only one draft waits at a time, and approval is invalidated by any later asset change. This is exactly the mutation risk profile an agent needs.

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 action and the no-posting guarantee, then the posting mechanics, then the refusal conditions. Dense but each sentence carries distinct information; a couple of the later clauses are packed and could be split for readability.

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

Completeness5/5

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

There is no output schema, and the description compensates by describing the return value (the months, each asset's charge, and the total as the rolled-back run produced them). Combined with refusal conditions, the one-draft-at-a-time constraint and the staleness rule, an agent has everything needed to call it correctly and set expectations with a user.

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 100%, so the baseline is 3, but the description adds real semantics: `through` is a cumulative catch-up boundary covering every active asset's months not yet posted up to that date, normally a month-end. `note` and `needsReview` are left to the schema, which documents them adequately.

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?

States a specific verb and resource ('Files a pending draft of Run depreciation on Fixed Assets, through a date') and scopes it to a draft rather than a posted run. An agent can distinguish it from create_payroll_run_draft or create_journal_draft without opening another schema.

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?

Clearly establishes the workflow context (nothing posts until an admin/bookkeeper approves in Taokeh) and points to asset_register `depreciationNotRun` as a way to preview the same months beforehand. It does not explicitly say when to prefer revise_draft on an existing draft or what to do when a draft already waits, so it falls short of a full when/when-not/alternatives treatment.

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