Skip to main content
Glama

deployment_image_finish

Checks the uploaded archive against the size and sha256 you give, loads it onto the region and starts the deployment from it. It goes live the same way a remote build does: traffic moves once the new run is healthy. Poll deployment_get for progress.

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": {
      "productId": "<productId>",
      "deploymentId": "<deploymentId>",
      "size": "<size>",
      "sha256": "<sha256>"
    },
    "name": "deployment_image_finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeYesTotal bytes uploaded.
commitNoThe git SHA the image was built from, shown beside the deployment.
sha256YesHex sha256 of the whole archive, so a damaged upload is refused rather than run.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
deploymentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this is a non-readonly, non-idempotent, non-destructive mutation, and the description adds real substance beyond that: validation against size/sha256, traffic shifting only after the new run is healthy, and parity with remote builds. It does not disclose what happens on a repeat call (relevant given idempotentHint=false) or what is returned.

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 tight sentences, front-loaded with the core action, then the go-live semantics, then the follow-up call. No filler or restatement of the tool name.

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 five-parameter mutation with no output schema, the description covers the important behavioral arc and the next step. Gaps are small but real: the role of the optional 'commit' field and any permission or region preconditions are unaddressed.

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?

The description echoes the verification role of size and sha256, but the schema already documents those at 80% coverage. The 'commit' parameter (the 20% gap) is never mentioned, so the description adds only marginal meaning beyond structured data.

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 chain (verify archive, load to region, start deployment) on a named resource, and makes clear this is the finalization step for a locally built image, distinguishing it from deployment_image_upload and deployment_get by name.

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 sequencing context implicitly (it operates on an already 'uploaded archive') and explicitly routes progress tracking to deployment_get. It stops short of stating prerequisites outright or naming when not to call it, so it is strong but not exhaustive.

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