Skip to main content
Glama
vansyson1308

kiotviet-mcp

by vansyson1308

Sales summary

get_sales_summary
Read-onlyIdempotent

Compare revenue and units sold across today, yesterday, last 7 or 28 days against the previous equivalent period.

Instructions

Revenue and units for today, yesterday, the last 7 days or the last 28 days, compared with the previous equal period (same weekday last week for single days).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNotoday

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
fromYes
unitsYes
periodYes
revenueYes
change_pctYes
previous_revenueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, covering safety. The description adds valuable behavioral detail about the comparison logic (same weekday last week for single days), which is not captured elsewhere. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, dense sentence with no filler. It front-loads the core output (revenue and units) and immediately clarifies the period options and comparison logic, making every word earn its place.

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?

Given the single parameter, clear enum values, output schema presence, and annotations covering safety, the description provides all necessary context for an agent to call the tool correctly. It explains the comparison methodology, which is the only non-obvious aspect.

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%, so the description must compensate. It explicitly lists all enum values (today, yesterday, last_7_days, last_28_days) and explains their meaning via the comparison context. This fully compensates for the missing schema descriptions.

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 description clearly states the tool returns revenue and units for specified periods, with a comparison to the previous equal period. This is a specific verb+resource and is clearly distinct from sibling tools about stock and reorders.

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?

The description provides clear context about what data it returns (sales revenue and units) and the available periods. While it does not explicitly name alternatives or exclusions, the sibling tools are all in the stock/reorder domain, making the usage context unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.