Skip to main content
Glama

Upload a dynamic application

begin_dynamic_deployment
Idempotent

Reserves a source ZIP upload on an existing application. If waiting, repeat with identical arguments until you receive your own upload URL and deployment ID. Each busy call waits before checking again.

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": {
      "project_id": "<project_id>",
      "size_bytes": "<size_bytes>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "begin_dynamic_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
manifestNoRead runtime_contract first. Omitted settings retain the existing project configuration. PHP start is empty for the managed server.
project_idYesExact stable project ID. Resolve it first. Never invent an update target.
size_bytesYesExact ZIP size in bytes. The platform enforces the upload limit of the project’s billing plan.
idempotency_keyYesUnique write key. Reuse the same key and input after an uncertain response.
environment_keysNo
expected_revisionNoOriginal base_revision in local .deploymonster.json; never substitute current server revision before reconciliation.
overwrite_revisionNoExact remote revision the USER explicitly agreed to overwrite after seeing change summary.
overwrite_confirmationNoOnly after explicit user overwrite choice; never auto-confirm.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / size_bytes / description
      Added value: +"Exact ZIP size in bytes. The platform enforces the upload limit of the project’s billing plan."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but they cannot convey that calls may block and must be re-issued verbatim while busy — that is the key non-obvious behavior and the description states it explicitly. Missing: what happens on revision conflict / overwrite paths and any rate or timeout expectations.

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?

Three short sentences, front-loaded with the resource and scope, then the retry rule. No filler, no restatement of the title, and the polling advice sits last where a caller needs it.

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

Completeness4/5

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

For an 8-parameter, nested-manifest mutation tool with no output schema, the description covers the core contract and even the return shape (upload URL and deployment ID). The remaining gap is workflow closure — it does not mention uploading to the returned URL or handing off to finalize_dynamic_deployment, which an agent needs to complete the deployment.

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 88%, so the schema already explains project_id, size_bytes, idempotency_key, expected_revision and the overwrite pair in detail. The description adds no parameter-level meaning; the only link is the implicit tie between "identical arguments" and idempotency_key reuse, which the schema already states better.

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?

"Reserves a source ZIP upload on an existing application" gives a specific verb (reserves) plus resource (upload slot for a dynamic app), which separates it from a plain deploy call. It never names the neighbouring begin_project_source / begin_deployment tools, so the agent must infer the distinction from the name rather than the text.

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?

The description supplies a precondition ("on an existing application") and a clear retry protocol ("repeat with identical arguments until you receive your own upload URL and deployment ID"), which is genuinely actionable. It stops short of stating what to do after the URL is obtained (upload, then finalize_dynamic_deployment) and names no alternative tool or when-not condition.

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