Skip to main content
Glama

get_attacks_by_adversary_tool

Read-only

Find the managed attacks that reproduce what a named adversary tool is reported to do, for one cloud service -- e.g. 'which AWS attacks reproduce ARTEX', or 'run what Pacu does'. The tool itself is not an attack; these are the attacks whose technique is one the tool is reported to use. Get the exact name from list_adversary_tools first. Each result includes the same fields as list_attacks, plus matchedToolTechniques: exactly which of that attack's own technique id(s) the tool is cited for (never the attack's full technique list). To start from an actor instead, use get_attacks_by_threat_actor.

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>",
      "tool_name": "<tool_name>"
    },
    "name": "get_attacks_by_adversary_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
tool_nameYesThe tool's exact name from list_adversary_tools (e.g. 'ARTEX', 'Pacu'). An unknown or misspelled name returns an empty list, not an error -- call list_adversary_tools first if unsure of the exact spelling.
cloud_serviceYesWhich cloud provider's catalog to search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/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, so safety is covered; the description adds genuinely new behavioral detail: the tool itself is not an attack (guarding against a 'launch' misreading), unknown names return an empty list rather than an error, and results carry matchedToolTechniques describing only the tool-cited technique ids, never the attack's full technique list.

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?

Front-loaded with the core purpose, followed by examples, a prerequisite, a return-shape caveat, and an alternative, in that order. Every sentence carries information; nothing is padding.

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?

No output schema exists, and the description compensates by explaining that results mirror list_attacks plus a matchedToolTechniques field with a precise scoping rule. For a read-only, two-parameter lookup, nothing an agent needs in order to call it correctly 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%, so both parameters, the enum on cloud_service, and the exact-name/empty-list caveat are already documented in the schema. The description's restatement of the exact-name requirement and the single-cloud-service scope adds emphasis but no new semantics, so the baseline 3 applies.

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?

Names a specific verb and resource ('Find the managed attacks that reproduce what a named adversary tool is reported to do'), bounds it to one cloud service, and gives concrete example queries ('which AWS attacks reproduce ARTEX'). It also explicitly disambiguates from the sibling get_attacks_by_threat_actor, so an agent can choose without opening either 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?

Gives explicit when-to-use framing ('run what Pacu does'), a hard prerequisite ('Get the exact name from list_adversary_tools first'), and a named alternative for the actor-based case ('use get_attacks_by_threat_actor'). The one remaining ambiguity, mapping a tool's capability to an attack technique, is addressed by the 'technique is one the tool is reported to use' clause.

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