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.

Profit drivers

profit_drivers
Read-only

Why net profit moved: a deterministic breakdown, not a model's arithmetic. Compares the current month-to-date with the same day-span of the previous month (day 1 to the smaller of today's day and the prior month's last day), so a partial month is not set against a full one. Returns net profit for both windows and the delta; a drivers bridge (revenue delta, COGS delta, then the operating-expense accounts that moved most: the top 5 by absolute change plus an other roll-up); oneOffs (disposal and FX gains or losses, kept out of the movers; empty when there are none); the prior month's full-month net profit (priorMonthFull); and assumptions. Each driver's direction is its effect on profit ('improving', 'worsening', 'flat'). Amounts are integer cents (RM = cents ÷ 100). month picks another month; a completed past month compares its whole length. On periodic stock with no stock take this financial year and COGS of RM 0 in the window, a notes line says the gross-profit picture is incomplete: COGS is not a real driver there.

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": "profit_drivers"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthNoMonth to analyse, `YYYY-MM`. Omitted: the current month-to-date.

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. Changed1 schema field changed
    • changedInput schema / properties / month / description
      Previous value: -"Month to analyse, YYYY-MM. Omit for the current month-to-date."New value: +"Month to analyse, `YYYY-MM`. Omitted: the current month-to-date."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/destructive annotations: it defines the comparison windows, how partial months are handled, unit conventions (integer cents, RM = cents ÷ 100), the exact shape of `drivers`, how `oneOffs` are kept out of movers, and a specific edge case where `notes` flags incomplete gross profit. This is unusually rich disclosure for a read-only tool.

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 purpose and deterministic guarantee, then flows through outputs, units, and edge cases in a logical order. It is dense and long for a single-parameter tool, but nearly every clause carries operational information an agent would otherwise have to guess.

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?

With no output schema, the description carries the full burden of describing return values and does so field by field, including dir='improving'/'worsening'/'flat', the `other` roll-up, and the conditional `notes`. Nothing material to invoking or interpreting the result is missing.

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% and the single `month` pattern is documented there, so the baseline is 3. The description still adds real meaning: `month` selects another window, and a completed past month compares its whole length rather than a day-span, which the schema does not convey.

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 analytical question ('Why net profit moved') and a precise mechanism ('a deterministic breakdown, not a model's arithmetic'). This clearly separates it from the reporting siblings that merely present balances or snapshots.

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?

Usage context is clear: it is the tool for explaining period-over-period profit movement, with an explicit exclusion of model-computed arithmetic. It never names a sibling alternative or states when a plain P&L or snapshot tool should be preferred instead, so routing guidance stops short of a 5.

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