Skip to main content
Glama

Create giveaway links

create_giveaway_links
Destructive

Generate a specified number of giveaway links for a product to create promotional packages, eliminating manual link creation.

Instructions

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

Creates a new package with specified number of giveaway links

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberNo
accountNoExact private shop profile label; not a provider identity or authorization proof.
confirmNoExplicit approval for this exact provider effect or local private-file operation.
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. 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, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description does add one genuinely useful non-annotation fact — the 100 requests / 10 seconds per shop rate limit and a link to the throttling guide. It says nothing about what the destructive effect actually does or why 'confirm' exists.

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 short sentences, no padding, and the operative verb statement is easy to find. Leading with the rate-limit caveat ahead of the purpose statement is a minor front-loading miss but it is still compact.

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?

This is a destructive, non-idempotent, open-world mutation with a nested request body, 6 parameters, zero required parameters and no output schema. The description omits what a 'package' is, how the flat number/productId relate to the nested payload, how confirm gates the operation, and what is returned — substantial gaps for a tool of this complexity.

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 67%, and the schema documents account, confirm, payload and payload_file. The description only glosses 'specified number', which mildly clarifies the otherwise undocumented top-level 'number' and leaves 'productId' plus the payload-vs-flat-parameter relationship unexplained.

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?

The description names a specific verb and resource ('Creates a new package with ... giveaway links') and the 'package' framing dovetails with siblings like list_giveaway_packages and get_giveaway_package. It does not, however, distinguish itself from create_giveaway or create_giveaway_checkout, so an agent must infer the boundary.

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?

There is no when-to-use guidance and no mention of any alternative among the many giveaway siblings (create_giveaway, create_giveaway_checkout, finish_giveaway, list_giveaway_packages). The only contextual sentence is a rate limit, which is not usage routing.

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