Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

set_business_context

Set business context description and all features in a single call for threat modeling, eliminating the need for clarification questions.

Instructions

Set the business context with description and all features in one call.

This streamlined tool sets the business context description and all business features in a single call, eliminating the need for the clarification questions workflow.

Args: ctx: MCP context for logging and error handling description: Business context description industry_sector: Industry sector (optional) data_sensitivity: Data sensitivity level (optional) user_base_size: User base size (optional) geographic_scope: Geographic scope (optional) regulatory_requirements: Regulatory requirements, comma-separated (optional) system_criticality: System criticality (optional) financial_impact: Financial impact of breach (optional) authentication_requirement: Authentication requirement (optional) deployment_environment: Deployment environment (optional) integration_complexity: Integration complexity (optional)

Returns: A confirmation message with the number of features configured

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesBusiness context description
user_base_sizeNoUser base size: Small, Medium, Large, Enterprise
industry_sectorNoIndustry sector: Finance, Healthcare, Retail, Technology, Manufacturing, Government, Education, Energy, Transportation, Other
data_sensitivityNoData sensitivity: Public, Internal, Confidential, Restricted, Regulated
financial_impactNoFinancial impact: Minimal, Low, Medium, High, Severe
geographic_scopeNoGeographic scope: Local, Regional, National, Multinational, Global
system_criticalityNoSystem criticality: Low, Medium, High, Mission-Critical
deployment_environmentNoDeployment environment: On-Premises, Cloud-Public, Cloud-Private, Hybrid, Multi-Cloud
integration_complexityNoIntegration complexity: Standalone, Limited, Moderate, Complex, Highly Complex
regulatory_requirementsNoRegulatory requirements (comma-separated): GDPR, HIPAA, PCI-DSS, SOX, FISMA, CCPA, None, Multiple
authentication_requirementNoAuthentication requirement: None, Basic, MFA, Federated, Biometric

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description should disclose behavioral traits. It mentions the return value (confirmation message with feature count) and the elimination of the clarification workflow, but it does not state whether existing context is overwritten, what happens to omitted fields, or whether any validation occurs. This is partial transparency for a mutation tool.

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 opening two sentences are concise and impactful, and the Returns line is useful. However, the detailed Args block redundantly duplicates the schema's property descriptions, adding length without value. The structure is acceptable but not tightly edited.

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?

Given the high parameter count and existing output schema, the description provides a basic overview and return value but leaves gaps about side effects, overwrite behavior, and how this relates to other sibling tools. It is minimally adequate for a tool of this complexity.

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 input schema already provides 100% description coverage for all 11 parameters, so the description's parameter list adds no new meaning. Worse, it includes 'ctx' as an argument, which is not present in the schema, potentially misleading an agent into sending an invalid parameter. This is a net negative 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 clearly states it 'sets the business context description and all business features in a single call,' using a specific verb and resource. It differentiates from siblings like 'get_business_context' and 'clear_business_context' by focusing on the set operation and explicitly mentions eliminating the clarification questions workflow.

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 implies when to use this tool by emphasizing it is a streamlined single-call alternative to the clarification questions workflow. However, it does not explicitly discuss alternatives or state when not to use it, leaving some room for interpretation.

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