Skip to main content
Glama
Analog-Labs

Firestarter MCP Server

by Analog-Labs

firestarter_create_voucher

Destructive

Create discount codes buyers can apply to your listings, using percentage off, fixed amount, or free shipping, with optional usage limits and dates. You fund the discount from your proceeds; deep discounts require explicit confirmation.

Instructions

Create a voucher (also called a coupon, promo code, or discount code) that buyers can apply to your listings. Requires a SELLER account with at least one listing — a community-market owner who only recommends other sellers' products has nothing of their own to discount; tiered access (firestarter_set_market_tiers) is the member-reward mechanism for that case. Supports percentage off, a fixed amount off, or free shipping, with an optional start/end date, usage cap, per-buyer limit, minimum order value, and scoping to a single listing. YOU FUND THE DISCOUNT: it comes out of your proceeds, and the platform fee is charged on the discounted total. Dates accept natural language — 'next Friday', 'in 2 weeks' — as well as ISO dates. A discount above 50% requires confirm_deep_discount — a flag attesting that the seller has confirmed that unusually deep number. If the voucher would leave the seller's cheapest orders below the payable minimum the call is rejected with an explanation rather than creating something whose orders would fail at payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe code buyers type, e.g. 'SUMMER20'. 2-64 characters: letters, numbers, dashes or underscores. Case-insensitive; stored uppercase.
max_usesNoTotal redemptions allowed across all buyers. Omit for unlimited.
starts_atNoWhen it becomes usable. Natural language ('tomorrow') or ISO. Omit to start immediately.
expires_atNoWhen it stops working. Natural language ('next Friday') or ISO. Omit for no expiry.
listing_idNoRestrict the voucher to one of your listings (lst_...). Omit to apply across all of them.
discoverableNoDefault true: buyer agents can find and auto-apply it. Set false for a targeted code usable only by someone you give it to.
free_shippingNoSet true for a free-shipping voucher instead of a discount off the item price.
min_order_centsNoMinimum order subtotal in cents before the voucher applies.
per_buyer_limitNoHow many times one buyer may use it. Omit for unlimited.
discount_percentNoPercent off, 1-100. Use this OR discount_amount_cents, not both.
confirm_deep_discountNoRequired to create a discount above 50%. Only pass it after the seller has confirmed that exact number.
discount_amount_centsNoFixed amount off in cents (e.g. 500 = $5 off). Use instead of discount_percent.
Behavior5/5

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

Despite annotations indicating destructiveHint=true, the description adds crucial behavioral details: the seller funds the discount, the platform fee is charged on discounted total, rejection conditions for low-priced orders, and the need for explicit confirmation on deep discounts. No contradiction with annotations.

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?

The description is detailed but well-organized, front-loading the purpose and then covering key constraints and special cases. It is not overly verbose given the complexity, though a few sentences could be tightened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 12 parameters and no output schema, the description covers essential context: prerequisites, funding implications, edge cases (deep discount, minimum order), and rejection scenarios. It provides enough for an agent to correctly invoke the tool in a variety of situations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 12 parameters with descriptions (100% coverage), so baseline is 3. The description adds extra context about discount types (percentage, fixed amount, free shipping) and natural-language date parsing, going slightly beyond schema but not duplicating it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (create), the resource (voucher/coupon/promo code), and its purpose (applied to listings). It distinguishes from sibling tools like update_voucher and set_market_tiers, and specifies the discount types.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states the prerequisite (SELLER account with at least one listing) and contrasts with the case of community-market owners who should use set_market_tiers. It also covers when deep discount confirmation is needed and mentions the alternative of targeting a specific listing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Analog-Labs/firestarter-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server