Skip to main content
Glama

launch_attack

Destructive

Run an attack against a cloud account connected to Mitigant. Returns the result if it finishes within wait_seconds (default 20); otherwise it returns at once with the attackId and status RUNNING while the attack keeps running -- then poll get_attack_status with that attackId, and never launch it again (that would start a second attack). This performs real actions on real cloud infrastructure -- it is not a simulation. Confirm with the user before calling: if their request could match more than one attack in list_attacks (similar names, or an underspecified description like "the security group attack"), show them the matching candidates with their names and descriptions and have them pick one -- don't guess which attack they meant. Some attacks need a person to act during the run (e.g. Azure device code flow abuse and other phishing-style attacks wait for someone to enter a code and sign in): tell the user that before launching, expect several minutes of runtime with no result yet, and know that outcome NOT_EXECUTED is the normal result when nobody completes that step -- report it as "did not run" with its reason, not as a fault or a no-op.

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": {
      "cloud_service": "<cloud_service>",
      "account_no": "<account_no>",
      "action_key": "<action_key>"
    },
    "name": "launch_attack"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoOptional: the region to run the attack in (e.g. us-east-1, eu-west-3). Omit to use the account's default region (the defaultRegion from list_cloud_accounts); passing a region here does not change the account's default for other users. Evidence is collected in whichever region the attack runs in.
account_noYesTarget account identifier -- AWS account number, Azure subscription ID, or GCP project ID
action_keyYesThe attack's attackType value to launch (an opaque id, not attackName) -- from list_attacks or get_attack_details
wait_secondsNoOptional: how many seconds to wait for it to finish before returning (default 20). If it has not finished by then the call returns immediately with the attackId and status RUNNING while it keeps running -- poll get_attack_status with that attackId and never launch it again. 0 returns the attackId at once.
cloud_serviceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "description": "Optional: how many seconds to wait for it to finish before returning (default 20). If it has not finished by then the call returns immediately with the attackId and status RUNNING while it keeps running -- poll get_attack_status with that attackId and never launch it again. 0 returns the attackId at once.",
      +  "maximum": 50,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description adds substantial context beyond that: this touches real cloud infrastructure (not a simulation), the sync/async split at wait_seconds, the attackId+RUNAING continuation pattern, and the human-in-the-loop delay with NOT_EXECUTED as an expected outcome. These are exactly the behavioral facts an agent needs to avoid double-launching or misreporting a result.

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 core runtime behavior is front-loaded before the safety and disambiguation instructions, and every clause carries operational weight. It is dense and long for a single paragraph, with several distinct instructions (confirm, disambiguate, poll, explain human-in-the-loop) packed together, which slightly hurts scannability.

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?

There is no output schema, and the description compensates well by explaining the synchronous result, the attackId+RUNNING return, and the semantics of NOT_EXECUTED. The only missing piece is any explanation of the cloud_service enum values or output payload shape, which is minor for this tool's complexity.

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 80%, and the description largely restates what the schema already says about wait_seconds, region defaults, and action_key provenance from list_attacks. The one gap the description also leaves is the cloud_service enum, which has no semantic explanation in either place. Baseline 3 is appropriate when the schema carries most of the parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a concrete verb+resource ("Run an attack against a cloud account") and immediately specifies the scope (attacks on accounts connected to Mitigant), which distinguishes it from launch_scenario. It also names sibling tools (get_attack_status, list_attacks) so the agent can place it in the workflow without opening the schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use behavior: confirm with the user first, disambiguate via list_attacks when the request could match multiple attacks, and poll get_attack_status rather than relaunching. It also states what to expect for phishing-style attacks that need human interaction, including how to interpret NOT_EXECUTED.

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