Skip to main content
Glama
@incidentpilot/mcp-aws

@incidentpilot/mcp-aws

ecs_force_deployment

Force a new deployment of an ECS service to restart all tasks; the MCP client requires confirmation before execution.

Instructions

[REQUIRES APPROVAL] Force a new deployment of an ECS service (restarts all tasks). The MCP client will prompt for confirmation.

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": {
      "cluster": "<cluster>",
      "service": "<service>",
      "reason": "<reason>"
    },
    "name": "ecs_force_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesReason for forcing the deployment
regionNoAWS region
clusterYesThe cluster name or ARN
serviceYesThe service name or ARN

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does disclose the two most consequential traits: it is disruptive (all tasks restart) and it is gated by an approval prompt in the MCP client. It does not say whether the call blocks until deployment stabilizes, what it returns, or that it operates on the currently registered task definition, leaving some operational gaps.

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 short sentences with the highest-risk information front-loaded in the bracketed approval tag, followed by purpose and effect. Nothing is redundant 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?

For a four-parameter mutation tool with full schema coverage and no output schema, the definition covers purpose, disruption, and the approval gate adequately. It falls short only on post-call behavior (whether deployment progress is reported) and the absence of any pointer to read-only siblings for inspection first.

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 description coverage is 100%, so cluster, service, region, and reason are all documented in the input schema. The description adds no parameter-level meaning, so the baseline 3 applies; notably it never mentions the required 'reason' field or how it is surfaced during the approval step.

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 and resource ('Force a new deployment of an ECS service') and clarifies the concrete effect in parentheses ('restarts all tasks'). An agent can distinguish this from read-only siblings like ecs_get_service_details or ecs_list_tasks, though the description never explicitly contrasts it with ecs_scale_service, the closest mutating alternative.

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?

The parenthetical 'restarts all tasks' implies the use case (rolling-restart a service to pick up changes) without stating when to choose this over ecs_scale_service or a task-definition update. No exclusions or prerequisites are given, so usage must be inferred.

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