Skip to main content
Glama

apps_import_commit

Destructive

Commits an inspected app package to the connected host after verifying the expected package digest and approved update decision.

Instructions

Commit an inspected App package using its previous package digest and the approved update decision.

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": {
      "reference": "<reference>",
      "expectedPackageDigest": "<expectedPackageDigest>"
    },
    "name": "apps_import_commit"
  }
}

Input Schema

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

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.2/5.0
Behavior3/5

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

The annotations already disclose that this is destructive, non-idempotent, and open-world, so the description does not need to restate those traits. It adds useful prerequisite context by tying the commit to a previous package digest and an approved decision, but it does not explain what is destroyed, whether the operation is reversible, or what permissions are required.

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?

The description is a single front-loaded sentence with no filler. It conveys the core action and prerequisite mechanism efficiently.

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

Completeness2/5

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

For a destructive commit operation with five parameters and no output schema, one sentence is thin. The description does not explain what committing does to the app, what happens on failure, whether the action can be undone, or what the approval decision entails.

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 20%, so the description carries most of the burden for explaining parameters. It gives meaning to the package digest and hints at the approval decision, likely corresponding to confirmed, but leaves the required reference and optional operationId unexplained, and does not compensate for the low schema coverage.

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 and resource: committing an inspected App package. The mechanism, previous package digest plus approved update decision, distinguishes it from the inspection step, though it does not explicitly name sibling alternatives such as apps_import_inspect or apps_file_commit.

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?

"Inspected" and "approved update decision" imply this should be used after inspection and approval, giving some when-to-use context. However, the description does not name the prerequisite tool, state exclusions, or clarify when to use this commit versus other commit-like siblings.

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