Skip to main content
Glama
c-sakel
by c-sakel

WooCommerce Gutschein erstellen

woo_create_coupon

Create a new WooCommerce coupon with custom discount types, amounts, usage limits, and restrictions.

Instructions

Erstellt einen neuen WooCommerce Gutschein

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesGutscheincode
amountYesRabattbetrag/Prozent
productIdsNoNur für diese Produkt-IDs
usageLimitNoVerwendungslimit gesamt
categoryIdsNoNur für diese Kategorie-IDs
dateExpiresNoAblaufdatum (ISO 8601)
descriptionNoBeschreibung
discountTypeYesRabatttyp
freeShippingNoKostenloser Versand
maximumAmountNoMaximalbestellwert
minimumAmountNoMindestbestellwert
excludeSaleItemsNoSale-Artikel ausschließen
usageLimitPerUserNoVerwendungslimit pro Kunde
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states that a coupon is created, but does not mention side effects, permission requirements, behavior on duplicate codes, or whether changes are reversible. This is a significant gap for a mutation tool.

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?

The description is a single sentence that is concise and front-loaded with the action. It contains no filler or redundant information, earning a high score for conciseness and structure.

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?

Given the tool has 13 parameters and no output schema, the one-sentence description is inadequate. It does not explain expected return values, error conditions, or validation requirements. The description is minimal and relies entirely on the schema, which is not enough for a complex creation operation.

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%, with all 13 parameters having descriptions. The tool description adds no parameter information beyond the schema, so the baseline score of 3 is appropriate. The description does not compensate for any gaps because there are none in the schema.

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 verb 'Erstellt' (creates) and the specific resource 'neuen WooCommerce Gutschein' (new WooCommerce coupon). This distinguishes it from sibling tools like woo_list_coupons and woo_create_product, which target different resources or actions.

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?

No usage guidance is provided. There is no indication of when to use this tool versus alternatives, no prerequisites (e.g., WooCommerce being active), and no exclusions. The only implied usage from the verb 'creates' is not sufficient.

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/c-sakel/wp-mcp-server'

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