Skip to main content
Glama

Roastify Update Design Text

roastify_update_design_text

Apply text edits to a stored design and commit a new version of it.

The store is configuration management: the edit is committed back to the SAME design_id (git tracks the diff), not saved as a new file. Apply it onto a product with the browser courier. Only the words change — fonts, layout, and images are preserved, and the heavy image is never moved (the design keeps referencing the same content-addressed assets).

The box does not resize, so keep each new text within roughly ±10% of the character count of the layer it replaces (see chars from get_design_text); longer copy overflows and the merchant fixes it by hand.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
npubNoRequired. Your Nostr public key (npub1...) for credit billing.
editsYesA map of {layer_id: new_text}, using ids from roastify_get_design_text. Include every layer that should change, including ones that repeat a value or embed it in a longer blurb. A JSON object string is also accepted (some MCP clients serialize object args that way).
labelNoRename the design (optional). Defaults to keeping its current label.
design_idYesThe design to edit, from roastify_list_designs.
dpop_tokenNo
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. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it discloses key behaviors: the edit is committed to the same design_id as a versioned diff, not a new file; non-text properties are preserved; the heavy image is not moved; the box does not resize; and copy beyond roughly ±10% character count will overflow and require manual fixes. It also reveals that reusing a version tag is refused and that a real commit message is required.

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 well-structured and front-loaded with the main action, followed by behavioral constraints and usage precautions. Each paragraph earns its place, though phrases like 'the browser courier' and 'the store is configuration management' are somewhat jargon-heavy and may require extra inference.

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 mutation tool with seven parameters, no annotations, and an output schema, the description is relatively complete: it explains what happens to the design, how versioning works, the most important editing constraint, and where to get needed reference data. It does not elaborate on authentication/billing parameters, but those are standard and covered by the schema, and the output schema exists to describe return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high at 86%, so the description does not need to restate parameters. It adds meaningful semantic constraints beyond the schema, especially the ±10% character-count guidance tied to the get_design_text `chars` field, and it clarifies that edits are applied to the same design_id rather than creating a design copy.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Apply text edits to a stored design and commit a new version of it.' It distinguishes itself from other design tools by emphasizing that only words change while fonts, layout, and images are preserved, and that edits commit to the same design_id rather than creating a new file.

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 clear usage context: it is for editing text inside an existing design while preserving visual assets, and it references related tools like get_design_text and roastify_list_design_versions for needed inputs. It does not explicitly name alternatives or say 'use X instead,' but the scope is clear and it warns about character-count limits that should guide when edits are appropriate.

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.

TDQS

B3.4/5.0
Disambiguation4/5

Most tools target clearly distinct resources—patron balances vs. operator Authority balances, design text vs. full design fetches, operator vs. patron credentials—and the verbose descriptions carefully separate request/receive flows. A few pairs could still be confused at a glance, such as service_status/session_status, forget_coupon/delete_coupon, and get_design_text/fetch_design.

Naming Consistency4/5

All tools share the roastify_ snake_case prefix and mostly follow a verb_noun pattern like list_, get_, update_, delete_, and create. However, several noun-only names (service_status, session_status, account_statement, oracle_about) and the inconsistent forget_ vs. delete_ distinction for credential/coupon removal keep it from being fully consistent.

Tool Count1/5

69 tools is an extreme count for a single MCP surface and far exceeds the 25+ threshold. Even though the tools span many subdomains—design, payments, coupons, credentials, pricing, notarization, oracle—the sheer number will be heavy on agent context and selection accuracy.

Completeness3/5

Core workflows are largely covered: design storage/editing, coupon lifecycle, credential vaults, credit purchasing, pricing models, notarization, and the oracle all have reasonable read/write surfaces. However, session_status explicitly tells not_registered operators to call register_operator, which does not exist in the tool set, and design editing lacks any delete-element operation, leaving notable dead ends.