Skip to main content
Glama
pepabo

Color Me Shop

Official

getCoupons

Read-onlyIdempotent

Retrieve all non-deleted coupons from your store, including discount type (amount, rate, delivery), discount amount/rate, start and end dates, status, and usage limits, to manage promotions.

Instructions

ショップに登録されているクーポンの一覧を取得します。クエリパラメータは不要で、削除されていない全クーポン(顧客がチェックアウト時にコード入力して使う値引き)が返されます。各エントリには id・name・code・coupon_type(amount=定額円引き / rate=定率% / delivery_charge=送料無料)・discount_amount・starts_at・ends_at・status・total_usage_limit・usage_limit などが含まれます。特定クーポン 1 件の取得は getCoupon、新規作成は createCoupon、変更は updateCoupon、削除は deleteCoupon を使用。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_dummyNoNot used
Behavior4/5

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

Annotations already indicate readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds the context that only non-deleted coupons are returned and lists the fields included, providing behavioral insight beyond annotations without contradiction.

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 concise with four sentences, each adding value: purpose, parameter requirement, returned fields, and sibling tool references. No redundant or unnecessary information.

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?

Without an output schema, the description lists key fields and explains coupon_type values. It covers the essential aspects of what is returned and filtering, though pagination or ordering are not mentioned, but for a full-list retrieval tool, this is 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 input schema has a single dummy parameter with description 'Not used', and the description states 'クエリパラメータは不要' (query parameters not needed), confirming no functional parameters. With zero meaningful parameters, the description adds clarity above the schema.

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 it retrieves the list of all non-deleted coupons. It uses the specific verb '取得します' (retrieve) and specifies the resource 'クーポンの一覧'. It also distinguishes from sibling tools like getCoupon, createCoupon, updateCoupon, deleteCoupon.

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?

The description explicitly states that no query parameters are needed and returns all coupons. It provides direct guidance on when to use alternative tools: getCoupon for a specific coupon, createCoupon for creation, etc., making usage boundaries clear.

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