Skip to main content
Glama
paddle-billing-blade-mcp

paddle-billing-blade-mcp

paddle_create_discount

Create a Paddle Billing discount by specifying amount, type, and description. Add optional coupon code, usage limit, currency, and recurring-payment settings to define how it applies.

Instructions

Create a discount. Requires PADDLE_WRITE_ENABLED=true.

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": {
      "amount": "<amount>",
      "description": "<description>",
      "discount_type": "<discount_type>"
    },
    "name": "paddle_create_discount"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoCoupon code
recurNoApply to recurring payments
amountYesDiscount amount (cents for flat, percentage value for percentage)
descriptionYesDiscount description
usage_limitNoMax number of uses
currency_codeNoCurrency for flat discounts (e.g., USD)
discount_typeYesType: flat, flat_per_seat, or percentage

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/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. It does earn credit for disclosing a real operational gate the agent must satisfy before calling (PADDLE_WRITE_ENABLED=true), which is genuine value beyond the schema. However, it says nothing about mutation effects, whether the discount is immediately active, idempotency on duplicate codes, or permission requirements beyond the env flag.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action front-loaded and the gating requirement immediately following. There is no padding or redundant restatement of the tool name.

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, so return values need not be explained, and the parameter schema is fully documented. What remains missing is routing context: nothing tells the agent when creation is appropriate versus updating an existing discount, nor what happens when the write flag is disabled. Adequate but with a clear gap for a mutating tool.

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 all seven parameters, including required amount, description, and discount_type, are described in the input schema. The description adds no additional meaning about parameter interactions, such as that currency_code is only relevant for flat discounts. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource: "Create a discount." This is unambiguous and lets an agent distinguish it from sibling readers such as paddle_discounts or paddle_discount. It stops short of a 5 because it makes no explicit contrast with the mutating siblings paddle_update_discount or paddle_discount.

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 only guidance offered is a prerequisite (PADDLE_WRITE_ENABLED=true), not guidance on when to use this tool versus paddle_update_discount or paddle_discount. There are no exclusions, no preconditions about discount codes already existing, and no indication of what to do when the write flag is false.

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