Skip to main content
Glama

Get deployment status

edgegap_get_deployment
Read-only

Check the status of a specific deployment and get its connection address and ports when ready. Use for existing deployments; for newly created ones, prefer the wait tool instead of polling.

Instructions

Read the current status of one deployment, including connection address and ports once it is ready. For a deployment you just created, prefer edgegap_wait_for_deployment — it polls for you instead of making you call this in a loop. This is GET /v1/status, limited to 20 requests/s for the whole organization (shared with Context): backend code should use deployment webhooks and poll only as a fallback.

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": {
      "request_id": "<request_id>"
    },
    "name": "edgegap_get_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYesThe request_id returned by edgegap_deploy.

Output Schema

NameRequiredDescriptionDefault
fqdnNo
errorNo
portsNo
readyNo
statusNo
runningNo
versionNo
locationNo
next_stepNo
public_ipNo
request_idNo
applicationNo
error_detailNo
elapsed_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "application": {
      +      "type": "string"
      +    },
      +    "elapsed_seconds": {
      +      "type": "number"
      +    },
      +    "error": {
      +      "type": "boolean"
      +    },
      +    "error_detail": {
      +      "type": "string"
      +    },
      +    "fqdn": {
      +      "type": "string"
      +    },
      +    "location": {
      +      "type": "string"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "ports": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "connect": {
      +            "type": "string"
      +          },
      +          "external": {
      +            "type": "number"
      +          },
      +          "internal": {
      +            "type": "number"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "protocol": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "public_ip": {
      +      "type": "string"
      +    },
      +    "ready": {
      +      "type": "boolean"
      +    },
      +    "request_id": {
      +      "type": "string"
      +    },
      +    "running": {
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "version": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv0.1.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the description is not obligated to restate safety. It nonetheless adds real behavioral context the annotations lack: the underlying endpoint (GET /v1/status) and a concrete throughput constraint of 20 requests/s for the whole organization, shared with Context. The only gap is that it doesn't say what happens when that limit is exceeded or how the 'ready' state is signalled.

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?

Three sentences, front-loaded with what the tool returns, then the sibling routing, then the operational constraint — nothing is padded. The closing line about backend code leans toward a developer audience rather than the calling agent, which is the only reason it isn't a clean 5.

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?

An output schema exists, so return values need no prose explanation, and the definition still summarizes the salient fields (address, ports) and their readiness condition. It also covers the two things an agent would otherwise get wrong: the polling alternative and the shared rate limit.

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?

There is a single required parameter at 100% schema description coverage, and the schema already explains that request_id is the value returned by edgegap_deploy. The description adds no format, provenance, or validation detail beyond that, so the schema does the heavy lifting and the baseline of 3 applies.

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 ('Read the current status of one deployment') and names the payload an agent cares about ('connection address and ports once it is ready'). It is clearly distinct from edgegap_get_deployment_logs, edgegap_get_deployment_metrics, and edgegap_wait_for_deployment without needing to open any 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 the agent: for a deployment just created, prefer edgegap_wait_for_deployment rather than looping on this tool, and backend callers should use deployment webhooks and poll only as a fallback. It gives both a named alternative and the condition that selects it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.