Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

add_trust_boundary

Add trust boundaries to your system architecture to define trust zones, supporting single or batch operations with optional crossing points and security controls.

Instructions

Add a new trust boundary. Supports batch operations via the 'items' parameter.

This tool adds one or more trust boundaries to the system architecture. For single item: provide name, type, and optional fields directly. For batch: provide a list of trust boundary dicts in the 'items' parameter.

Args: ctx: MCP context for logging and error handling name: Name of the trust boundary (required for single item mode) type: Type of the trust boundary (required for single item mode) crossing_point_ids: IDs of crossing points that cross this boundary controls: Security controls implemented at this boundary description: Description of the trust boundary items: Optional list of trust boundary dicts for batch operation

Returns: A confirmation message with the trust boundary ID(s)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName of the trust boundary (required for single item mode)
typeNoType of the trust boundary (required for single item mode)
itemsNoOptional list of trust boundaries to add in batch. Each dict should contain 'name', 'type', and optionally 'crossing_point_ids', 'controls', 'description'. When provided, individual parameters are ignored.
controlsNoSecurity controls implemented at this boundary
descriptionNoDescription of the trust boundary
crossing_point_idsNoIDs of crossing points that cross this boundary

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/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 discloses the return value (confirmation message with trust boundary ID(s)) and the batch override semantics. It also states it adds one or more trust boundaries to the system architecture. It doesn't cover error cases, validation, or idempotency, but for an add tool this is reasonable coverage.

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 well-structured with a clear opening sentence, a usage explanation, a compact Args list, and a Returns line. Each section adds necessary information without redundancy or filler. It is appropriately sized for a tool with 6 parameters and two modes.

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?

Given the moderate complexity of the tool (6 parameters, single/batch modes) and the absence of annotations, the description fully covers what the tool does, how to use it in both modes, parameter roles, and what the caller should expect as a return. The presence of an output schema also reduces the burden of describing return values, but the Returns line still provides useful confirmation.

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?

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by framing parameters in operational terms: 'name' and 'type' are required for single-item mode, 'items' accepts a list of dicts, and individual parameters are ignored in batch mode. This clarifies how to choose between modes and how parameters interact, which is not immediately obvious from the schema alone.

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 opens with "Add a new trust boundary," which is a specific verb+resource combination that clearly distinguishes this from siblings like add_trust_zone, add_crossing_point, and update_trust_boundary. The first sentence immediately establishes the tool's primary purpose.

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?

The description explicitly explains the two modes of use: single-item (provide name/type directly) and batch (via 'items'). It also clearly states that when 'items' is provided, individual parameters are ignored. While it doesn't name alternative tools like update_trust_boundary or list_trust_boundaries, the creation context is unambiguous and the batch/single guidance is highly actionable.

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