Skip to main content
Glama

taxsort_mint_coupon

Create a new operator-owned discount coupon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe catchy code patrons type to redeem (operator-scoped uniqueness).
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. 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."
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the creation action and omits side effects, operator-authentication requirements (dpop_token is undocumented), duplicate-name conflict behavior despite the 'operator-scoped uniqueness' constraint in the schema, and reversibility. One bare sentence is insufficient for a mutation with zero annotation coverage.

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 seven-word sentence with the verb and object front-loaded and zero wasted words; it is genuinely concise. However, given the tool's 7-parameter complexity and absence of annotations, the brevity borders on under-specification rather than efficient completeness.

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?

The output schema and detailed parameter descriptions cover return values and inputs, but the description does not compensate for missing annotations: it fails to convey behavioral context such as ownership implications, authentication needs, uniqueness enforcement on creation, or error conditions. For a mutation tool of this complexity with no annotations, the definition is not complete enough.

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 86%, so the baseline of 3 applies; the schema already documents name uniqueness, discount percentage range (0-100), datetime formats, and the default/unlimited semantics of total_uses and uses_per_patron. The description adds nothing about parameters, and the undocumented dpop_token remains unexplained by both description and schema.

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 uses a specific verb ('Create') and a precise resource ('operator-owned discount coupon'), and the 'new' qualifier clarifies this is for fresh coupons rather than existing ones. It is clearly distinguishable from siblings like update_coupon, delete_coupon, redeem_coupon, and list_coupons via the verb, though it does not name any alternative explicitly.

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?

The single declarative sentence provides no when-to-use conditions, no exclusions, and no alternatives. An agent gets no guidance on when to choose this over update_coupon (for edits), forget_coupon (for cleanup), or list_coupons (for inspection); any usage inference must come from the schema and sibling names.

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.