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.

Expense accounts

expense_accounts
Read-only

The accounts a paid-expense draft can use, by code: expenseCategories (what the money was for) and paidFromAccounts (where it came from). expenseCategories is the everyday set: expense and asset accounts, without cash/bank, the A/R and Inventory controls, contra accounts, and the accounts only Taokeh's engines book to (depreciation, foreign-exchange losses, loss on disposal, cash rounding, and salaries and employer statutory once payroll runs in Taokeh). On filing, a category code is refused only if it is not an expense or asset account, or is a cash/bank, control or contra account, so an engine account such as depreciation is accepted by code. A paid-from code can be any asset, liability or equity account except the A/R and A/P controls, the zero-balance clearing accounts (Contra Clearing, Refund Clearing) and a foreign-currency bank or card (Taokeh posts ringgit accounts only for now); those are left out of paidFromAccounts and refused. Money the owner paid personally is paid from ownerPocketCode: Capital Contribution for a sole proprietor or partnership (which has no Shareholder's Loan, so that account is left out and refused), the Shareholder's Loan otherwise. When ownerPocketCode is null, ownerPaidRefusal says what the owner fixes first, and an owner-paid draft is refused until then.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "expense_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnly/closed-world/non-destructive; the description adds substantial behavioral context beyond that, including what is deliberately excluded from each set, the exact refusal conditions on filing, and the null-ownerPocketCode case surfaced via ownerPaidRefusal. It does not state whether the output varies per tenant or ledger state, or whether the call can fail, which keeps it short of a 5.

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?

The purpose is correctly front-loaded, but the body is one dense paragraph that folds response-field documentation, inclusion filters, and refusal rules together. Sentences such as the long exclusion list ending in parentheses around engine accounts are hard to parse and would read far better as a short list.

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 zero-parameter read tool with no output schema and no annotations beyond safety hints, the description is unusually complete: it covers both code sets, what is filtered out and why, filing-time refusal rules, and the owner-paid branch. What is missing is minor framing, such as whether the sets are static or depend on the caller's chart of accounts.

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?

With zero input parameters the baseline is 4, and the description correctly does not waste words on parameters. Its value lies instead in documenting the returned fields (expenseCategories, paidFromAccounts, ownerPocketCode, ownerPaidRefusal), which partially compensates for the absent output schema.

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 opening clause 'The accounts a paid-expense draft can use, by code' names the specific resource (two named code sets) and scopes it to expense drafts, which implicitly ties it to create_expense_draft/update_expense_draft. It lacks an explicit verb ('returns'/'lists') and never names a sibling, so an agent must infer the pairing rather than read it.

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 only implied: the description explains that these are the codes a draft 'can use' and which codes are refused, from which an agent can infer it should call this before drafting. There is no explicit 'call this before creating an expense draft' instruction, no statement of when it is unnecessary, and no named alternative.

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