Skip to main content
Glama

List running deployments

edgegap_list_deployments
Read-only

List active deployments with optional filters and sorting to find servers left running from earlier sessions and avoid paying for orphaned instances before starting new ones.

Instructions

List active deployments, optionally filtered and sorted. Use this to find deployments left running from earlier sessions before starting new ones — orphaned servers cost money. Backend code: the list API is limited to 10 requests/s per organization, so reconcile on a schedule, not per match. Filter by status, application, version, tags, request_id, created_at, fleet_name or host_name, e.g. [{field:"application",operator:"eq",value:"my-game"},{field:"status",operator:"eq",value:"ready"}]. Operators: eq and neq on every field except created_at (eq, gte, lte); in and nin with an array value on request_id, tags, application, version, fleet_name, host_name; ilike with % wildcards on fleet_name and host_name. At most one filter per field. Sort by created_at or available_session_sockets. To find every deployment an agent started through this server, pass only_agent_deployments: true (the same as filtering tags in ["edgegap-mcp", "mcp"]).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "edgegap_list_deployments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1-100. Default 50.
filtersNoOmit for all deployments.
order_byNoe.g. [{field:"created_at",order:"asc"}] for oldest first.
only_agent_deploymentsNoOnly deployments started through this server: tagged "edgegap-mcp", or "mcp" by versions up to 0.3.3. Cannot be combined with a tags filter.

Output Schema

NameRequiredDescriptionDefault
totalNo
showingNo
next_stepNo
truncatedNo
deploymentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.12.0
    • changedInput schema / properties / limit / description
      Previous value: -"Default 50."New value: +"1-100. Default 50."
    • changedInput schema / properties / limit / maximum
      Previous value: -100New value: +9007199254740991
    • changedInput schema / properties / limit / minimum
      Previous value: -1New value: +-9007199254740991
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "deployments": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "fqdn": {
      +            "type": "string"
      +          },
      +          "ready": {
      +            "type": "boolean"
      +          },
      +          "request_id": {
      +            "type": "string"
      +          },
      +          "started": {
      +            "type": "string"
      +          },
      +          "tags": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "next_step": {
      +      "type": "string"
      +    },
      +    "showing": {
      +      "type": "number"
      +    },
      +    "total": {
      +      "type": "number"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.5.2
    • addedInput schema / properties / only_agent_deployments
      Added value: +{
      +  "description": "Only deployments started through this server: tagged \"edgegap-mcp\", or \"mcp\" by versions up to 0.3.3. Cannot be combined with a tags filter.",
      +  "type": "boolean"
      +}
  3. Changed3 schema fields changedv0.2.2
    • removedInput schema / properties / filter
      Removed value: -{
      -  "description": "Edgegap filter expression, e.g. by tag. Omit for all deployments.",
      -  "type": "string"
      -}
    • addedInput schema / properties / filters
      Added value: +{
      +  "description": "Omit for all deployments.",
      +  "items": {
      +    "properties": {
      +      "field": {
      +        "enum": [
      +          "status",
      +          "request_id",
      +          "tags",
      +          "created_at",
      +          "application",
      +          "version",
      +          "fleet_name",
      +          "host_name"
      +        ],
      +        "type": "string"
      +      },
      +      "operator": {
      +        "enum": [
      +          "eq",
      +          "neq",
      +          "in",
      +          "nin",
      +          "gte",
      +          "lte",
      +          "ilike"
      +        ],
      +        "type": "string"
      +      },
      +      "value": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        ],
      +        "description": "A string, or an array of strings for in/nin. created_at is ISO 8601, e.g. \"2026-09-30T00:00:00Z\"."
      +      }
      +    },
      +    "required": [
      +      "field",
      +      "operator",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / order_by
      Added value: +{
      +  "description": "e.g. [{field:\"created_at\",order:\"asc\"}] for oldest first.",
      +  "items": {
      +    "properties": {
      +      "field": {
      +        "enum": [
      +          "created_at",
      +          "available_session_sockets"
      +        ],
      +        "type": "string"
      +      },
      +      "order": {
      +        "enum": [
      +          "asc",
      +          "desc"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "field",
      +      "order"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. First observedv0.1.2

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely new behavioral context on top: a concrete backend rate limit of 10 requests/s per organization and the cost consequence of unreconciled deployments. Nothing here conflicts with the annotations or implies mutation.

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?

Purpose and the motivating use case are front-loaded, and most sentences carry unique information. It is somewhat long, and the worked filter example plus the full operator listing partly restate what the schema enums already declare, and the 'Backend code:' label is an odd lead-in.

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 filtered, sorted list tool with an output schema (so return shape needn't be explained), the description covers purpose, timing, rate limits, filter construction, sort fields, and the agent-deployment shortcut. An agent has everything needed to call it correctly without opening the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description adds real meaning beyond it: which operators apply to which fields (created_at restricted to eq/gte/lte; in/nin limited to five fields; ilike only on fleet_name and host_name), the 'at most one filter per field' rule, and the magic tag equivalence for only_agent_deployments plus its incompatibility with a tags filter.

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?

Opens with a specific verb and resource ('List active deployments') plus the scope modifiers 'optionally filtered and sorted', which is enough for an agent to separate it from the singular edgegap_get_deployment and from unrelated list tools such as edgegap_list_apps.

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 an explicit when-to-use with rationale: 'Use this to find deployments left running from earlier sessions before starting new ones — orphaned servers cost money.' It also specifies a usage constraint that shapes calling patterns ('reconcile on a schedule, not per match') rather than just describing the endpoint.

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