Skip to main content
Glama
stoyky

MITRE ATT&CK MCP Server

by stoyky

generate_layer

Generate ATT&CK Navigator JSON layers for threat analysis by providing an ATT&CK ID (GXXX, MXXX, SXXX, or DXXX), score, and domain to visualize related techniques.

Instructions

Generate an ATT&CK navigator layer in JSON format based on a matching ATT&CK ID value

Args: attack_id: ATT&CK ID to generate ATT&CK navigator layer for. Valid match values are single ATT&CK ID's for group (GXXX), mitigation (MXXX), software (SXXX), and data component objects (DXXX) within the selected ATT&CK data. NEVER directly input a technique (TXXX). If an invalid match happens, or if multiple ATT&CK ID's are provided, present the user with an error message. score: Score to assign to each technique in the layer domain: Domain name ('enterprise', 'mobile', or 'ics')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attack_idYes
scoreYes
domainNoenterprise
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the tool's function (generating a JSON layer) and error conditions, but lacks details about permissions, rate limits, or what the generated layer contains beyond 'techniques with scores'. It doesn't mention if this is a read-only or write operation, though 'generate' implies creation without persistence.

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?

The description is efficiently structured: a clear purpose statement followed by an 'Args:' section with bullet-point explanations for each parameter. Every sentence adds necessary information without redundancy, and the formatting makes it easy to parse.

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?

For a tool with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description does a reasonable job explaining inputs and constraints. However, it doesn't describe the output format beyond 'JSON format' or what the generated layer contains structurally. Given the complexity of ATT&CK layers, more detail about the return value would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant semantic value beyond the 0% schema coverage. It explains that 'attack_id' accepts specific ATT&CK ID formats (GXXX, MXXX, SXXX, DXXX) and prohibits TXXX, clarifies that 'score' applies to each technique in the layer, and specifies valid 'domain' values ('enterprise', 'mobile', 'ics') with 'enterprise' as default. This compensates well for the lack of schema descriptions.

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 clearly states the specific action ('Generate an ATT&CK navigator layer in JSON format') and the resource it operates on ('based on a matching ATT&CK ID value'). It distinguishes itself from sibling tools by focusing on layer generation rather than data retrieval or querying, which is the primary function of most siblings.

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?

The description provides explicit usage guidelines: it specifies valid input types (group, mitigation, software, data component IDs) and explicitly prohibits techniques ('NEVER directly input a technique'). It also mentions error handling for invalid or multiple IDs, giving clear boundaries for when to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stoyky/mitre-attack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server