Skip to main content

Formations

MCP tools for the Formations module. See the Formations module docs for permissions and data model.

validate-formation

Validate a formation template

Arguments

ArgumentTypeRequiredDescription
templatestringnoA formation template supplied as either a JSON object or a YAML/JSON string. When a string is provided the server parses it with a YAML parser (JSON is valid YAML) before processing.
parametersobjectnoRuntime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in template.parameters. When provided, the validation result also reports required parameters that are still missing after applying these values.

plan-formation

Plan a formation deployment

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
formationIdstringnoExisting formation ID to compare against. Omit for new formation planning.
templatestringyesA formation template supplied as either a JSON object or a YAML/JSON string. When a string is provided the server parses it with a YAML parser (JSON is valid YAML) before processing.
parametersobjectnoRuntime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in template.parameters. A parameter declared with use_previous_value: true may be omitted to reuse its stored value.

list-formations

List formations

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject ID (required if not using project key auth)
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip

create-formation

Create a new formation

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
namestringyesHuman-readable name for the formation stack
templatestringyesA formation template supplied as either a JSON object or a YAML/JSON string. When a string is provided the server parses it with a YAML parser (JSON is valid YAML) before processing.
parametersobjectnoRuntime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in template.parameters. Required parameters (those without a default) must be provided here.
metadataobjectnoStatic annotations stored on the formation record. This field is NOT a substitution site: sub/param/ref expressions are rejected with 400 (FORMATION_INVALID_METADATA). For deploy-time substitution use the template's top-level metadata block, which is resolved into resolved_metadata.

get-formation

Get a specific formation

Arguments

ArgumentTypeRequiredDescription
formationIdstringyes

update-formation

Update an formation

Arguments

ArgumentTypeRequiredDescription
formationIdstringyes
templatestringnoA formation template supplied as either a JSON object or a YAML/JSON string. When a string is provided the server parses it with a YAML parser (JSON is valid YAML) before processing.
parametersobjectnoRuntime parameter values that override or supply template parameter defaults. Keys must match parameter names declared in template.parameters. Required parameters (those without a default) must be provided here, unless the parameter is declared with use_previous_value: true, in which case omitting it reuses the previously stored value.
metadataobjectnoStatic annotations stored on the formation record. This field is NOT a substitution site: sub/param/ref expressions are rejected with 400 (FORMATION_INVALID_METADATA). For deploy-time substitution use the template's top-level metadata block, which is resolved into resolved_metadata.

delete-formation

Delete an formation

Arguments

ArgumentTypeRequiredDescription
formationIdstringyes

list-formation-events

List formation operation events

Arguments

ArgumentTypeRequiredDescription
formationIdstringyes
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip