Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

add_conn_to_crossing

Add connections to crossing points in threat models. Use single or batch mode to pair connection IDs with crossing point IDs.

Instructions

Add a connection to a crossing point. Supports batch operations via the 'items' parameter.

This tool adds one or more connections to crossing points in the system architecture. For single item: provide crossing_point_id and connection_id directly. For batch: provide a list of dicts in the 'items' parameter.

Args: ctx: MCP context for logging and error handling crossing_point_id: ID of the crossing point (required for single item mode) connection_id: ID of the connection to add (required for single item mode) items: Optional list of crossing-point-connection pair dicts for batch operation

Returns: A confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoOptional list of crossing-point-connection pairs to add in batch. Each dict should contain 'crossing_point_id' and 'connection_id'. When provided, individual parameters are ignored.
connection_idNoID of the connection to add (required for single item mode)
crossing_point_idNoID of the crossing point (required for single item mode)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden for behavioral disclosure. It states the action and return value, but does not discuss error handling, idempotency, or effects on existing connections. This is adequate for a simple add but lacks deeper edge-case transparency.

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 includes a formal Args block that largely duplicates schema descriptions and even lists a 'ctx' parameter not present in the schema. While organized, it could be more concise without losing key mode explanations.

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

Completeness4/5

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

For a tool with three parameters and an output schema, the description covers single and batch usage, parameter roles, and return value. It does not mention edge cases or relationships to sibling tools, but overall it provides enough context for correct invocation.

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 baseline is 3. The description adds value by clarifying the mode-dependent semantics: which parameters are required for single items, and that 'items' overrides individual parameters. This goes beyond the schema's per-field 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 opens with a specific verb+resource: 'Add a connection to a crossing point.' This clearly distinguishes it from sibling tools like add_connection and add_crossing_point, and the rest of the description reinforces the two operating modes.

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 when to use single vs batch mode, including that 'items' ignores individual parameters. However, it does not compare against alternatives like remove_conn_from_crossing or add_connection, leaving some usage context implicit.

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