Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Nunify. If you published it, claim ownership there.

Delete Coupon Code

delete_coupon_code
Destructive

Delete one coupon code from the provided event.

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": {
      "event_id": "<event_id>",
      "coupon_code_id": "<coupon_code_id>"
    },
    "name": "delete_coupon_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent UUID returned by search_events.
coupon_code_idYes

Output Schema

NameRequiredDescriptionDefault
idYes
deletedYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered structurally. The description adds nothing beyond that: it does not say whether deletion is reversible, what happens to redeemed coupons, what error appears if the code is already gone (important given idempotentHint=false), or what permissions are required.

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 front-loaded sentence with zero filler, but its brevity is closer to under-specification than to disciplined pruning; it spends no words on consequences of a destructive action.

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 an irreversible-sounding destructive mutation on a nested resource, the definition omits the origin of coupon_code_id, the outcome of the call, and failure modes. An output schema exists so return values needn't be described, but the remaining gaps are material.

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 coverage is only 50%: event_id documents its source ('returned by search_events') but coupon_code_id has no description anywhere. The description does not compensate by explaining where a coupon_code_id comes from or whether event_id must match the code's owning event.

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 ('Delete one coupon code') plus scoping ('from the provided event'), which is enough to separate it from create_coupon_code and update_coupon_code. It never names those siblings explicitly, so it stops short of a 5.

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 or when-not-to-use guidance, no mention of when deletion is preferable to updating/deactivating a coupon code, and no prerequisites. The only usage signal is implied by the verb in the name.

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