Skip to main content
Glama

deployment_list

Read-onlyIdempotent

Deployment history for a Product, newest first, with status, commit and timing for each. History is immutable and nothing is pruned, so this is the reliable way to find the last deployment that was healthy before rolling back to it.

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": {
      "productId": "<productId>"
    },
    "name": "deployment_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return.
cursorNoOpaque cursor from a previous response. Omit for the first page.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
environmentNoEnvironment within a Product. Every Product has production; preview and development are optional. pr-<number> is the preview of an open pull request, made and removed by the GitHub integration on Pro.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive), and the description adds genuinely new behavior: newest-first ordering, immutable history, nothing pruned. It does not discuss pagination cost at scale, but the retention and ordering guarantees are exactly the context an agent needs for a rollback search.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what is returned and in what order, followed by the retention guarantee and the practical use case. Nothing is repeated from the schema and no sentence is filler.

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?

With no output schema, the description usefully sketches the returned fields and ordering, and annotations cover safety. For a straightforward list tool this is close to complete; the only gap is any note about volume or intended handling of large histories, which is minor.

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?

Schema coverage is 100%, so limit, cursor, productId and environment are already fully documented with patterns and defaults. The description only reinforces that results are scoped to a Product and adds no format, default, or filtering nuance beyond the schema, so baseline 3 applies.

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 specific verb+resource ('Deployment history for a Product') plus scope ('newest first') and per-item contents (status, commit, timing). It distinguishes itself from a point lookup by being a history, but never names deployment_get or another sibling, so differentiation is inferred rather than stated.

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?

Gives a concrete use case — finding the last healthy deployment before a rollback — which anchors when to reach for this tool. It stops short of naming alternatives or stating when not to use it (e.g. vs deployment_get for a single known deployment).

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