Skip to main content
Glama

PayPing: list coupons

payping_list_coupons
Read-onlyIdempotent

Retrieve PayPing discount coupons with total counts, including percent and Toman types, plus search, pagination, and archived-item filters for coupon review.

Instructions

List discount coupons (type 0 = percent, 1 = Toman) with total count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "payping_list_coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
searchNo
include_archivedNoInclude archived items.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • removedInput schema / properties / limit / description
      Removed value: -"Items to return, 1-50."
    • removedInput schema / properties / offset / description
      Removed value: -"Skip this many items (paging)."
    • removedInput schema / properties / search / description
      Removed value: -"Text to search for."
  2. Changed7 schema fields changedv0.2.0
    • removedInput schema / properties / include_archived / title
      Removed value: -"Include Archived"
    • changedInput schema / properties / limit / description
      Previous value: -"Items to return, 1-50 (PayPing's maximum is 50)."New value: +"Items to return, 1-50."
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / offset / title
      Removed value: -"Offset"
    • removedInput schema / properties / search / title
      Removed value: -"Search"
    • removedInput schema / title
      Removed value: -"payping_list_couponsArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "payping_list_couponsDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds two useful behavioral facts: results are paginated/list-shaped and a total count is returned, plus the coupon type encoding. It does not explain how search matching works or what include_archived does to results, nor the response shape beyond the count.

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?

A single compact sentence with no filler, front-loading the resource and the one non-obvious encoding. It is appropriately sized, though its brevity is partly the cause of the missing usage and parameter guidance.

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

Completeness3/5

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

With no output schema, the description carries some return-value burden and does at least state that a total count accompanies the list. However, for a four-parameter list tool with low schema description coverage and no required params, it leaves pagination and search behavior unaddressed.

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 only 25% (only include_archived is documented), so the description should compensate but does not: limit, offset and search semantics are unexplained. The one detail it provides about 'type' is not even a parameter of this schema, so it does not map to any call-site decision.

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

Purpose4/5

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

The description gives a specific verb and resource ('List discount coupons') and the singular sibling payping_get_coupon makes the collection-vs-single distinction inferable. It also clarifies the coupon 'type' domain encoding (0 = percent, 1 = Toman), which the name alone does not convey. It stops short of explicitly contrasting with the sibling or the create/list pair.

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 statement of when to use this tool versus payping_get_coupon or payping_create_coupon, and no mention of prerequisites such as authentication or pagination workflow. The agent must infer the browsing use case from the name alone.

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