Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Delete Discount Coupons

delete-coupons

Deletes discount coupons by code from a default or specified folder, letting you remove unwanted coupon codes in bulk to keep email marketing offers accurate.

Instructions

Delete discount coupons from a default or specific folder.

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": {
      "codes": "<codes>"
    },
    "name": "delete-coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYesArray of coupon code strings to delete
folderIdNoFolder ID. If not provided, deletes from the default folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

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 behavioral burden, and it discloses very little. It does not say whether deletion is permanent, what happens when some codes don't exist (abort vs partial success), whether permissions are required, or whether there are per-call limits on the code array.

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 efficient sentence with the resource and scope front-loaded; there is no filler. It is short to the point of under-informing rather than verbose, so brevity is a plus on structure but exposes gaps elsewhere.

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?

The tool is simple (2 params, fully documented schema, no nested objects), so the definition is arguably callable as-is. However, for a destructive operation with no annotations and no output schema, it should state irreversibility, missing-code behavior, and roughly what the response confirms.

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 100%, and the schema already documents 'codes' as an array of coupon code strings and 'folderId' as defaulting to the default folder when omitted. The description only restates the folder defaulting behavior, adding no format, constraint, or edge-case meaning beyond the 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 pairs a specific verb ('Delete') with a specific resource ('discount coupons') and even states the scope (default or specific folder). It is clear what the tool does at a glance; the only shortfall is that it never names or contrasts with a sibling such as import-coupons or the other delete-* tools.

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 caution about the operation being irreversible. An agent gets no signal about how to decide between this tool and the many other delete-* siblings, nor about whether confirmation is expected before a destructive bulk delete.

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