Skip to main content
Glama

Roastify Set Product Description

roastify_set_product_description

Set the product's store-page DESCRIPTION on a stored design, committed in place.

The description is the product's store-page prose — it lives OUTSIDE the design artwork and, on Roastify, syncs to Shopify. It is versioned WITH the design in your git library: read the current one from roastify_get_design_text (its description field — Roastify's own auto-generated copy is a helpful starting point), refine it, and write it back here. This commits a new version of the SAME design_id (git tracks the diff); it does NOT touch Roastify. The browser courier applies it onto the product on the next Fetch (skipped there if Shopify has locked the field).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
npubNoRequired. Your Nostr public key (npub1...) for credit billing.
labelNoRename the design (optional). Defaults to keeping its current label.
design_idYesThe design to edit, from roastify_list_designs.
dpop_tokenNo
descriptionYesThe new store-page description prose.
version_tagNoThe NEXT semver version (MAJOR.MINOR.PATCH, e.g. 1.3.0, no 'v') — call roastify_list_design_versions and increment. Required; reusing one is refused.
commit_messageNoA specific description of WHAT changed and WHY — a real commit message, not a placeholder like 'save this' or 'update'. Required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description fully carries the behavioral disclosure burden. It transparently explains that the change is committed in place, versioned in git, tracks a diff on the same design_id, does not touch Roastify directly, and is applied by the browser courier on the next Fetch unless Shopify has locked the field. This is unusually detailed and honest about side effects.

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?

The description is front-loaded with a clear one-sentence summary and then adds contextual behavior and workflow details. It is slightly dense but every sentence earns its place by explaining versioning, Shopify sync, and the read-modify-write flow. No filler or fluff.

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?

The description covers the operational context well: where the description lives, how versioning works, what happens on Fetch, and the Shopify-lock edge case. Since an output schema exists and the input schema covers required fields, the description need not repeat those. It could mention the need to call roastify_list_design_versions for version_tag, but that is in the 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 coverage is 86%, so the schema already documents most parameters. The description adds useful meaning for the `description` parameter (store-page prose, lives outside artwork, read current from roastify_get_design_text) but does not elaborate on version_tag, commit_message, npub, or dpop_token beyond what the schema provides. Baseline 3 is appropriate.

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 opens with a specific verb+resource+scope: 'Set the product's store-page DESCRIPTION on a stored design, committed in place.' It clearly disambiguates the target (store-page description) from the design artwork and explains it syncs to Shopify, but it does not explicitly name or contrast the similar sibling roastify_update_design_text.

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?

The description gives a clear workflow: read the current description from roastify_get_design_text, refine it, and write it back here. It also explains when the change takes effect (on the next Fetch via the browser courier) and notes the Shopify-lock caveat. It lacks explicit 'do not use this when...' guidance, but the context is strong enough.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.