Skip to main content
Glama

taxsort_mint_coupon

Create a new operator-owned discount coupon.

The coupon owns its binding: tool_ids names the tools it discounts, and re-pricing a tool never touches it. A coupon bound to no tool discounts nothing, however many patrons redeem it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe catchy code patrons type to redeem (operator-scoped uniqueness).
tool_idsNoThe tools this coupon discounts — tool ids or MCP tool names, or ``["*"]`` for every tool priced above zero.
dpop_tokenNo
total_usesNoAggregate cap across all patrons (default None = unlimited).
valid_fromYesISO-8601 datetime when the coupon becomes active.
valid_untilYesISO-8601 datetime when the coupon expires.
uses_per_patronNoHow many tool calls one patron can claim the discount on (default 1; pass null/None for unlimited within the window).
discount_percentYesPercentage off the base price (0-100).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tool_ids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The tools this coupon discounts — tool ids or MCP\ntool names, or ``[\"*\"]`` for every tool priced above zero."
      +}
  2. Changed6 schema fields changed
    • addedInput schema / properties / discount_percent / description
      Added value: +"Percentage off the base price (0-100)."
    • addedInput schema / properties / name / description
      Added value: +"The catchy code patrons type to redeem\n(operator-scoped uniqueness)."
    • addedInput schema / properties / total_uses / description
      Added value: +"Aggregate cap across all patrons (default None =\nunlimited)."
    • addedInput schema / properties / uses_per_patron / description
      Added value: +"How many tool calls one patron can claim the\ndiscount on (default 1; pass null/None for unlimited\nwithin the window)."
    • addedInput schema / properties / valid_from / description
      Added value: +"ISO-8601 datetime when the coupon becomes active."
    • addedInput schema / properties / valid_until / description
      Added value: +"ISO-8601 datetime when the coupon expires."
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations the description carries the full behavioral burden, and it does disclose one genuinely non-obvious trait: a coupon bound to no tool is a silent no-op regardless of redemptions, and re-pricing a tool does not affect its binding. It omits other material behavior for a mutation tool with 8 params — required operator credentials/permissions, whether minting is idempotent, and what happens on a name collision.

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?

The verb and resource are front-loaded in the first sentence, and the second paragraph is short. The phrasing ('however many patrons redeem it') is slightly indirect, but every sentence contributes meaning rather than filler.

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?

An output schema exists, so return values need not be described, and the schema carries most parameter detail. For a no-annotation mutation tool with 8 parameters, though, the description leaves auth/permission requirements and failure modes unaddressed, so it is adequate but incomplete.

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

Parameters4/5

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

Schema coverage is 88%, so a baseline of 3 applies; the description earns above that by adding semantics the schema only hints at — that tool_ids constitutes the coupon's owned binding and that the null default means the coupon discounts nothing. It adds nothing for the remaining parameters (dpop_token, total_uses, uses_per_patron, dates, discount_percent).

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 opening sentence states a specific verb and resource: 'Create a new operator-owned discount coupon.' 'New' implicitly separates it from update_coupon, but the description never names or contrasts with any of the many coupon siblings (update_coupon, delete_coupon, list_coupons, redeem_coupon).

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 prerequisites, and no routing to alternatives such as redeem_coupon or update_coupon. The second paragraph explains binding mechanics rather than when an agent should mint a coupon versus taking another action.

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.