Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

remove_component_from_zone

Remove a component from a trust zone to clean up your architecture model. Use when a component is misplaced or obsolete, ensuring accurate threat modeling.

Instructions

Remove a component from a trust zone.

This tool removes a component from a trust zone in the system architecture.

Args: ctx: MCP context for logging and error handling zone_id: ID of the trust zone component_id: ID of the component to remove

Returns: A confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesID of the trust zone
component_idYesID of the component to remove

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 must fully convey behavioral implications. It only says 'removes a component from a trust zone' and returns a confirmation message, but does not disclose side effects (e.g., whether associated connections or crossing points are affected), failure conditions, or reversibility.

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

Conciseness2/5

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

The first sentence and the second sentence express the same idea redundantly. The Args section duplicates schema information, and the Returns section is minimal. The description would be more concise with a single purpose sentence and no repeated or inferred details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating operation with no annotations and sparse behavioral details, the description is incomplete. It lacks information about error handling, prerequisites (e.g., does the component need to exist in the zone?), and any cascade effects, making it insufficient for an agent to fully understand the tool's impact.

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

Parameters2/5

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

Although the schema covers 100% of parameters, the description's Args section repeats the schema and introduces a phantom 'ctx' parameter not present in the schema. This could mislead the agent into thinking ctx is a required input, and it adds no new semantic value beyond the schema.

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 states a specific verb and resource: 'Remove a component from a trust zone.' It clearly identifies the action and scope, distinguishing it from sibling tools like add_component_to_zone and update_component.

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 versus alternatives. It does not mention any prerequisites, exclusions, or relation to other component/zone operations, leaving the agent to infer usage from the name alone.

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