Skip to main content
Glama

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

commit_deploy_upload

Finalize deploy after PUT using upload_id. Pass the same deploy_ack_token from get_deployment_rules for this site as on create_deploy_upload when MCP_ENFORCE_DEPLOY_ACK is on.

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": {
      "upload_id": "<upload_id>"
    },
    "name": "commit_deploy_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
upload_idYes
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

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the workflow position and the conditional-ack requirement, but says nothing about idempotency, reversibility of a finalize, what happens if the token is missing or mismatched, or what a successful finalize produces.

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?

Two dense sentences with no filler; the action and its binding parameter are front-loaded. The second sentence is grammatically tangled ('the same ... as on create_deploy_upload'), costing a little clarity but not content.

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 a two-parameter, no-output-schema finalize step in a multi-call workflow, the definition covers ordering, the required identifier, and the conditional auth token. The remaining gap is error/edge behavior and an explicit tie of upload_id to create_deploy_upload's return, which is inferable but not stated.

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 only 50% (upload_id is undocumented), and the description compensates by tying upload_id to the preceding PUT and explaining that deploy_ack_token must be the SAME token from get_deployment_rules that was used on create_deploy_upload. That matching constraint is genuine meaning beyond the schema, though upload_id's origin is still only implied.

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 ('Finalize deploy') and pins the operation to a step in a sequence ('after PUT using upload_id'). Naming create_deploy_upload and get_deployment_rules gives the agent a rough sense of where this sits in the flow, though it never explicitly says how this differs from create_deploy_upload beyond ordering.

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?

Gives clear preconditions: call it after the PUT, and when MCP_ENFORCE_DEPLOY_ACK is on, reuse the ack token obtained from get_deployment_rules for this site and previously passed to create_deploy_upload. It does not state when not to use it or what to do on failure, so it stops short of full when/when-not/alternative 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