Skip to main content
Glama
woraphol-j

LINE Shopping API MCP

by woraphol-j

Update_product_price

Modify product price and instant discount amount for variants, subject to promotion period restrictions.

Instructions

An API for updating prices and instant discounts on the product. (You can't edit product price and instant discount during the promotion period.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesProduct id
instantDiscountYesProduct instant discount must be greater than 0. If instant discount amount is 0, the instant discount will be disabled.
variantsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
brandNoProduct brand
categoryNoCategory Object
codeNoProduct code
descriptionNoProduct description with HTML formatting support
giftGroupsNoGift Groups of product
giftOptionNoProduct Gift Option
hasOnlyDefaultVariantNoIf product doesn't have any variant will be returned 'true'
idNoIdentifying number of product
imageUrlsNoProduct image urls
instantDiscountNoIf product doesn't have instant discount will be returned '0' otherwise returned with number
isDisplayNoIf product is displaying on storefront will be returned 'true'
licensesNoThe list of licenses for your product
nameNoProduct name
variantOptionsNoProduct options such as size or color
variantsNoProduct variants
Behavior3/5

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

No annotations exist, so the description carries full burden. It indicates mutation and a promotion-period limitation. Missing details on side effects, permissions, or what happens to existing discounts.

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?

One sentence with a parenthetical note, no wasted words. Efficient and well-structured.

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

Completeness3/5

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

The tool updates both product-level discount and variant prices, but the description only mentions 'product' scope. No mention of output schema or variant handling. Some gaps remain.

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 67%, and the description adds little beyond what the schema already provides. It restates the tool's purpose but does not clarify parameter interactions or constraints beyond the 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 the tool updates prices and instant discounts on a product, and notes a constraint (cannot edit during promotions). However, it does not explicitly distinguish from sibling tools like Update_product_detail or Update_product_variant_detail.

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?

No guidance on when to use this tool versus alternatives. Only a constraint on promotion periods is provided, but no context on prerequisites 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/woraphol-j/lineshopping-api-mcp'

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