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 asset disposal draft (a person approves in Taokeh)

create_asset_disposal_draft

Files a pending draft of Dispose on an asset's page. Nothing is posted until an admin or bookkeeper approves in Taokeh; approval disposes it exactly as the page does: depreciation is brought up to the disposal month, depreciation already posted for any later month is taken back (one entry per month, dated that month-end), then one entry clears the cost and the accumulated depreciation, takes the proceeds into the account named, and books the gain or loss. assetId comes from asset_register. Proceeds go into one of the company's cash or bank accounts (asset_register proceedsAccounts); proceeds that went anywhere else, such as a trade-in against a supplier, are recorded with Dispose on the asset's page. The result carries the accumulated depreciation, the net book value, the gain or loss, any months taken back and every journal line, as the rolled-back run produced them. Refused at filing and approval in the page's words: an asset already disposed, proceeds with no account, a date before the asset was bought or put into use, a date in a locked period (a month to take back included), a date on or before an already-owned asset's start date. Also refused here: proceeds below zero. A second disposal draft for the same asset is refused while one waits; if the asset is depreciated or changed 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": {
      "assetId": "<assetId>",
      "disposalDate": "<disposalDate>"
    },
    "name": "create_asset_disposal_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoA short note for the reviewer: where the figures came from.
assetIdYesThe asset, from asset_register.
proceedsNoWhat it was sold for, in ringgit; 0 for a write-off.
needsReviewNotrue flags the draft for the reviewer.
disposalDateYesThe disposal date, YYYY-MM-DD.
proceedsAccountCodeNoThe cash or bank account the proceeds went into (asset_register `proceedsAccounts`), when there are proceeds.

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 declare the operation is a non-read, non-destructive, non-idempotent write. The description goes well beyond that: nothing is posted until approval, the approval sequence is spelled out (depreciation brought up to the disposal month, later months rolled back one entry per month at month-end, cost and accumulated depreciation cleared, proceeds booked, gain/loss computed), and the result payload is enumerated. It also lists exact refusal conditions at filing and approval, including stale-asset refusal — no contradiction with the annotations.

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?

Purpose and the pending/approval premise are front-loaded, and every sentence carries factual weight — refusal reasons, account sourcing, result contents. The middle passage on approval accounting mechanics is dense and longer than strictly needed for a filing tool, but it is informational rather than filler.

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 enumerating what the result carries (accumulated depreciation, net book value, gain or loss, months taken back, journal lines). Combined with the refusal list, approval dependency, and account sourcing, an agent has everything needed to invoke it and interpret the outcome.

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. The description adds real meaning beyond the schema for the two most consequential fields: assetId is sourced from asset_register, and proceedsAccountCode must be one of the company's cash or bank accounts listed in asset_register `proceedsAccounts`, with a redirect for proceeds received elsewhere. The remaining fields (note, needsReview, proceeds, disposalDate) are left to the schema.

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?

The first sentence states a specific verb and resource: files a pending draft of Dispose on an asset's page, and immediately clarifies the pending/non-posting nature. It distinguishes itself from the page-based Dispose flow and points at asset_register as the source of assetId, so an agent can route correctly 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?

It gives explicit routing guidance for a key case: proceeds that went anywhere other than a company cash/bank account, such as a trade-in against a supplier, must use Dispose on the asset's page instead. It also states the duplicate-draft condition and the stale-approval condition. It does not name other draft siblings such as create_depreciation_draft or revise_draft, so when-not guidance is clear but not exhaustive.

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