Skip to main content
Glama
pepabo

Color Me Shop

Official

getCoupon

Read-onlyIdempotent

Get a shop coupon by its ID. Returns coupon code, type (amount/rate/delivery_charge), discount amount, start/end dates, minimum purchase amount, and usage limits. Use to confirm coupon details before updating or deleting.

Instructions

指定したクーポンIDのショップクーポン 1 件を取得します。coupon_id を渡すと、code(クーポンコード)・coupon_type(amount/rate/delivery_charge)・discount_amount(単位は coupon_type が amount なら円、rate なら %)・starts_at・ends_at・minimum_amount(最低購入金額)・利用回数制限などを含むクーポンオブジェクトを返します。発行済みクーポンの詳細確認や updateCoupon 前の現在値チェックに使用。一覧は getCoupons、変更は updateCoupon、削除は deleteCoupon、新規作成は createCoupon を使用。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coupon_idYesCoupon ID
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds context that this tool is used for checking before updates, reinforcing idempotent behavior. No contradictions, but no additional behavioral details beyond annotations.

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?

The description is a single paragraph that efficiently conveys purpose, returned fields, and usage guidance. It is concise for the amount of information, though the field list is somewhat lengthy.

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?

Given the absence of an output schema, the description thoroughly explains the returned fields and usage context. Annotations cover safety, and the description adds practical guidance, making it complete for the intended use.

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 100%, and the description mentions the parameter coupon_id but does not add new semantic meaning beyond what the schema's description provides. The field list in the description indirectly helps understand the parameter's effect.

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 single shop coupon by coupon ID, specifies the returned fields, and distinguishes from sibling tools like getCoupons, updateCoupon, deleteCoupon, and createCoupon by naming them explicitly.

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 tells when to use this tool: for checking details of issued coupons or verifying current values before updateCoupon. It also lists alternative tools for listing, updating, deleting, and creating coupons.

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