Skip to main content
Glama

list_deployments

Read-only

Retrieve a project's deployment history newest first to review status and commits, then roll back by passing a deployment id to redeploy with rebuild_from_branch=false.

Instructions

Deployment history of a project, newest first: id, status, commit, trigger and date. To roll back, pass an id to redeploy with rebuild_from_branch=false.

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": {
      "project_id": "<project_id>"
    },
    "name": "list_deployments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and scope are covered. The description adds genuine behavioral context beyond that: results are ordered newest first and include five named fields. It does not mention truncation behavior or that limit caps the result set, which matters for a history listing.

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?

Two short sentences, front-loaded with the core purpose and the ordering that affects interpretation. The rollback pointer earns its place as a next-step hint, though it is arguably tangential to invoking this tool.

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

Completeness3/5

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

An output schema exists, so the field enumeration in the description is redundant but harmless; completeness is really limited by the unexplained limit parameter and the absence of any note on result-set capping. For a two-parameter read tool that is a moderate rather than disqualifying gap.

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

Parameters2/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 parameter meaning, and it does not. It implies the scope is a single project but never explains project_id, and limit (default 10) is entirely unaddressed in both description and schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("Deployment history of a project") plus ordering ("newest first") and the fields returned (id, status, commit, trigger, date), which lets an agent distinguish it from get_deployment or get_build_logs. It never names a sibling explicitly, so differentiation relies on inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the word "history" and the newest-first note, but there is no explicit guidance on when to call this versus get_deployment for a single deployment or get_build_logs for detail. The second sentence routes to redeploy for rollback, which is helpful follow-on guidance rather than a selection rule for this tool.

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