Skip to main content
Glama

get_attack_status

Read-only

Get the current report for a previously launched attack, including its clean-up state. Returns the attack report plus a 'cleanup' summary with cleanUpComplete and a plain-language statement. Only tell the user the account is back to its pre-attack state when cleanup.cleanUpComplete is true -- while anything is pending or failed, clean-up is not done, so report it as in progress and check again rather than implying all-clear. A pending clean-up is usually the DELIBERATE inspection window, not a stall: read cleanup.statement and relay it, and poll no faster than that -- a few minutes -- rather than reporting a fault. Each report summary carries 'outcome' (SUCCESS, FAIL, NOT_EXECUTED, CANCELED, IN_PROGRESS) and, when there is one, 'reason': key on those, never on the free-text 'status'. NOT_EXECUTED / FAIL means the step changed nothing, so there is nothing to clean up. While attackStatus or any outcome is IN_PROGRESS, or there are no summaries yet, the attack is still running (attacks that wait for a person, e.g. device code, take minutes): poll again and do not conclude anything.

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": {
      "attack_id": "<attack_id>"
    },
    "name": "get_attack_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
attack_idYesThe attackId returned by a previous launch_attack / launch_scenario call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description goes well beyond that by disclosing return-value semantics (cleanup.cleanUpComplete, cleanup.statement), field-authority rules (key on 'outcome' and 'reason', never on free-text 'status'), and which outcome values mean nothing was changed. It also warns that person-gated attacks (device code) take minutes, which prevents premature failure reporting.

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 operative constraint (only report all-clear when cleanUpComplete is true) is front-loaded and every sentence carries an operational rule rather than filler. It is a dense single block of roughly 150 words, though, and splitting the polling and outcome-keying guidance into discrete lines would make it easier to scan.

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 return-shape burden, and it does: it names the cleanup summary fields, the outcome enum values, the optional reason, and the attackStatus field, while explaining how to interpret each. For a single-parameter read tool, nothing an agent needs in order to call and interpret it is missing.

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 the attack_id description already states it is the attackId returned by a previous launch_attack / launch_scenario call. The prose adds only that the attack was "previously launched", which is redundant with the schema, so this is baseline rather than added value.

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 uses a specific verb and resource ("Get the current report for a previously launched attack") and states the distinguishing payload element: the clean-up state and cleanup summary. It does not explicitly contrast itself with siblings such as get_attack_details or get_attack_evidence, so an agent must infer the split, which keeps it just below a 5.

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 and when-not-to-conclude rules: report all-clear only when cleanup.cleanUpComplete is true, otherwise report in progress and check again. It also prescribes polling cadence ("no faster than a few minutes") and states that a pending clean-up is usually the deliberate inspection window rather than a fault, which is exactly the kind of alternative interpretation an agent would otherwise get wrong.

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