Skip to main content
Glama
tzangms

shopline-mcp

by tzangms

get_delivery_time_slots

Get the list of available delivery time slots for a delivery option, enabling you to confirm booking availability or analyze customer preferences for delivery times.

Instructions

取得指定配送方式的可用時段清單。

【用途】 查詢特定配送方式的預約時段設定,例如到府配送的時間選項。 適合確認預約配送時段或分析客戶配送時段偏好。

【呼叫的 Shopline API】

  • GET /v1/delivery_options/{delivery_option_id}/time_slots

【回傳結構】 dict 含 delivery_option_id, total, time_slots[]。 每個 time_slot 包含 id, day, start_time, end_time, enabled 等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
delivery_option_idYes物流方式 ID(由 list_delivery_options 回傳的 id 欄位取得)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the HTTP method (GET), implying read-only behavior, and details the return structure (dict with delivery_option_id, total, time_slots[] with fields). However, it doesn't mention pagination behavior, potential errors, or prerequisites beyond the parameter. This is adequate but not rich.

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?

Description is well-structured with clear sections (用途, API, 回傳結構). It is concise, front-loads the main purpose, and each section provides useful information without unnecessary filler.

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?

For a simple read-only tool with one parameter and no output schema, the description covers purpose, usage context, API call, and return structure. Missing details like pagination or sorting are minor for a time-slot list tool. The description is complete enough for an agent to select and invoke correctly.

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 coverage is 100% and the parameter description already explains '物流方式 ID(由 list_delivery_options 回傳的 id 欄位取得)'. The tool description does not add extra parameter semantics beyond the schema, but it does reinforce the context by mentioning '指定配送方式'. Baseline 3 is appropriate.

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?

Description uses specific verb+resource ('取得指定配送方式的可用時段清單'), clearly identifying this tool retrieves time slots for a specified delivery method. It distinguishes from siblings like list_delivery_options (listing options) and get_delivery_option_detail (option details) by focusing on time slots.

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?

Provides explicit use cases: '適合確認預約配送時段或分析客戶配送時段偏好' (suitable for confirming appointment delivery time slots or analyzing customer delivery time slot preferences). This tells the agent when to use it, though it doesn't explicitly mention alternatives or when not to use it.

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/tzangms/shoplinemcp'

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