Skip to main content
Glama
tzangms

shopline-mcp

by tzangms

list_conversations

Retrieve a summary of customer service conversations from Shopline to monitor ongoing and historical chats. Filter by conversation type to pinpoint conversations for detailed review.

Instructions

取得客服對話列表。

【用途】 瀏覽所有客服對話的摘要清單,了解目前進行中或歷史的客服溝通狀況。 可依此清單篩選需要進一步查閱訊息內容的對話,再用 get_conversation_messages 取得完整聊天記錄。

【呼叫的 Shopline API】

  • GET /v1/conversations?platform={platform}

【回傳結構】 dict 含 fetched, returned, platforms_queried[], platforms_failed[], conversations[]。 每個 conversation 包含 id, platform(對話類型), status(對話狀態), created_at。 注意:fetched 為實際抓取筆數,因額度用滿即停,並非全站總數; platforms_queried 只列實際查詢過的平台。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformNo對話類型:shop_messages(商店訊息)/ order_messages(訂單訊息)/ return_order_messages(退貨訊息)。不填則查詢全部三種並合併
max_resultsNo最多回傳筆數
Behavior4/5

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

With no annotations, the description carries full behavioral burden. It discloses important traits: the return structure (fetched, returned, platforms_queried, platforms_failed, conversations), per-conversation fields, and a caveat that fetched is not the total but the actual count due to quota limits. It stops short of explicitly stating auth requirements or confirming read-only behavior, but for a list operation this is sufficient.

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

Conciseness4/5

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

The description is well-structured with labeled sections (用途, 呼叫的 Shopline API, 回傳結構) and front-loaded with purpose. It is slightly longer than necessary due to the detailed return structure, but every section adds value and it remains focused.

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?

Given the tool's simplicity (2 optional params, no output schema), the description is thorough: it explains the purpose, API call, return structure, and a notable behavioral nuance about quota limits. It even directs the user to the appropriate next-step tool, making it complete for successful invocation.

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%: both platform and max_results have detailed descriptions in the schema, including enum-like values and default behavior. The tool description adds some context via the API endpoint and return structure, but does not meaningfully enhance parameter understanding beyond what the schema already provides.

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 opens with a clear verb+resource statement ('取得客服對話列表' – get customer service conversation list), then explains it provides a summary list of all conversations. It explicitly distinguishes itself from the sibling tool get_conversation_messages by noting that full message history requires that tool.

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

Usage Guidelines5/5

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

The description explicitly states the use case: to browse conversation summaries and identify which conversations need further inspection. It then provides a direct call-to-action to use get_conversation_messages for full chat history, making the when-to-use and alternative clear.

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