Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

delete_threat

Remove one or more threats from your threat model. Supports batch deletion via multiple IDs for efficient cleanup.

Instructions

Delete a threat from the model. Supports batch operations via the 'ids' parameter.

This tool deletes one or more threats from the threat model. For single item: provide the id directly. For batch: provide a list of IDs in the 'ids' parameter.

Args: ctx: MCP context for logging and error handling id: ID of the threat to delete (required for single item mode) ids: Optional list of threat IDs for batch deletion

Returns: A confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
idsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It states the operation deletes threats and returns a confirmation message, but it does not disclose whether deletion is permanent, whether there are cascading effects on related entities (e.g., mitigations), or if any confirmation/permissions are needed. This is insufficient for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured into sections (overview, usage, args, returns) but contains redundancy (e.g., the first sentence repeats 'Delete a threat' twice) and includes the non-schema 'ctx' parameter, adding noise. It could be tighter.

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 simple CRUD delete, the description covers the basics: what it does, how to use single vs. batch, and return value. However, it lacks edge-case behavior (e.g., nonexistent threat), side effects, and any dependencies, while having no annotations or schema descriptions to back it up. It is minimally complete but not thorough.

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 0%, so the description must compensate. It explains 'id' for single deletion and 'ids' for batch, and their roles. However, it misleadingly includes 'ctx' which is not in the schema, and it does not clarify behavior when both 'id' and 'ids' are provided or the mutual exclusivity implied.

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 tool deletes a threat from the model, with specific verb ('Delete') and resource ('threat'), and explicitly mentions batch operation support. This distinguishes it from sibling threat operations like add, list, get, and update.

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

Usage Guidelines4/5

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

Provides clear usage instructions for single vs. batch modes, including which parameter to use in each case. It does not explicitly mention alternatives or exclusions, but the context is straightforward enough for the agent to know 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/awslabs/threat-modeling-mcp-server'

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