Skip to main content
Glama
Analog-Labs

Firestarter MCP Server

by Analog-Labs

firestarter_create_voucher

Create discount vouchers (coupons/promo codes) for your listings with flexible rules like percent off, fixed amount, or free shipping, plus optional usage limits and scheduling.

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 and should reward members with tiered access (firestarter_set_market_tiers) instead. 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, so confirm the number with the seller before re-sending. 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?

Annotations are minimal, so description carries the burden. Reveals funding implications ('comes out of your proceeds'), platform fee on discounted total, natural language date parsing, deep discount confirmation requirement, and rejection behavior for below-minimum orders. This is rich behavioral context beyond annotations.

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?

Well-organized, front-loaded purpose, then prerequisites/alternatives, mechanics, and failure mode. Every sentence adds value; density is high but appropriate for the tool's complexity.

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 12-parameter, complex create tool with no output schema, the description covers prerequisites, exclusions, funding, confirmation, and failure behavior. It's complete enough for an AI agent to decide and invoke correctly. Return value is not specified, but that's not essential for invocation.

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 covers 100% of parameters with descriptions, so baseline 3. The description adds a summary of discount types and optional scoping but does not materially extend parameter-level semantics. Natural language dates are already in schema. No need for more.

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?

States 'Create a voucher' with specific verb and resource, and distinguishes from sibling firestarter_set_market_tiers for community-market owners who shouldn't use this tool. Clear scope and alternatives.

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?

Explicitly says requires SELLER account with at least one listing, and directs community-market owners to firestarter_set_market_tiers. Also notes when confirm_deep_discount is required and the rejection condition. Excellent when-to-use and alternative guidance.

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