Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Import Discount Coupons

import-coupons

Import discount coupon codes into a default or specified folder, with optional expiration dates and updates for existing coupons.

Instructions

Import discount coupons into 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": "import-coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYesArray of coupon code strings
folderIdNoFolder ID. If not provided, imports into the default folder.
valid_untilNoExpiration date (YYYY-MM-DD)
update_existingNoUpdate existing coupons if they already exist

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 supplied, so the description carries the full behavioral burden, yet it discloses almost nothing: it does not say what happens to duplicate codes, whether the operation is atomic or partially applied on failure, what permissions are required, or whether there are batch size limits. The one behavioral detail it offers — default vs. specific folder — is already stated in the folderId schema description.

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?

It is a single front-loaded sentence with zero filler, which is efficient. It is arguably too thin rather than too long, but as a conciseness measure it is clean.

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?

This is a batch mutation tool with no annotations and no output schema, so the description is the only place an agent could learn about duplicate handling, partial-failure semantics, and return behavior — none of which are covered. For a 4-parameter import operation, one sentence is materially incomplete.

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 every parameter (codes, folderId, valid_until, update_existing) is documented in the schema itself. The description adds no meaning beyond that baseline, so a 3 is appropriate rather than higher.

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 states a specific verb ('Import') and resource ('discount coupons') plus the folder-targeting behavior, so an agent knows what the tool does. It does not distinguish itself from the sibling delete-coupons or explain how bulk import differs from single-coupon creation, 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 guidance on when to use this tool versus alternatives, no mention of prerequisites such as valid code formats or folder existence, and no indication of when update_existing should be set. The only implied usage is 'when you want to import coupons', which is a restatement of the name.

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