Skip to main content
Glama

UXON AI

discounts_delete

DestructiveIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Remove a Discount with its numeric revision and existing redemption protections.

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": {
      "siteId": "<siteId>",
      "discountId": "<discountId>",
      "expectedRevision": "<expectedRevision>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "discounts_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
discountIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
expectedRevisionYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds that deletion is revision-guarded and references 'existing redemption protections', but that phrase is opaque — it never says whether redemptions block the delete, get preserved, or are cascaded. With annotations carrying most of the burden, a 3 fits.

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?

Two sentences, but the leading agent.instructions boilerplate consumes the front-loaded position with content that is not about this tool. The remaining sentence is dense yet partly vague ('existing redemption protections'), so the space is not fully earned.

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 and annotations cover destructiveness, so the description need not explain returns. However, for a high-impact irreversible delete with five required parameters, it omits irreversibility, the effect on existing redemptions, and how to obtain the current revision — gaps an agent must infer from the schema.

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 50%: teamId, confirm and idempotencyKey are documented in the schema, while siteId, discountId and expectedRevision are not. The description partially compensates by flagging that the revision is numeric and that redemption protections are involved, but it adds nothing about scoping parameters like siteId or discountId.

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 second sentence states a specific verb and resource ('Remove a Discount') and adds qualifiers about the numeric revision and redemption protections, which clearly separates it from reads like discounts_get or discounts_list. It stops short of naming or contrasting any sibling explicitly, so it lands at clear-but-not-differentiating.

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 description gives no when-to-use guidance: it does not say when to delete versus deactivate/update a discount, nor what prerequisites (permissions, revision retrieval, user approval) must be met first. The only routing information is a generic 'read agent.instructions.get' preamble, which is not tool-specific guidance.

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