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.

Sales summary

sales_summary
Read-only

How much you have sold. With no dates: today and this month so far. With from/to: the invoiced sales for that period, broken down by month, customer and product (a lone from runs to today; a lone to is refused). All figures are MYR (a foreign-currency invoice converts at the rate frozen on it) and count invoices only: credit notes are not netted in, so a period with returns is not net of them. Two tax bases, each named in the payload: on byMonth and byCustomer, total includes tax and exTax is before SST; byProduct is a per-line figure, always before tax, so it adds up to exTax, not to total.

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

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo

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

A4.7/5.0
Behavior5/5

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

Annotations already declare a safe read (readOnlyHint, destructiveHint false, closed-world), and the description still adds substantial behavior: figures are MYR, foreign invoices convert at the rate frozen on the invoice, credit notes are deliberately not netted, and a period with returns is therefore gross. It also discloses a non-obvious trap — that byProduct is pre-tax while byMonth/byCustomer totals include tax — which an agent could not infer from annotations or schema.

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 one-line answer and then built as nested clauses on defaults, currency, tax basis and credit notes; nearly every sentence earns its place. It is a single dense paragraph, though, and the tax-basis clause is heavy enough that a bulleted split would read faster.

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 takes on the job of describing the return shape — byMonth, byCustomer, byProduct, total, exTax — and does so. Combined with the currency and credit-note caveats, an agent has everything needed to call it and to interpret the response correctly.

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

Parameters5/5

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

Schema description coverage is 0% and the two parameters carry only a date pattern, so the description must carry the semantics — and it does: `from` alone runs to today, `to` alone is rejected, and supplying both yields the invoiced sales for that period. This is materially more than the schema conveys.

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 resource ('how much you have sold') and then splits the tool into two clearly delimited modes: no-dates (today + month-to-date) versus from/to (period sales broken down by month, customer and product). An agent can predict the shape of the output before calling. No sibling is named, but the scope is described precisely enough that confusion with channel_summary or business_snapshot is unlikely.

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?

Explicit conditional usage is given: omit dates for today/month-to-date, supply from/to for a ranged report, a lone `from` runs to today, and a lone `to` is refused. That is real when-to-use guidance rather than implication. The only gap is that it never points at an alternative tool when this one is the wrong choice.

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