Skip to main content
Glama

bulk_execute_shipment

Batch mark multiple orders as shipped using a single API call. Improves warehouse efficiency for daily bulk shipments.

Instructions

[WRITE] 批次執行多訂單出貨。

【用途】 一次性將多筆訂單標記為已出貨,提升倉庫作業效率,適用於每日批量出貨場景。

【呼叫的 Shopline API】

  • POST /v1/orders/shipment/bulk

【回傳結構】 dict 含 success: bool, resource_id: str, message: str, order_ids: list。

【副作用】

  • 所有指定訂單的出貨狀態批次更新為已出貨

  • 部分訂單若無法出貨,API 可能整批失敗或回傳各別結果(取決於 Shopline 實作)

  • 可能觸發多封客戶出貨通知

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idsYes訂單 ID 列表,批次出貨
Behavior4/5

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

No annotations provided; description discloses API call, side effects (batch update, partial failure, customer notifications), and return structure, compensating well.

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?

Well-structured with sections for purpose, API, return, side effects. Front-loaded and concise, no superfluous text.

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

Completeness5/5

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

Covers key aspects: batch operation, potential partial failures, return format. Sufficient for correct agent invocation given tool complexity.

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?

Single parameter order_ids with 100% schema coverage; description adds context of batch usage but no extra semantics beyond the schema.

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?

Clearly states it's a write operation for batch executing multiple order shipments, distinguishes from single-order execution. The title and description specify the action and resource.

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?

Describes use case for daily batch shipment but lacks explicit when-not-to-use or comparison with sibling execute_order_shipment for single orders.

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/asgard-ai-platform/mcp-shopline'

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