Skip to main content
Glama

Get Deployment Status

get_deployment_status
Read-onlyIdempotent

Report where deployments (Cycle stacks and their builds) stand — the reconciliation tool when a deploy_application call was interrupted, timed out, or its response was lost. Read-only.

Without arguments it lists recent stacks, newest first, each with its latest build. Pass 'stack' for one stack's detail including recent builds and their errors. Pass 'environment' to also see which of a stack's containers exist there — containers are created only by the final deploy step, so an empty container list on a live build means "generated but not yet deployed into this environment", not "failed".

Each stack carries a derived 'phase':

  • generating: the latest build is still compiling/importing (new, building, importing, verifying, saving) — the pipeline is in flight, nothing is wrong.

  • deploying: the build is being deployed into an environment right now.

  • generated: the build is live; with 'environment' given, no containers from it exist there yet — the deploy step still needs to run.

  • deployed: the build is live and its containers exist in the given environment.

  • failed: the latest build ended with an error (shown on the build).

To deploy a listed stack — reuse it in an environment, or continue an interrupted deployment — call deploy_application with stack_id set to the stack's id: it deploys the latest usable build, or a fresh one with rebuild:true, and picks up from the build's current state. Never resubmit a deployment from scratch after a timeout; check here first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax stacks to return when listing (no 'stack' given), 1-20.
stackNoStack to inspect in detail: 24-char hex ID, identifier (= deployment_id from deploy_application), resource path ('stack:...'), or name. Omit to list recent stacks.
contextNoWhy are you calling this tool? Briefly describe the user's goal.
environmentNoEnvironment. When given, each reported stack also lists its containers in that environment, distinguishing 'generated' from 'deployed'.
conversation_idNoConversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent, but the description adds substantial behavioral context beyond them: the derived 'phase' state machine (generating/deploying/generated/deployed/failed) and the counterintuitive container semantics ('empty container list ... means generated but not yet deployed, not failed'). This is exactly the non-obvious behavior an agent needs.

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 purpose, then the no-arg behavior, then parameter semantics, then a bulleted phase glossary. Long but nearly every sentence earns its place; the phase bullets are dense but necessary given no output schema. Slightly verbose in the closing deploy_application paragraph.

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

Completeness5/5

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

For a tool with no output schema and a non-trivial derived-state return shape, the description fully specifies what comes back (phases, builds, container lists) and how to interpret edge cases. An agent can call and interpret it correctly without further context.

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 100%, so the baseline is 3, but the description adds real meaning: 'environment' is explained as the switch that distinguishes 'generated' from 'deployed', and 'stack' is tied to the deploy_application deployment_id. It doesn't elaborate on limit/context/conversation_id, which the schema already covers.

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 ('Report where deployments ... stand') and immediately frames it as the reconciliation tool for interrupted/timed-out deploy_application calls. This clearly distinguishes it from the sibling deploy_application (write) and status siblings like get_jobs/get_logs.

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?

Gives explicit when-to-use ('when a deploy_application call was interrupted, timed out, or its response was lost'), how to escalate to the alternative (call deploy_application with stack_id), and an explicit prohibition ('Never resubmit a deployment from scratch after a timeout; check here first').

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