Skip to main content
Glama
@incidentpilot/mcp-aws

@incidentpilot/mcp-aws

ecs_scale_service

Scale an ECS service to a specified task count for incident remediation, with confirmation required before applying the change.

Instructions

[REQUIRES APPROVAL] Scale an ECS service to a desired count. 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>",
      "desiredCount": "<desiredCount>",
      "reason": "<reason>"
    },
    "name": "ecs_scale_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesReason for scaling the service
regionNoAWS region
clusterYesThe cluster name or ARN
serviceYesThe service name or ARN
desiredCountYesThe desired number of tasks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add one genuinely behavioral fact: the call is gated by a client-side confirmation prompt. It says nothing about the mutation's effect (whether tasks are replaced, what desiredCount=0 does, reversibility) or required IAM permissions, which are material for a destructive write operation.

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 with the approval requirement front-loaded, which is the right ordering for an agent that must anticipate a prompt. The second sentence partially restates the '[REQUIRES APPROVAL]' marker, so a small amount of redundancy remains.

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?

Parameters are fully covered by the schema and no output schema exists, so the description only needs to cover behavior. For a mutation tool with zero annotations, it covers approval but omits the consequences of scaling, failure behavior, and interaction with autoscaling policies.

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 all five parameters including 'reason' and region are already documented in the schema, establishing a baseline of 3. The description adds no syntax, range, or format detail beyond that.

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 description pairs a specific verb and resource ('Scale an ECS service') with the target concept ('a desired count'), so the operation is unambiguous. It does not, however, distinguish itself from overlapping siblings such as autoscaling_set_desired_capacity or ecs_force_deployment, leaving the agent to infer the boundary.

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 '[REQUIRES APPROVAL]' marker and the note that the client prompts for confirmation tell the agent what will happen on invocation, which is useful usage context. But there is no guidance on when to prefer this over autoscaling_set_desired_capacity or ecs_force_deployment, and no stated preconditions.

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