Skip to main content
Glama

Create app version

create_app_version

Create a new app version, which becomes the version the dashboard opens and builds use. Its draft copies the current one. Call it only with a version number the merchant gave, after explaining why a new version is needed. Never make one up; you may suggest the next patch number. Numbers use digits and dots and must be higher than the current version. Changes in the new version reach users only after a build and a store release. Relay the reply's message. If you created it to make a change, make that change first and follow that reply's next_step. When the reply has a next_step, first ask whether there's anything else to change, since one publish or build covers every change so far. Then for publish, offer publish_changes; for build, offer start_build; for subscribe, relay the message and offer neither. If you made a change earlier in this conversation that needs a build, offer a build instead of a publish. Never call publish_changes or start_build unprompted. If this project's Twinr section (replit.md on Replit, otherwise AGENTS.md) has no application_id, call list_apps, show the merchant every organization and its apps, and ask which app this project is. Never choose one yourself, and never infer it from the project's name or URL. Then record it in the project's Twinr section. Before calling this tool, tell the merchant which app you are changing by name, e.g. "Updating the icon for Shop Name…".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app_id": "<app_id>",
      "version_number": "<version_number>"
    },
    "name": "create_app_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe application_id recorded in this project's Twinr section.
version_numberYesThe version number the merchant chose, e.g. 1.0.8.

Output Schema

NameRequiredDescriptionDefault
messageYes
next_stepYes
version_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only give the safety profile (not read-only, not destructive, not idempotent), and the description adds substantive behavior beyond that: the draft inherits the current version's contents, changes reach users only after a build and store release, the version must be numerically higher, and the call depends on an application_id recorded in the project's Twinr section. The list_apps fallback and the instruction to relay the reply's message and next_step are genuine operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded, but the body is a long run of workflow policy (publish/build/subscribe branching, project-file lookup, merchant-facing phrasing) delivered as an undifferentiated block. Some content is redundant — 'only with a version number the merchant gave' and 'never make one up' say the same thing, as does the repeated instruction not to call publish_changes or start_build unprompted.

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

Completeness5/5

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

For a non-idempotent mutation with downstream publish/build consequences, the definition covers prerequisites (application_id discovery), version validity, post-call follow-up, and how to report results. An output schema exists, so its choice to describe only the actionable next_step rather than return fields is appropriate.

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 100%, so the baseline is 3; the description still earns above that by adding constraints absent from the schema — digits-and-dots format, must exceed the current version, and the app_id must come from the recorded Twinr section and never be inferred from project name or URL. It does not add syntax detail beyond those constraints.

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?

States a specific verb and resource plus its effect: a new version 'becomes the version the dashboard opens and builds use', and its draft copies the current one. That distinguishes it from publish_changes and start_build, which are named and framed as separate downstream steps.

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

Usage Guidelines5/5

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

Explicit when-to-use rules: only with a version number the merchant supplied, after explaining why a new version is needed, never invented, though suggesting the next patch is allowed. It also enumerates alternatives and their trigger conditions (offer publish_changes for publish, start_build for build, neither for subscribe) and states an exclusion — never call publish_changes or start_build unprompted.

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.

Resources