Skip to main content
Glama

Update store item

store_items_update
Idempotent

Update a StreamElements store item by sending all fields from a prior item fetch with your changes, since the API may treat requests as full replacements.

Instructions

Update a store item. The API may treat this as a full replacement, so the safest approach is to send every field from store_items_get with your changes applied.

Input Schema

NameRequiredDescriptionDefault
botNoChat redemption settings
costNoPrice in loyalty points
nameNoItem name
typeNoItem type, e.g. 'perk' (default) or 'code' (delivers access codes)
alertNoOn-stream alert settings (graphics, audio, enabled)
itemIdYesItem id (24-character hex id)
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

A4/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds a genuinely valuable non-obvious trait: possible full-replacement semantics that can silently drop omitted fields. This is real context beyond the structured data, though it sits in mild tension with destructiveHint=false and leaves authorization/rate-limit behavior unstated.

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?

Two tight sentences, front-loaded with the action and followed immediately by the critical safety caveat. Nothing redundant and nothing wasted.

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

Completeness4/5

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

For a 16-parameter mutation tool with nested objects and no output schema, the description supplies the one behavioral fact an agent most needs (replacement risk) while the schema handles field-level detail. It doesn't address the channel-default behavior or the response, but those are minor gaps given the rich schema.

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 94%, so the schema already documents the 16 fields thoroughly; the description only alludes to them collectively ('every field from store_items_get') without adding format or per-field meaning. 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?

States a specific verb+resource ('Update a store item'), which clearly places it alongside the sibling store_items_get/create/delete. It does not explicitly name or differentiate itself from those siblings, but the naming is unambiguous enough that no agent would confuse the operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides concrete operational guidance: the API may treat the call as a full replacement, so the agent should first fetch via store_items_get and resend every field with changes applied. This tells the agent how to use the tool safely, though it doesn't state when to prefer store_items_create vs update or any preconditions.

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