UML Forge
v0.4.0Architecture intelligence, security analysis, and living docs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
umlforge_reverse_engineer
Analyse an existing codebase and produce UML class, sequence, and state diagrams. USE THIS WHEN: - You have a GitHub URL and want to understand what the code does - You want to audit a codebase for architectural problems - You need diagrams of code that already exists (your own or a public repo) - You want an Architectural Intelligence Report on any codebase NOT FOR: - Designing a new system from scratch → use umlforge_stakeholder_arch - Updating diagrams after a sprint → use umlforge_living_docs - Documenting database schema → use umlforge_erd_…
| Parameter | Type | Description |
|---|---|---|
codebase | string | |
github_token | ||
github_url | ||
max_nodes | integer | |
report_mode |
umlforge_stakeholder_arch
Generate a C4 architecture diagram for a mixed technical/non-technical audience. USE THIS WHEN: - You are designing or presenting a system to stakeholders (CTO, investors, board) - You need a high-level picture of a system you are planning or explaining - You want Context + Container + Component diagrams in one call NOT FOR: - Analysing code that already exists → use umlforge_reverse_engineer - Tracing a specific API request across services → use umlforge_api_sequence - Infrastructure and deployment topology → use umlforge_deployment - Security…
| Parameter | Type | Description |
|---|---|---|
audience_description * | string | |
system_description * | string | |
report_mode |
umlforge_api_sequence
Diagram how services call each other for a specific user action or API flow. USE THIS WHEN: - You want to trace a request across multiple services (e.g. "user logs in") - You are designing API contracts between microservices - You need to show failure paths, retries, and error handling between services - You are writing QA test cases or doing incident post-mortems NOT FOR: - Full codebase analysis → use umlforge_reverse_engineer - Async/event-driven messaging → use umlforge_event_driven - Frontend component interactions → use umlforge_frontend_c…
| Parameter | Type | Description |
|---|---|---|
services * | string | |
user_journey * | string | |
report_mode |
umlforge_state_machine
Design a state machine for a domain entity that has a lifecycle. USE THIS WHEN: - An entity moves through states (Order: pending → active → cancelled) - You need to model a workflow, approval chain, or subscription lifecycle - You want to find missing states, invalid transitions, or race conditions NOT FOR: - Flows between services (requests, responses) → use umlforge_api_sequence - Async event messaging between services → use umlforge_event_driven - Full codebase analysis → use umlforge_reverse_engineer Produces: - stateDiagram-v2: all…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
events * | string | |
states * | string | |
business_rules | string | |
report_mode |
umlforge_living_docs
Update diagrams you already have to reflect what changed in a sprint or PR. USE THIS WHEN: - You ALREADY HAVE Mermaid diagrams (from a previous generation or your own) - Code has changed in a sprint or PR and your diagrams are now out of date - You want a changelog-annotated diff of your diagrams NOT FOR: - Generating diagrams for the first time → use umlforge_reverse_engineer (for existing codebases) or umlforge_stakeholder_arch (for new designs) - Analysing a GitHub URL → use umlforge_reverse_engineer instead - Generating diagrams without exis…
| Parameter | Type | Description |
|---|---|---|
current_diagrams * | string | |
sprint_changes * | string | |
affected_files | string | |
report_mode |
umlforge_erd_schema
Design a database schema with ERD, integrity rules, and index recommendations. USE THIS WHEN: - You are designing or reviewing a database schema - You need an ERD with foreign keys, cardinality, and data types - You want index recommendations and N+1 risk flags NOT FOR: - Full codebase analysis (which may include DB) → use umlforge_reverse_engineer - API flows between services → use umlforge_api_sequence - Event-driven data pipelines → use umlforge_event_driven Produces: - erDiagram: entities with typed attributes, cardinality, FK labels…
| Parameter | Type | Description |
|---|---|---|
domain_description * | string | |
entities * | string | |
access_patterns | string | |
db_technology | string | |
report_mode |
umlforge_threat_model
Generate a full STRIDE security threat model for a system. USE THIS WHEN: - You want to identify security vulnerabilities before launch - You need to document auth flows, trust boundaries, or sensitive data handling - You are preparing for a penetration test or compliance audit (GDPR, SOC2, PCI-DSS) NOT FOR: - General architecture review → use umlforge_reverse_engineer with report_mode=True - Deployment and infrastructure topology → use umlforge_deployment - API flow design (without security focus) → use umlforge_api_sequence Produces: - Au…
| Parameter | Type | Description |
|---|---|---|
auth_mechanism * | string | |
system_description * | string | |
compliance_framework | ||
report_mode | ||
sensitive_data | ||
trust_boundaries |
umlforge_frontend_components
Design a frontend component tree and interaction flow for a UI feature. USE THIS WHEN: - You are designing or documenting a React, Vue, Angular, or Svelte feature - You want to see component hierarchy, props flow, and state management - You need to identify god components or prop drilling issues NOT FOR: - Backend service interactions → use umlforge_api_sequence - Full codebase including frontend → use umlforge_reverse_engineer - Overall system architecture for stakeholders → use umlforge_stakeholder_arch Produces: - Component hierarchy gra…
| Parameter | Type | Description |
|---|---|---|
feature_description * | string | |
framework | string | |
interactions | string | |
report_mode | ||
state_management | string |
umlforge_event_driven
Design an event-driven or async messaging architecture (Kafka, SQS, RabbitMQ, etc.). USE THIS WHEN: - Services communicate via events or messages (not direct API calls) - You are designing event sourcing, CQRS, or pub/sub patterns - You want to model producer → broker → consumer flows with failure handling NOT FOR: - Synchronous REST/gRPC calls between services → use umlforge_api_sequence - Entity lifecycle (Order goes pending → active) → use umlforge_state_machine - Full system architecture overview → use umlforge_stakeholder_arch Produc…
| Parameter | Type | Description |
|---|---|---|
consumers * | string | |
producers * | string | |
system_context * | string | |
broker | string | |
events | string | |
report_mode |
umlforge_onboarding
Create a day-one knowledge-transfer package for a developer joining a team. USE THIS WHEN: - A developer is joining a new team or project and needs to get up to speed - You are handing off a module or system to another team - You want gotchas, constraints, and workflow diagrams in one package NOT FOR: - Analysing existing code for architectural problems → use umlforge_reverse_engineer - Designing a new system → use umlforge_stakeholder_arch - Documenting a specific API flow → use umlforge_api_sequence Produces: - System overview (C4 Contain…
| Parameter | Type | Description |
|---|---|---|
key_workflows * | string | |
system_description * | string | |
tech_stack * | string | |
pain_points | string | |
report_mode |
umlforge_ai_agent
Design an AI agent pipeline or multi-agent orchestration system. USE THIS WHEN: - You are building a system where LLMs call tools or hand off to other agents - You want to visualise a multi-agent workflow (planner → researcher → writer) - You need to document tool access, memory strategy, and failure behaviour NOT FOR: - General system architecture → use umlforge_stakeholder_arch - Standard synchronous API flows → use umlforge_api_sequence - Event-driven pipelines without LLM agents → use umlforge_event_driven Produces: - Agent pipeline…
| Parameter | Type | Description |
|---|---|---|
agents * | string | |
pipeline_purpose * | string | |
memory_strategy | string | |
orchestration_approach | string | |
report_mode | ||
tools_available | string |
umlforge_deployment
Generate a deployment topology and CI/CD pipeline diagram. USE THIS WHEN: - You want to visualise your cloud infrastructure and how services connect - You need to document your CI/CD pipeline from commit to production - You are planning infrastructure, disaster recovery, or a DevOps handover NOT FOR: - Application-level architecture (how code is structured) → use umlforge_reverse_engineer - Security threat modelling → use umlforge_threat_model - How services call each other at the API level → use umlforge_api_sequence Produces: - Deployment…
| Parameter | Type | Description |
|---|---|---|
cloud_provider * | string | |
environments * | string | |
services * | string | |
system_name * | string | |
cicd_tool | string | |
report_mode |
umlforge_legacy_migration
Visualise a legacy codebase and produce a migration roadmap to a modern language. USE THIS WHEN: - You have COBOL, Fortran, ABAP, RPG, PL/I, Pascal, BASIC, Assembly, Ada, or ALGOL code - You want to understand the structure of a legacy program before migrating it - You need diagrams showing what the system does NOW and what it would look like rebuilt in Python, Go, Rust, Java, TypeScript, C#, or Kotlin - You are planning or pitching a modernisation project and need a migration roadmap NOT FOR: - Analysing modern codebases → use umlforge_reverse_engine…
| Parameter | Type | Description |
|---|---|---|
github_token | ||
github_url | ||
legacy_code | string | |
report_mode | ||
source_language | string | |
system_purpose | string | |
target_language | string |
umlforge_suggest
*** START HERE if you are unsure which tool to use. *** Describe what you want to achieve in plain English. This tool will: 1. Identify the right tool for your goal 2. Return the EXACT tool call with parameters pre-filled — ready to execute 3. Explain why this tool fits and suggest an alternative USE THIS WHEN: - You are not sure which tool to use - You want to describe a goal ("analyse this repo", "model our order lifecycle") and get a ready-to-run recommendation - You want to avoid trial and error with the wrong tool Example inputs: - "…
| Parameter | Type | Description |
|---|---|---|
task_description * | string |
umlforge_get_result
Retrieve the result of a UML Forge generation that was still running. USE THIS WHEN: - Another umlforge_* tool replied "still generating" and gave you a job id - You want to fetch a result you started earlier (kept for one hour) NOT FOR: - Starting a new diagram → call the umlforge_* diagram tool you need - Choosing a tool → use umlforge_suggest Waits up to about 45 seconds for the job. If it is still running, it replies "still generating" again with the same job id: call this tool again. Args: job_id: The job id from the "still generati…
| Parameter | Type | Description |
|---|---|---|
job_id * | string |