list_coupons
Fetch all coupons for a book by its slug to view and manage discount codes.
Instructions
List all coupons for a book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes |
Fetch all coupons for a book by its slug to view and manage discount codes.
List all coupons for a book.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes |
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. 'List all coupons' transparently communicates a read-only retrieval of a collection, but does not specify ordering, filtering, or whether inactive coupons are included.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. It states the core action and object immediately and earns its place without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no annotations, no output schema, and one undocumented parameter, the description is too thin. It lacks parameter semantics and any detail about return value or behavior, leaving an agent to guess.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not explain the slug parameter, its format, or how it maps to the book. The word 'book' hints at the context but does not explicitly define slug.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('List') and resource ('all coupons for a book'), and distinguishes from sibling get_coupon by scope (all vs one). The purpose is immediately clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to choose this over related tools such as get_coupon, create_coupon, or update_coupon. The only implied usage is the action itself, so the 'vs alternatives' dimension is unaddressed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.