Skip to main content
Glama

Appgarten

Send version to Appgarten

send_version
DestructiveIdempotent

Sends the app's source code to Appgarten as a new version. Appgarten receives it when the customer has said yes to new versions in get_started (send_on_merge in the replies), or with accepted: true for this version. Appgarten reads the version, deletes the code when the check is done, at the latest after 7 days, and never changes anything on the customer's side. .env files, secrets, data, build output, images and node_modules are not read. Above about 2 MB of code, get_upload_link handles the version instead.

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": {
      "files": "<files>"
    },
    "name": "send_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoThe name of the app at Appgarten, when there is no git repository.
filesYesThe app's files.
testsNoWhether the tests passed for this version: passed, failed or none (the app has no tests). Only information: the version is received either way.
app_idNoThe app's Appgarten ID (app_id) from the file .appgarten in the project. With it, Appgarten knows which app the call is about. Not a secret.
commitNoThe commit the version comes from (git rev-parse HEAD).
deletedNoFiles deleted or moved away since the previous version, as paths.
projectNoThe app's name as the customer knows it: the page title or the name in package.json. Not the folder or repository name.
acceptedNotrue when the customer has said yes to sending this version (consent_text). Not needed when the customer has said yes to new versions in get_started.
languageNoThe language of the reply: nb (Norwegian) or en (English), the same as My account. Default en. For any other language, use en and translate it yourself.
repositoryNoThe repository you are working in, as the SHA of its first commit (git rev-list --max-parents=0 HEAD | tail -n 1. If git rev-parse --is-shallow-repository says true, run git fetch --unshallow first; if it is still shallow, leave repository out). Not the address. Appgarten finds the app from it. The app is tied to this repository from the first version.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses retention (code deleted when the check is done, at latest after 7 days), that nothing is changed on the customer's side, and exactly which files are never read (.env, secrets, data, build output, images, node_modules). This is exactly the privacy/side-effect context the destructiveHint and idempotentHint flags cannot convey.

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?

Front-loaded with purpose, then consent rules, then data handling, then the size escape hatch — a sensible order. Some repetition ('Appgarten' as subject four times) and a stray spacing artifact before '.env' keep it from being tight, but no sentence is wasted.

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 10-parameter mutation with no output schema, the description covers the consent gate, the alternative path, what is excluded from upload, and what happens to the data afterwards. An agent has everything needed to decide and call correctly.

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 adds workflow meaning by tying the accepted parameter to the get_started consent flow and consent_text, and framing the size limit that decides which parameter set is viable. It does not explain app_id, repository, or project beyond what the schema already says.

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?

Opens with a specific verb and resource: 'Sends the app's source code to Appgarten as a new version.' It also carves out the boundary against the sibling get_upload_link for payloads above ~2 MB, so an agent can distinguish 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 Guidelines5/5

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

Gives concrete preconditions: send when the customer accepted new versions in get_started (send_on_merge in the replies), or pass accepted: true for a single version. It also names the alternative tool and the exact threshold (>2 MB → get_upload_link), which is the strongest form of routing guidance.

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