Skip to main content
Glama
pepabo

Color Me Shop

Official

deleteCoupon

DestructiveIdempotent

Delete a shop coupon by coupon ID. This action permanently removes the coupon, preventing customers from using its code. To temporarily disable, update the coupon status instead.

Instructions

指定したクーポンIDのショップクーポンを削除します。coupon_id で対象を特定すると該当クーポンが削除され、以降は顧客が code を入力しても使用できなくなります。削除の取り消し API はありません。一時的に使えなくしたいだけなら updateCoupon で status を変更してください。現在値の確認は getCoupon、新規作成は createCoupon、一覧は getCoupons を参照。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coupon_idYesCoupon ID
Behavior4/5

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

Beyond annotations (destructiveHint=true, idempotentHint=true), the description adds that deletion is permanent, customers cannot use the code afterward, and there is no undo API, which is useful context.

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?

Concise yet information-dense: first states action, then effect, then warnings and alternatives. Every sentence adds value, no redundancy.

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?

For a simple deletion tool with no output schema, the description covers purpose, effect, and alternatives well. Lacks mention of error handling for non-existent coupon, but overall adequate.

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?

The single parameter coupon_id is fully described in the schema; the description adds minimal context (identify target with coupon_id), so baseline 3 is appropriate.

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 action (delete the shop coupon by coupon ID) and distinguishes it from sibling tools like updateCoupon (for temporary disable) and other CRUD operations (getCoupon, createCoupon, getCoupons).

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?

Explicitly provides when to use and when not to: advises to use updateCoupon for temporary disable, notes the lack of undo API, and directs to other tools for checking/creating/listing.

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/pepabo/colormeshop-mcp'

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