Skip to main content
Glama

apps_save

Destructive

Publish a completed app draft and atomically save its .vrchapp package, reporting package-save success separately from preview or device application results.

Instructions

Publish the completed draft and atomically save its .vrchapp package. Separate saved package success from preview/device application results.

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": {
      "workspaceId": "<workspaceId>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "apps_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
operationIdNo
workspaceIdYes
connectionRefNoThe host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connectionRef
      Added value: +{
      +  "description": "The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected.",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false and openWorld=true, so the safety profile is covered. The description adds real value beyond that by disclosing that the package save is atomic and that saved-package success is reported separately from preview/device application results, which tells the agent to expect partial outcomes. It still says nothing about required permissions or what an existing package gets overwritten with.

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?

Two tight sentences with the action front-loaded and the result-semantics caveat second; nothing is padded. The second sentence is slightly compressed but still readable.

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 destructive, non-idempotent save with no output schema, the description does well on outcome semantics and the atomicity guarantee. It is incomplete on the two undocumented parameters, especially the required expectedRevision, which an agent must supply correctly or the call will fail.

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

Parameters2/5

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

Schema coverage is only 25%: only connectionRef has a description. The description does not explain expectedRevision (apparently an optimistic-concurrency guard, and it is required) or operationId, yet the schema leaves both undocumented. With low coverage the description should compensate, and it does not.

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 concrete verb and resource: publish the completed draft and atomically write its .vrchapp package. That is more specific than the bare name 'apps_save'. It does not distinguish this from the sibling apps_publish, which sounds close enough that an agent could hesitate between them.

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

Usage Guidelines3/5

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

'Publish the completed draft' implies this runs after draft completion, but there is no explicit when-to-use, when-not-to-use, or named alternative. With apps_publish and apps_export_begin in the sibling set, the agent gets only an implied usage context.

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