list_loyalty_programs
List loyalty programs owned by the agent's merchant
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_expired | No | Include expired programs |
List loyalty programs owned by the agent's merchant
| Name | Required | Description | Default |
|---|---|---|---|
| include_expired | No | Include expired programs |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful scoping context ('owned by the agent's merchant'), but does not describe pagination, ordering, or return shape.
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?
The description is a single front-loaded sentence with no wasted words. It communicates the core operation and scope immediately.
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 simple read-only list tool with one optional, fully documented parameter and safety annotations, the description is largely sufficient. It could mention default inclusion behavior for expired programs or pagination, but those are minor gaps.
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 coverage is 100% and the sole optional parameter is already documented in the schema. The description does not add syntax, defaults, or behavioral detail for include_expired, so the schema carries the parameter semantics.
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?
States a specific verb and resource ('List loyalty programs') and adds ownership scope ('owned by the agent's merchant'), making it clear what is returned. It does not explicitly distinguish itself from siblings such as create_loyalty_program or list_rewards, but the purpose is unambiguous.
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?
Gives no explicit guidance on when to use this tool versus related siblings, nor any when-not conditions. The listing intent is implied by the verb, but alternatives like list_rewards or get_program_analytics are not addressed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.