Skip to main content
Glama

List vouchers

list_vouchers
Read-only

Voucher codes of a store with redemptions (paid orders using the code).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "store_id": "<store_id>"
    },
    "name": "list_vouchers"
  }
}

Input Schema

NameRequiredDescriptionDefault
store_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only the definition of a redemption; it leaves genuinely ambiguous whether results are filtered to vouchers that have redemptions or whether all vouchers are returned with redemption data attached, and says nothing about volume, pagination, or ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with no padding, but it is a sentence fragment and the parenthetical is doing work that a main clause should do. Brevity here reads as under-specification rather than tight structure.

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

Completeness2/5

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

For a read-only list tool with one required parameter and no output schema, the description should at minimum state what each returned voucher contains and whether results are paginated or bounded. Neither is covered, and the one required input is unexplained, so the definition is not sufficient on its own.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single parameter store_id, and the description only gestures at it with the phrase 'of a store'. It does not state that store_id is required, what form the identifier takes, or what happens when it is omitted or invalid, so it fails to compensate for the undocumented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase ('Voucher codes of a store with redemptions') rather than a verb+resource statement, so the agent must infer that this is a listing operation. It does identify the resource (voucher codes for a store) and adds that redemptions are attached, which helps distinguish it from a plain product/category list, but it never states the action or scope clearly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite note, and no routing to or away from any sibling such as list_orders or list_products. The parenthetical about redemptions being 'paid orders using the code' hints at a relationship to orders but does not tell the agent when to choose this tool instead.

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.

Resources