Skip to main content
Glama

新增商品照片

add_listing_photos

替商品加照片,給 https 網址或 base64。

Input Schema

NameRequiredDescriptionDefault
photosYes
manage_urlYes上架時回傳的管理連結。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The only annotation is readOnlyHint=false, so the description must carry the behavioral burden for a mutation. It says nothing about whether photos are appended or replace existing ones, ordering, what happens when the 8-item cap is exceeded, or error/reversibility behavior – it only states the accepted input formats.

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?

A single short sentence with the verb and accepted input formats front-loaded and zero padding. It is efficient, though its brevity comes at the cost of the behavioral detail a mutation tool needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation with two required parameters, no output schema, and no annotations beyond readOnlyHint, the description is too thin. An agent still lacks confirmation of append-vs-replace semantics, the manage_url prerequisite, and any indication of success or failure outcomes.

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 50%: manage_url is documented in the schema, but photos has no schema description. The description compensates partially by specifying 'https 網址或 base64' as the accepted item formats, which is real added meaning, though it omits per-item constraints such as whether base64 needs a data-URI prefix.

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 gives a specific verb and resource ('替商品加照片' – add photos to a product), which is more precise than the title alone. It does not distinguish this from siblings like update_listing, which could plausibly also modify photos, so an agent can't rule out the alternative without inspecting schemas.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no named alternative. The only hint of a prerequisite is the schema note that manage_url is '上架時回傳的管理連結', meaning a listing must already exist, but the description itself never says this or when to prefer this over update_listing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.