Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
cml_create_modelC

Create a new empty CML model

cml_load_modelB

Load a CML model from a file

cml_save_modelC

Save the current model to a file

cml_validate_modelD

Validate the current CML model

cml_get_model_infoC

Get information about the current model

cml_list_bounded_contextsA

List all bounded contexts in the model

cml_get_bounded_contextA

Get detailed information about a bounded context

cml_list_aggregatesB

List all aggregates, optionally filtered by context

cml_get_aggregateB

Get detailed information about an aggregate including entities, value objects, events, and commands

cml_find_elementsA

Search for elements by name pattern (regex supported)

cml_list_relationshipsC

List context map relationships

cml_create_context_mapC

Create a context map for the model

cml_create_bounded_contextB

Create a new bounded context

cml_update_bounded_contextC

Update a bounded context

cml_delete_bounded_contextB

Delete a bounded context and its relationships

cml_create_aggregateC

Create a new aggregate in a bounded context

cml_update_aggregateC

Update an aggregate

cml_delete_aggregateC

Delete an aggregate

cml_add_entityC

Add an entity to an aggregate

cml_add_value_objectC

Add a value object to an aggregate

cml_add_identifierA

Create an ID Value Object following DDD best practices. Use this instead of primitive String IDs to properly model identifiers as Value Objects.

cml_add_domain_eventB

Add a domain event to an aggregate

cml_add_commandB

Add a command to an aggregate

cml_add_serviceC

Add a domain service to an aggregate

cml_delete_entityC

Delete an entity from an aggregate

cml_delete_value_objectC

Delete a value object from an aggregate

cml_delete_domain_eventB

Delete a domain event from an aggregate

cml_delete_commandB

Delete a command from an aggregate

cml_delete_serviceC

Delete a service from an aggregate

cml_batch_add_elementsA

Batch creation of multiple domain objects (entities, value objects, identifiers, events, commands, services) in a single call. More efficient than individual calls. Validates all elements before creating any.

cml_create_relationshipA

Create a relationship between bounded contexts. Types: Partnership, SharedKernel (symmetric), UpstreamDownstream (asymmetric with optional OHS/PL upstream patterns and ACL/CF downstream patterns)

cml_update_relationshipD

Update a relationship

cml_delete_relationshipC

Delete a relationship

cml_get_relationshipB

Get details of a specific relationship

cml_generate_context_map_diagramB

Generate a PlantUML context map diagram

cml_generate_aggregate_diagramC

Generate a PlantUML class diagram for an aggregate

cml_generate_full_diagramB

Generate a PlantUML diagram of the full domain model

cml_generate_context_map_imageB

Generate Context Map visualization (PNG/SVG) using Context Mapper CLI. Requires Java 17+ and CLI (auto-downloaded on first use).

cml_generate_mdslA

Generate MDSL microservice contracts from Context Map upstream-downstream relationships. Requires Java 17+ and CLI.

cml_generate_from_templateC

Generate output from a custom Freemarker template. Requires Java 17+ and CLI.

cml_generate_glossaryB

Generate ubiquitous language glossary (Markdown) from domain model using bundled template. Requires Java 17+ and CLI.

cml_generate_jhipster_jdlB

Generate JHipster JDL from domain model using bundled template. Requires Java 17+ and CLI.

cml_generate_full_reportC

Generate comprehensive domain documentation (Markdown) using bundled template. Requires Java 17+ and CLI.

cml_cli_statusA

Check Context Mapper CLI and Java availability status

cml_configure_cliB

Configure CLI settings (paths, Java home, output directory, timeout)

cml_download_cliA

Download and install the Context Mapper CLI from Maven Central

cml_list_generatorsA

List all available generators and their availability status

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/thijs-hakkenberg/contextmapper_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server