Skip to main content
Glama
pepabo

Color Me Shop

Official

getCoupons

Read-onlyIdempotent

Get a list of all non-deleted coupons in your shop, including discount type, amount, and usage limits.

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 declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, indicating safe read-only behavior. The description adds that it returns non-deleted coupons, no query parameters are required, and explains coupon_type values. No contradiction with annotations.

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, well-structured, and front-loaded. It states the main purpose first, then details output fields, and ends with references to sibling tools. Every sentence adds value without waste.

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

Completeness5/5

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

For a simple list tool with no parameters, the description is complete. It explains output fields, coupon types, and references sibling tools. No output schema exists, but the description covers essential return values.

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?

Schema coverage is 100% (dummy parameter described as 'Not used'). The description adds that no query parameters are required, clarifying the dummy parameter's irrelevance. This adds value beyond 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 a list of coupons, specifying no query parameters needed and that it returns all non-deleted coupons. It lists the fields included, making the tool's purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool (list all coupons) and explicitly names sibling tools for specific operations (getCoupon, createCoupon, updateCoupon, deleteCoupon). However, it does not mention when not to use it or any specific prerequisites.

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