Skip to main content
Glama

deploy

Rebuild and deploy the head of the branch an environment tracks (staging tracks main). Production only changes via promote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoEnvironment: production, staging, or a preview name
commitNoOptional commit sha; defaults to branch head
projectYesProject name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 usefully discloses the branch-tracking scope and a production guardrail (routing users to promote), but says nothing about permissions, whether the deploy is synchronous or queued, what happens to a failed rebuild, or how to undo (rollback exists as a sibling).

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?

Two compact sentences, zero filler, with the core action front-loaded and the constraint trailing as justification. Every clause earns its place.

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 3-parameter tool with full schema coverage and no output schema, the description covers the action, the tracked-branch semantics, and the key production exclusion. It stops short of describing execution behavior (async/blocking, failure handling) that an agent would want before calling a deploy.

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 100%, so the baseline is 3. The description adds some value by explaining the env-to-branch mapping ("staging tracks main") and reaffirming the branch-head default for commit, but it never addresses the commit parameter or the production restriction on env beyond pointing at promote.

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 compound verb (rebuild and deploy) and a precise resource: the head of the branch an environment tracks. It also implicitly separates itself from sibling tools like promote (which owns production changes) and deploy.cancel/deploy.status, so an agent can route correctly without reading other schemas.

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 names the when-not condition and the alternative: "Production only changes via promote." Combined with the parenthetical explaining that staging tracks main, an agent knows exactly when this tool applies versus the promote sibling.

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