Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

set_threat_actor_priority

Set a threat actor's priority (1-10) in your threat model to reflect its severity and guide security prioritization.

Instructions

Set the priority of a threat actor.

This tool sets the priority of a threat actor in the threat model.

Args: ctx: MCP context for logging and error handling id: ID of the threat actor priority: Priority of the threat actor (1-10)

Returns: A confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the threat actor
priorityYesPriority of the threat actor (1-10)

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 shoulder the transparency burden. It only mentions that a confirmation message is returned, omitting side effects, permissions, validation behavior, or overwrite semantics. Minimal behavioral disclosure for a mutating operation.

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 short and uses a clear Args/Returns layout, but the first two sentences are redundant ('Set the priority' and 'This tool sets the priority'). The extraneous 'ctx' entry also adds noise, reducing overall conciseness.

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 simple setter, the description is too sparse. It lacks any mention of when to use it, how it relates to set_threat_actor_relevance, what happens if the actor doesn't exist, or any validation on the priority range (beyond the schema). The absence of annotations makes this a significant gap.

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?

The schema already fully describes both id and priority (100% coverage). The description repeats these but adds a 'ctx' argument that is not present in the input schema, which could mislead an agent. It contributes no additional meaning for the actual parameters.

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 'Set the priority of a threat actor' and adds scope 'in the threat model'. The verb 'set' is specific, and the resource is unambiguous. It distinguishes from the sibling tool set_threat_actor_relevance, which deals with relevance rather than priority.

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?

The description provides no guidance on when to use this tool versus alternatives like update_threat_actor or set_threat_actor_relevance. It simply restates the function without any contextual or exclusionary information.

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