Skip to main content
Glama

Get deployment changes

get_deployment_changes
Read-onlyIdempotent

What a deployment brought in. range: direction (FORWARD; BACKWARD for a rollback, then the commits are what goes AWAY), fromSha/toSha and boundary: PREVIOUS_HEALTHY means the range is real (from the previous healthy deployment of this service); NO_PREVIOUS_HEALTHY, DIFFERENT_REPOSITORY and BOUNDARY_UNREADABLE mean only the head commit is listed; NO_SOURCE_RUN means the deployment has no CI run, so no commits at all. truncated: the range has more commits than limit. commits (sha, title, author), reviews of those commits, and the issues linked by commit or by review (via: COMMIT and/or CODE_REVIEW) that the caller is allowed to see. mergeRequestId/mergeRequest: the merge request the deployment came from, if known; mergeRequestId set but mergeRequest null means the review was deleted or belongs to a project the caller cannot see

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": {
      "environmentId": "<environmentId>",
      "deploymentId": "<deploymentId>"
    },
    "name": "get_deployment_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
deploymentIdYesDeployment UUID (from list_deployments)
environmentIdYesEnvironment UUID (from list_environments)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already establish that this is a safe, read-only, idempotent operation, and the description adds substantial behavioral context beyond that: it explains boundary statuses, when only the head commit is returned, when no commits exist, truncation behavior, caller-visible issue filtering, and the meaning of a null mergeRequest with a set mergeRequestId. It does not clarify the underlying 'limit' or pagination mechanics, but the edge-case coverage is strong.

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?

The description is compact and front-loads the core purpose before detailing return semantics. It uses labels such as 'range', 'boundary', 'truncated', and 'commits' to structure the dense information, though the long run-on wording makes some of it harder to scan than necessary.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does so thoroughly: commits, reviews, linked issues, visibility filtering, merge request linkage, truncation, and boundary-derived edge cases are all covered. Combined with the complete input schema and annotations, an agent has enough information to understand the shape and caveats of the result.

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%, and both required UUID parameters are already documented with source hints ('from list_deployments' and 'from list_environments'). The description adds no additional meaning about deploymentId or environmentId, so the baseline of 3 is appropriate.

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?

The opening phrase 'What a deployment brought in' establishes that this returns deployment-related changes, and the rest of the description specifies the change set as commits, reviews, and linked issues. It is clear about the resource and output, though it does not explicitly contrast itself with sibling tools such as get_deployment.

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

Usage Guidelines2/5

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

The description explains how to interpret boundary and truncation results, but it gives no explicit guidance on when to use this tool versus alternatives, and no prerequisites or exclusions are stated. Usage is only implied by the tool name and the description's focus on deployment contents.

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.