Skip to main content
Glama

get_channel_detail

Retrieve complete settings for a single sales channel, including type, status, and link configurations. Use to verify channel details.

Instructions

取得指定銷售渠道的詳細資訊。

【用途】 查詢單一銷售渠道的完整設定,包含渠道類型、狀態、 連結設定等。適合確認特定渠道的詳細配置。

注意:此端點在部分 token 權限下可能回傳 403 或 422。

【呼叫的 Shopline API】

  • GET /v1/channels/{channel_id}

【回傳結構】 dict 含渠道詳細欄位:id, name, channel_type, enabled, created_at, updated_at 等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYes
Behavior4/5

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

Discloses potential error responses (403/422) and implies read-only via API endpoint method (GET). With no annotations, additional details like rate limits or data limits would improve completeness.

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?

Structured with clear sections (intro, usage, note, API, return). Concise without unnecessary repetition, though some sections could be slightly tighter.

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?

Provides return structure with example fields and API endpoint. For a simple single-parameter get tool with no output schema, it covers essential context. Missing details like whether the channel ID is required (already in schema) and potential error handling beyond 403/422.

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?

With 0% schema coverage, description implicitly defines channel_id through context (path and mention of 'specified sales channel'), but does not explicitly state its type, format, or required status beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves detailed information of a specific sales channel, listing included fields like type, status, and link settings. However, it does not explicitly differentiate from sibling tools like list_channels or get_channel_comparison.

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?

Provides usage context ('suitable for confirming configuration') and a note about potential 403/422 errors under certain token permissions. Lacks explicit guidance on when not to use or alternatives.

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