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
templateobject | stringnoA 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.
parametersobject | nullnoRuntime 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
project_idstringnoProject ID. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
formation_idstringnoExisting formation ID to compare against. Omit for new formation planning.
templateobject | stringyesA 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.
parametersobject | nullnoRuntime 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
project_idstringnoProject ID (required if not using project key auth)
limitnumbernoResults per page. Above the maximum it is clamped, and limit in the response reports the page served; below 1 or not an integer it is 400 VALIDATION_FAILED.
offsetnumbernoResults to skip. Negative or not an integer it is 400 VALIDATION_FAILED.

create-formation​

Create a new formation

Arguments​

ArgumentTypeRequiredDescription
project_idstringnoProject 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
templateobject | stringyesA 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.
parametersobject | nullnoRuntime 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.
metadataanynoStatic 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
formation_idstringyes—

update-formation​

Update an formation

Arguments​

ArgumentTypeRequiredDescription
formation_idstringyes—
templateobject | stringnoA 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.
parametersobject | nullnoRuntime 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.
metadataanynoStatic 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
formation_idstringyes—

list-formation-events​

List formation operation events

Arguments​

ArgumentTypeRequiredDescription
formation_idstringyes—
limitnumbernoResults per page. Above the maximum it is clamped, and limit in the response reports the page served; below 1 or not an integer it is 400 VALIDATION_FAILED.
offsetnumbernoResults to skip. Negative or not an integer it is 400 VALIDATION_FAILED.