Skip to main content
Glama

出口单 chukoudan

标签与条码

label
Read-onlyIdempotent

标签与条码(Labels and barcodes):EAN、UPC、FNSKU 条码,A4 或标签纸直接打印。 EAN-13, UPC-A and FNSKU barcodes, printed on A4 or label stock. 输入为精确的十进制字符串 / Inputs are exact decimal strings. 用户没有给的数字和日期不要自己编:必填的先问用户,选填的不填。 / Never make up a figure or a date the user did not give: ask for a required one, leave an optional one out. 回复时引用回答里的 provenance.source_line / Quote provenance.source_line in your reply. 结果仅供计算参考,不是税务、法律或投资意见;回答时请带上返回的说明和来源行。 / The result is for calculation and reference only, not tax, legal or investment advice; when you answer, pass on the returned notice and source line.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rows": [
        {
          "text": "STORAGE BOX GREY",
          "copies": "48",
          "number": "690123456789"
        },
        {
          "text": "STORAGE BOX BLUE",
          "copies": "24",
          "number": "690123456796"
        },
        {
          "text": "STORAGE BOX WHITE",
          "copies": "24",
          "number": "690123456802"
        }
      ],
      "type": "ean13",
      "paper": "a4",
      "startCell": "1"
    },
    "name": "label"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes条码 / Barcodes
typeYes条码类型。可选值:ean13 = EAN-13;upca = UPC-A;fnsku = FNSKU / Barcode type. options: ean13 = EAN-13; upca = UPC-A; fnsku = FNSKU
paperNo纸张。可选值:a4 = A4 标签纸;l40x30 = 40 × 30 mm 标签;l100x150 = 100 × 150 mm 标签 / Paper. options: a4 = A4 label sheet; l40x30 = 40 × 30 mm label; l100x150 = 100 × 150 mm label
startCellNo从第几格开始 / Start at cell

Output Schema

NameRequiredDescriptionDefault
toolYes
linksYes
stepsYes
outputsYes
printedNo
warningsYes
normalizedNo
provenanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / description
      Previous value: -"数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures are best sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."New value: +"数字最好写成字符串(十进制,如 \"12.5\"),JSON 数字也行;千位逗号只认 1,234,567 这种写法,小数点用英文句点,不要带货币符号或单位。币种可写 USD、usd 或 美元,单位可写 cm 或 厘米,日期可写 2026-05-01、2026/05/01 或 20260501。读不准的一律拒绝并说明原因,绝不猜;回答里的 normalized 列出实际采用的值。 / Figures should be sent as decimal strings such as \"12.5\"; a JSON number is accepted too. A thousands comma only as 1,234,567; the decimal point is a dot; no currency symbols or units. A currency may be USD, usd or 美元, a unit cm or 厘米, a date 2026-05-01, 2026/05/01 or 20260501. Anything that cannot be read in exactly one way is refused with a reason, never guessed; `normalized` in the answer lists what was used."
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety and determinism profile is covered. The description adds genuine behavior beyond that: strict refusal of ambiguous input, a `normalized` echo of adopted values, and a mandatory provenance.source_line plus disclaimer that must be passed through to the user. It does not describe printing/rendering behavior or limits such as the 20-row cap, though the schema supplies the cap.

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

Conciseness3/5

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

The purpose sentence is front-loaded and clear, but the body is bilingual duplication plus boilerplate about currency codes, units and dates that is largely irrelevant to a barcode-printing tool with four parameters. Much of the text is recycled shared scaffolding rather than tool-specific value, which dilutes the useful instruction.

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. The definition still covers input discipline, refusal-on-ambiguity, the normalized echo and the provenance/disclaimer obligation, which is enough to call it correctly. The leftover gap is the absence of any routing guidance among the twenty sibling tools.

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?

Schema description coverage is 100% — every parameter (rows, type, paper, startCell) carries its own bilingual description and both enums are enumerated in the schema. The description adds only general input-formatting rules (decimal strings, date forms, no currency symbols) that apply to figures and dates, which this tool's own parameters barely use. Baseline 3 is correct when the schema does the heavy lifting.

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 names the concrete resource and output (EAN-13, UPC-A, FNSKU barcodes printed on A4 or label stock), which tells an agent exactly what the tool produces and distinguishes it from calculation siblings like amazon-fees or cbm. It stops short of naming any sibling tool or comparing against one, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

The description gives real input-discipline guidance: quote exact decimal strings, never invent a number or date the user did not supply, ask for required values and omit optional ones. What it lacks is any when-to-use routing — no statement about when label generation applies versus the pricing/conversion siblings, and no prerequisites such as print setup.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources