Skip to main content
Glama
xuanji86

GunStore-POS Admin MCP

by xuanji86

sales_report

Generate a read-only sales report showing revenue and net profit across POS, Web, and Manual channels. Filter by date, view, channel, and product type for per-order or per-product tax-classified results.

Instructions

The POS Sales Report (revenue + profit, all channels), returned UNCHANGED — columns, rows and the report_summary cards. view: "Order" (per-order), "Order Detail" (order → line drill-down) or "Product" (default here — the CPA tax-reporting view: per-line tax from ERPNext's stored item-wise tax details, tax rows classified to Sales Tax / Shipping / Unclassified fail-closed). channel: POS | Web | Manual (empty = all). product_type: "Firearms" | "Non-Firearms" (empty = all) — any OTHER value is REFUSED by the server rather than ignored (F-2: an unrecognised value used to return everything unfiltered, which reads as "no rows of that type"). Profit is net (pre-tax). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNoProduct
channelNo
to_dateYes
from_dateYes
product_typeNo
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses read-only behavior, passthrough semantics ('returned UNCHANGED'), fail-closed refusal of invalid product_type values, and profit being net pre-tax. The F-2 historical note is a genuinely useful behavioral nuance.

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?

The description is dense and front-loaded with the resource name and core behavioral guarantee before parameter details. Minor redundancy ('default here' and repeated 'empty = all') and the long single-paragraph structure keep it from a perfect score.

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?

Despite no output schema and no annotations, it explains the output shape ('columns, rows and report_summary cards'), view semantics, channel/product_type constraints, and read-only nature. Missing date-format details and explicit sibling-tool routing are the only substantive omissions.

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 description coverage is 0%, and the description compensates strongly for view, channel, and product_type by enumerating allowed values and defaults. However, from_date and to_date are required yet receive no format or range guidance, leaving a notable gap.

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 names an exact resource ('The POS Sales Report') and states it returns revenue + profit across all channels, returned UNCHANGED. This clearly distinguishes it from siblings like financial_statement, tax_liability, and frappe_run_report without requiring the 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 clear invocation context by explaining valid values for view, channel, and product_type, including defaults and fail-closed behavior. It does not explicitly name alternative tools or say when not to use it, but an agent can determine the appropriate call from the provided context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xuanji86/gunstore-pos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server