Skip to main content
Glama

pospal_product_summary

Count product quantities in stock by searching with barcode, product name, or pinyin code. Returns summary statistics.

Instructions

商品数量统计。keyword 支持条码/名称/拼音码。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enableNo1
keywordNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must disclose behavioral traits but only mentions keyword support. It fails to state whether the tool is read-only, if it requires authentication, or what the 'enable' parameter does. The output schema exists but is not described, leaving operation semantics unclear.

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 very short and front-loaded, stating purpose first. Every sentence is functional. However, it is too succinct, omitting crucial information that could be included without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema and the complexity of sibling tools, the description is insufficiently complete. It explains neither the output nor the enable parameter, and fails to differentiate from similar tools. An agent would struggle to use this tool correctly without additional context.

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

Parameters3/5

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

The description adds partial meaning to the keyword parameter (supports barcode/name/pinyin code), which the input schema (0% coverage) lacks. However, the enable parameter is completely unexplained, and its default value '1' gives no hint of purpose. The description partly compensates for schema gaps but only for one of two parameters.

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 description clearly states that the tool provides product quantity statistics and that keyword supports barcode/name/pinyin code. This distinguishes it from listing tools like pospal_list_products or lookup tools like pospal_find_product_by_barcode. However, it lacks specificity on the exact output format (e.g., total count vs grouped counts).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not provide any guidance on when to use this tool versus its siblings. No mention of when-not to use, prerequisites, or recommended filter scenarios. An agent would have no context to decide between this and pospal_list_products or pospal_get_product.

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/ironfrancis/FastPospal'

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