Skip to main content
Glama

pospal_create_product

Creates a test product with auto-generated barcode and first category if not specified.

Instructions

【写】创建测试商品。barcode 为空则自动生成;category_uid 为空则用第一个分类。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
barcodeNo
buy_priceNo5.00
sell_priceNo9.99
category_uidNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description adds some behavioral context: it indicates that empty barcode and category_uid will be auto-populated (auto-generated barcode, first category). However, it does not disclose error handling, permissions, or side effects beyond mutation implied by '写'.

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 concise with two key clauses. It is front-loaded with the primary purpose. However, it uses informal language ('test product') and is only in Chinese, which may reduce clarity for mixed-language contexts.

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 tool has 5 parameters, no annotations, and an output schema (which could explain return shape), the description lacks completeness. It does not mention required parameters beyond name, success conditions, or error states, leaving significant gaps for the agent.

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

Parameters2/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 add meaning. It explains default behaviors for two parameters (barcode, category_uid) but leaves name, buy_price, and sell_price completely undescribed. This partial coverage is insufficient.

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 the tool creates a product (创建测试商品). It distinguishes from sibling tools like pospal_create_category and pospal_update_product by specifying the resource (product). However, the inclusion of 'test' may introduce ambiguity about production usage.

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 provides no guidance on when to use this tool versus alternatives like pospal_update_product or pospal_delete_product. It only describes default behaviors for barcode and category_uid without usage 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/ironfrancis/FastPospal'

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