Skip to main content
Glama
OtaKit

OtaKit

Official

Upload an OtaKit bundle

upload_bundle

Package and upload a selected local web build to OtaKit using the existing zip/delta, native metadata, version, and encryption workflow without publishing it.

Instructions

Package and upload the selected local web build using the existing zip/delta, native metadata, version, and encryption workflow without publishing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNoOtaKit app ID. Optional on a local connection whose project configures one; required otherwise.
encryptNoRequire encryption with OTAKIT_ENCRYPTION_KEY and fail if it is not set; bundles are encrypted whenever that variable is set
versionNoBundle version; defaults to OTAKIT_VERSION, then a generated one
strategyNozip uploads one archive; deltas uploads files separately so devices download only changed ones. Defaults to the project's updateStrategy, then zip
sourcePathNoBuilt web assets directory in the project; defaults to Capacitor's webDir
versionModeNostrict requires version or OTAKIT_VERSION; auto (default) generates a version when neither is set
runtimeVersionNoNative runtime lane, or null for the default runtime
nodeModulesPathNonode_modules holding those dependencies; defaults to the one beside package.json
packageJsonPathNopackage.json that declares the app's native dependencies; defaults to the project root's

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. The description usefully adds that the result is an unpublished bundle and that it reuses the existing zip/delta, metadata, version, and encryption workflow. It does not mention that repeat calls create new bundles (relevant given idempotentHint=false) or what happens on partial failure.

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?

One sentence, front-loaded with the core action, with the non-publishing constraint placed at the end as the key differentiator. Slightly dense with the list of internal workflows, but nothing is wasted.

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 nine-parameter mutation tool with no output schema, the description covers purpose and the unpublished outcome but says nothing about what is returned (e.g., a bundle identifier) or what to do next. The rich schema compensates for the parameter gaps, so this is adequate but not complete.

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 description coverage is 100%, so the schema fully documents all nine parameters, including defaults and enum meanings. The description only gestures at the concepts (zip/delta, version, encryption) without adding syntax, formats, or precedence rules beyond what the schema already provides; baseline 3 is appropriate.

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+resource ('Package and upload the selected local web build') and immediately differentiates itself from the closest sibling by ending with 'without publishing it', which is precisely what upload_and_publish_bundle does. An agent can pick between the two without opening either schema.

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 phrase 'without publishing it' gives a clear selection condition against upload_and_publish_bundle, and 'the selected local web build' implies the prerequisite that a build already exists. It stops short of naming the alternative or listing when-not conditions explicitly, so it is not a full 5.

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