Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

unlink_mitigation_from_threat

Remove a mitigation from a threat in your threat model. Specify the mitigation ID and threat ID to break the link.

Instructions

Unlink a mitigation from a threat.

This tool unlinks a mitigation from a threat in the threat model.

Args: ctx: MCP context for logging and error handling mitigation_id: ID of the mitigation to unlink threat_id: ID of the threat to unlink from

Returns: A confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threat_idYes
mitigation_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the operation and return value but omits side effects, validation requirements, idempotency, and error behavior. The mutation nature is implied but not elaborated.

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 description is structured with Args/Returns sections and is not overly long. However, the first two sentences are redundant ('Unlink...' and 'This tool unlinks...'), wasting a sentence. The formatting aids readability but this redundancy slightly lowers the score.

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?

The tool is simple (two string params, no enums), and the description includes return behavior. But it lacks usage guidance, prerequisites, or relationship to the inverse link operation, and the context is minimal for an agent to invoke confidently in a larger workflow.

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 names each parameter and explains their roles ('ID of the mitigation to unlink', 'ID of the threat to unlink from'), compensating for the 0% schema description coverage. However, it does not specify ID format or how to obtain them, so it is not fully complete.

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 uses a specific verb 'Unlink' with the resource 'mitigation' and 'threat', clearly distinguishing it from the sibling tool 'link_mitigation_to_threat'. The action is unambiguous and directly maps to the tool's name.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool or when to prefer alternatives. It simply restates the operation without contextual cues like 'use after linking' or prerequisites, leaving the agent to infer appropriate usage from the sibling tool names.

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