Skip to main content
Glama

update_pickup_store

Update the pickup store details for a specified delivery option. Modify fields like store name, address, phone, and business hours to keep your store information current.

Instructions

[WRITE] 更新配送選項的自取門市資訊。

【用途】 修改指定配送選項下的自取門市(Pickup Store)資訊,例如更新門市名稱、地址、電話、營業時間等。 適合門市資訊異動時同步更新 Shopline 的自取門市設定。

【呼叫的 Shopline API】

  • PUT /v1/delivery_options/{delivery_option_id}/pickup_store

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

【副作用】

  • 修改指定配送選項下的自取門市資訊,變更立即生效

  • 顧客於結帳頁選擇自取時將看到更新後的門市資訊

  • 不可復原,但可再次呼叫此工具覆蓋

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
delivery_option_idYes配送選項 ID
pickup_store_dataYes自取門市資料,例如:{"store_name": "台北信義門市", "address": "台北市信義區...", "phone": "02-1234-5678", "business_hours": "10:00-22:00"}
Behavior5/5

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

With no annotations present, the description fully carries the transparency burden. It marks the tool as [WRITE], lists side effects (immediate effect, irreversible but overwritable), and describes the return structure, providing comprehensive 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 concise, structured into labeled sections (purpose, usage, API, return, side effects), and every sentence serves a purpose. It is front-loaded with the [WRITE] tag and core action.

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?

The explanation covers purpose, effects, and return format, which is sufficient for a tool with 2 parameters and no prerequisites. It omits error handling and assumptions but remains largely complete for agent invocation.

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

Parameters4/5

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

Schema coverage is 100% already, but the description adds value by explaining that pickup_store_data includes fields like store_name, address, phone, and business_hours, giving context beyond the schema's generic 'object' type.

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 explicitly states it updates pickup store information for a delivery option, using the verb 'update' and specifying the resource '自取門市資訊' (pickup store info). No sibling tool has a similar purpose, making it uniquely identifiable.

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 indicates it is suitable when store information changes and syncs with Shopline settings. However, it does not specify when not to use this tool or suggest alternatives, leaving the agent without exclusion criteria.

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