Skip to main content
Glama

generate_ecs_service

Generate ECS Fargate/EC2 service with task definition and ALB integration

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": {
      "serviceName": "<serviceName>",
      "image": "<image>"
    },
    "name": "generate_ecs_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpuNoTask CPU units (e.g. 256, 512, 1024)
imageYesContainer image (e.g. myapp:1.0.0)
memoryNoTask memory in MB (e.g. 512, 1024)
launchTypeNoECS launch type
serviceNameYesECS service name
desiredCountNoDesired number of tasks
healthCheckPathNoHealth check endpoint path
enableServiceConnectNoEnable ECS Service Connect

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and falls short: it does not say what artifact is produced (file, template, IaC snippet), whether it mutates state or only emits code, what permissions are needed, or what happens when ALB integration is requested without an existing load balancer. 'ALB integration' is left undefined — whether an ALB is created, referenced, or assumed is unknown.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, but the brevity comes at the cost of substance rather than being paired with the detail the tool needs.

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

Completeness2/5

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

For an eight-parameter generator with no annotations and no output schema, the description leaves the most consequential questions unanswered: the output format, defaults for optional fields, and the ALB/cluster assumptions. Only the surface purpose is conveyed.

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 eight parameters are already documented with examples and an enum for launchType. The description adds nothing beyond the schema — it does not explain interactions such as cpu/memory validity depending on launchType, or how enableServiceConnect and healthCheckPath affect the generated output.

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?

Names a specific verb (Generate) and resource (ECS service), and scopes it to Fargate/EC2 with task definition and ALB integration. An agent can tell this is the ECS service generator rather than the sibling generate_alb or generate_aks_cluster, though the description never explicitly states the differentiation.

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?

There is no guidance on when to choose this over sibling service generators (generate_app_runner_service, generate_cloud_run_service, generate_app_service), nor any stated prerequisites such as an existing cluster, VPC, or ALB. The only implied selection signal is the ECS mention itself.

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.