Skip to main content
Glama

list_gift_certificates

List gift certificates issued by the agent's merchant (with status and redemption info).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows (default 50, max 200)
statusNoFilter by status: active, pending_mint, redeemed, expired, revoked
token_addressNoFilter by program token address (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the burden. 'List' implies a read-only operation, and the description adds that results include status and redemption info. However, it does not disclose pagination behavior, sorting, authentication needs, or any potential side effects.

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 a single, well-structured sentence that directly states the tool's purpose and key output characteristics. Every word earns its place with no redundancy.

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?

For a simple list tool with three optional parameters, the description is fairly complete: it names the resource and output highlights. However, no output schema exists and pagination/return format details are absent, leaving minor gaps for an agent needing precise response expectations.

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 description coverage is 100%, and each parameter (limit, status, token_address) already has a clear description. The tool description adds no additional parameter semantics beyond what the schema provides, so the baseline of 3 is appropriate.

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 uses a specific verb ('List') and resource ('gift certificates issued by the agent's merchant'), clearly distinguishing it from siblings like create_gift_certificate or revoke_gift_certificate. The scope ('by the agent's merchant') adds precision.

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

Usage Guidelines3/5

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

The description implies usage for retrieving gift certificates in a merchant context but does not explicitly state when to prefer this over other list tools (e.g., list_rewards, list_loyalty_programs) or provide exclusions. Context is present but no direct alternative guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.