Skip to main content
Glama

webprompter.ai — Static Sites & Custom Domains for Coding Agents

create_deploy_upload

Start a staging deploy: request presigned PUT URL for the zip. Use promote_staging_to_prod to go live on production. Requires deploy_ack_token from get_deployment_rules when MCP_ENFORCE_DEPLOY_ACK is on. Pass the same token to commit_deploy_upload. Returns upload_id; PUT the zip then commit_deploy_upload.

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": {
      "site_id": "<site_id>",
      "size_bytes": "<size_bytes>"
    },
    "name": "create_deploy_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYes
sha256_hexNoOptional SHA-256 digest hex for upload integrity verification.
size_bytesYesExpected zip size in bytes.
deploy_ack_tokenNoFrom get_deployment_rules.deploy_ack_token (required when MCP_ENFORCE_DEPLOY_ACK is true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this only initiates a staging deploy (not production), that the response is an upload_id tied to a presigned PUT, and that a token may be conditionally required by an environment flag. Gaps remain around failure behavior, presigned URL expiry, and whether re-invoking creates a duplicate deploy.

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 the action and result, then the alternative, prerequisite, and follow-up in order of need. The final clause ('PUT the zip then commit_deploy_upload') is clipped enough to feel telegraphic, but no sentence is filler.

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?

There is no output schema, so the description correctly names the return value (upload_id) and the full upload-then-commit flow. For a mutating two-step tool with zero annotations, this is nearly complete; only error/retry semantics are missing.

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 already 75%, and the description adds sequencing meaning the schema cannot: deploy_ack_token comes from get_deployment_rules and must be reused for commit_deploy_upload. site_id, size_bytes, and sha256_hex are left to the schema, which documents them adequately.

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 and resource ('Start a staging deploy') plus the concrete artifact produced ('request presigned PUT URL for the zip'). The staging qualifier immediately distinguishes it from promote_staging_to_prod, so an agent can tell the two apart 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?

Explicitly routes to the alternative ('Use promote_staging_to_prod to go live on production') and names the prerequisite path ('Requires deploy_ack_token from get_deployment_rules when MCP_ENFORCE_DEPLOY_ACK is on'). It also states the follow-on call ('Pass the same token to commit_deploy_upload'), giving a full when-to-use and what-next picture.

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