Skip to main content
Glama

Create giveaway links

create_giveaway_links
Destructive

Create a new package of a specified number of giveaway links for a product, enabling shops to distribute promo access in bulk.

Instructions

Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.

Creates a new package with specified number of giveaway links

Input Schema

NameRequiredDescriptionDefault
numberNo
accountNoExact private shop profile label; not a provider identity or authorization proof.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete current native JSON body; cannot mix with native body flags or payload_file.
productIdNo
payload_fileNoAbsolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval for this exact provider effect or local private-file operation."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, non-idempotent, and openWorld, so the safety profile is covered. The description contributes a real extra fact (100 requests / 10 seconds per shop, with a link to rate limiting), but says nothing about what is consumed/destroyed, required permissions, or whether links can be revoked.

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?

Two sentences, no filler, easy to scan. Leading with the rate-limit note before the purpose statement slightly de-emphasizes the actual function, but nothing is wasted.

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?

For a destructive, non-idempotent mutation with 6 optional params, a nested payload object, and no output schema, the description omits auth/permission requirements, what a 'package' and its links are, and what happens to the earlier parameters when payload or payload_file is supplied.

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 coverage is 67%, and the schema already explains account, confirm, payload, and payload_file well. The description only clarifies the meaning of 'number' (count of giveaway links); it adds nothing about productId or the payload-vs-flat-parameter mutual exclusivity.

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 concrete verb and resource: creates a new package containing a specified number of giveaway links. It is reasonably distinguishable from list_giveaway_packages/get_giveaway_package, though the 'creates a new package' phrasing sits close to the sibling create_giveaway without explaining the difference.

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 when-to-use guidance, no prerequisites, and no mention of the competing siblings (create_giveaway, create_giveaway_checkout, create_gifting_checkout). The agent gets a purpose but no routing criteria.

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

Deploy Server

Other Tools