Skip to main content
Glama

Create store item

store_items_create

Create redeemable loyalty store items with costs, stock, cooldowns, and optional access codes so viewers can spend points on perks or rewards.

Instructions

Add an item that viewers can redeem with loyalty points.

Input Schema

NameRequiredDescriptionDefault
botNoChat redemption settings
costYesPrice in loyalty points
nameYesItem name
typeNoItem type, e.g. 'perk' (default) or 'code' (delivers access codes)
alertNoOn-stream alert settings (graphics, audio, enabled)
publicNoWhether it shows on the public store page
channelNoStreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token.
enabledNoWhether the item can be redeemed
cooldownNoCooldowns in seconds
featuredNoWhether it is featured in the store
quantityNo
userInputNoQuestions the viewer must answer when redeeming
accessCodesNoAccess codes, for 'code' items
descriptionNoItem description
subscriberOnlyNoOnly subscribers can redeem it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds only that items are redeemable with loyalty points; it says nothing about whether creation consumes points, channel defaults (SE_CHANNEL_ID / token channel), duplicate handling, or that non-idempotent creation may duplicate items on retry.

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?

A single tight, front-loaded sentence with zero filler — verb and resource come first. It is efficient, though arguably too sparse rather than too verbose for a 15-parameter creation tool.

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

Completeness3/5

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

For a 15-parameter mutation with nested objects and no output schema, the description is thin: it never explains how 'type' drives accessCodes, how quantity.total/-1 means unlimited, or the channel defaulting rule. The rich 93%-covered schema and annotations keep it barely adequate, but a more complex tool would need more prose.

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 93%, so the schema already explains all 15 parameters including nested bot/cooldown/quantity/accessCodes objects. The description adds no parameter-level detail beyond implying a loyalty-point cost. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

"Add an item that viewers can redeem with loyalty points" gives a clear verb (add/create) and resource (a redeemable loyalty-store item), so an agent knows exactly what this does. It does not, however, distinguish itself from the sibling store_items_update/delete/list/get tools — only the name carries that differentiation.

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, no mention of prerequisites (e.g. loyalty must be enabled, a channel must be targeted), and no reference to the sibling update/delete tools an agent would otherwise confuse this with. The reader must infer all triggering conditions.

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