Skip to main content
Glama
fawaikuangtuzhangfei

baozhibao-mcp-server

scan_add_item

Scan a barcode to add an item to your inventory. Automatically identifies product details, then lets you specify storage location, quantity, and expiry date.

Instructions

通过扫描条形码添加物品。系统会自动识别物品信息,用户只需补充存放位置等信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barcodeYes条形码(必填)
quantityNo数量,默认为1
expiryDateNo过期日期,格式 YYYY-MM-DD
locationIdNo存放位置ID
locationNameNo存放位置名称,如"冰箱"、"柜子"
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It discloses that the system automatically recognizes item information, but it does not mention error handling for unknown barcodes, whether existing items are updated, required permissions, or any side effects. As a mutation tool, this is insufficient behavioral disclosure.

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 one concise sentence, front-loaded with the action and purpose. Every word earns its place, with no redundant filler. It is appropriately sized for the tool.

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?

With 5 parameters, no annotations, and no output schema, the description is too brief. It does not explain what happens after a successful scan (return values, confirmation), what occurs if the barcode is not in the database, or edge cases like duplicate items. The tool is complex enough to require more context than provided.

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 input schema has 100% coverage with descriptions for all parameters. The description adds context that users only need to supplement information like location, but this does not add meaning beyond the schema. Baseline 3 applies since the schema handles parameter documentation well.

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 action: scan barcode to add an item. It specifies the resource (items) and the method (barcode scanning), distinguishing it from siblings like add_item which likely handles manual entry. The verb '添加' (add) is specific and unambiguous.

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 implies use when the user has a barcode and wants to add an item, and that the system auto-fills info, requiring the user to only supply additional fields like location. However, it does not explicitly compare against alternatives like add_item or mention when not to use this tool. Clear context but no explicit exclusions.

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/fawaikuangtuzhangfei/baozhibao-mcp-server'

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