Skip to main content
Glama
tzangms

shopline-mcp

by tzangms

list_merchants

Retrieve all merchants accessible by your API token to identify available stores in multi-merchant environments.

Instructions

取得所有商家清單。

【用途】 查看此 API token 可存取的商家帳號列表。 適合多商家環境下確認可操作的商家範圍。

【呼叫的 Shopline API】

  • GET /v1/merchants

【回傳結構】 dict 含 total, merchants[]。 每個 merchant 包含 id, name, handle, currency, locale, created_at 等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses the underlying API endpoint, the return structure (dict with total and merchants[]), and the fields per merchant. It does not mention pagination, errors, or rate limits, but for a simple read-only list tool, this is reasonable.

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 well-structured with clear sections (purpose, API call, return structure) and uses concise, information-dense sentences. No wasted words.

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?

For a zero-parameter, no-output-schema tool, the description is highly comprehensive. It explains the merchant scope, the exact API path, and the response shape including field names, which is more than sufficient.

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?

The tool has zero parameters, and the schema is empty. Per the rubric, 0 params yields a baseline of 4. The description adds no parameter-specific info because none are needed.

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 clearly states the tool retrieves all merchants ('取得所有商家清單') and elaborates that it lists merchant accounts accessible by the API token. This distinguishes it from siblings like get_merchant_detail, which retrieves a single merchant, and other list tools.

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?

It provides a clear usage context: confirming the merchant scope in multi-merchant environments ('適合多商家環境下確認可操作的商家範圍'). However, it does not explicitly name alternatives or state when not to use it, so it falls short of a 5.

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