Skip to main content
Glama

list_deployments

Read-onlyIdempotent

Retrieve recent deployment records for an application, compose service, or whole instance, with an optional limit, to review deployment history.

Instructions

List deployments for an application, a compose service, or the whole instance.

Pass one id. Omit both to read the centralized deployment list. The newest rows Dokploy returns are kept, up to limit. Build output is not included; call read_deployment_logs with a deploymentId.

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": "list_deployments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
compose_idNo
application_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description goes beyond them with two non-obvious traits: results are truncated to the newest rows ('newest rows Dokploy returns are kept, up to limit'), and build output is excluded from the rows. It stops short of saying whether older deployments are reachable at all or whether a total count is surfaced.

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?

Four short sentences, front-loaded with the scoping statement and then the constraint, the truncation rule, and the handoff to read_deployment_logs. The clause 'The newest rows Dokploy returns are kept, up to limit' is slightly convoluted phrasing for what is a simple ordering rule.

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?

An output schema exists, so return values need not be explained, and the description covers the modes, the id exclusivity, and the log-content exclusion. The remaining gap is the truncation/pagination boundary — an agent cannot tell from the definition whether there is any way to page past the newest `limit` rows.

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 description coverage is 0%, so the description must carry the load, and it does partially: it establishes that application_id/compose_id are mutually exclusive (one id only) and that limit bounds the newest rows Dokploy returns. It leaves open what happens if both ids are supplied and does not restate the limit default of 20 or maximum of 100, which are already visible in the schema.

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 ('List') and resource ('deployments') plus the three selectable scopes: an application, a compose service, or the whole instance. It also explicitly excludes build output and names read_deployment_logs as the tool that provides it, so an agent can separate it from the log-reading sibling without consulting either schema.

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?

'Pass one id. Omit both to read the centralized deployment list.' gives an explicit selection rule for the two id parameters and for the no-id fallback case. It does not state why an agent would pick this over list_deployment_queue, but the usage rule for this tool's own modes is unambiguous.

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