Skip to main content
Glama

validate_stack

Read-only

Validate a stack specification against the cluster without creating or deploying anything: replays the same validation the create lane runs (duplicate stack name, member shape, chart and dependency checks) and reports the errors. The stack object uses the same shape as create_stack, including the parents dependency edges. Returns {valid, errors}, plus a dependency_review whenever a multi-member specification declares no parents at all - those members would deploy in parallel and race each other. Use this before create_stack, and add the missing parents before deploying. Read-only.

Input Schema

NameRequiredDescriptionDefault
stackYesThe stack specification to validate - the same shape create_stack accepts, including each member's parents.
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / stack / properties / addons / items / properties / configuration / properties / encrypted_paths / description
      Added value: +"Extra keys to seal with SOPS when the stack is committed to GitOps, e.g. \"stringData.password\" or \"auth.password\" (sops matches the last key name at any depth). A key holding a ${SECRET_SLOT:<id>} sentinel is sealed automatically and needs no entry; list a key here only to seal a value that is not a sentinel."
    • addedInput schema / properties / stack / properties / manifests / items / properties / encrypted_paths / description
      Added value: +"Extra keys to seal with SOPS when the stack is committed to GitOps, e.g. \"stringData.password\" or \"auth.password\" (sops matches the last key name at any depth). A key holding a ${SECRET_SLOT:<id>} sentinel is sealed automatically and needs no entry; list a key here only to seal a value that is not a sentinel."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true (which the description redundantly restates as 'Read-only'), so the safety profile is covered. Beyond that, the description adds real value by disclosing that it replays the create lane's validation, lists the check categories, and explains the dependency_review signal for multi-member specs with no declared parents. It does not discuss cost/latency of the replay, but the behavioral picture is largely complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and its non-destructive scope, then the check list, then the return contract and usage directive. Slightly dense but every clause carries information; no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema present, the description carries the return-shape burden and does so: it names {valid, errors} and explains the extra dependency_review field including the race condition it warns about. Combined with the read-only annotation and full schema, nothing needed to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description earns above baseline by telling the agent the stack object is 'the same shape create_stack accepts, including each member's parents dependency edges' — a cross-tool contract that no single schema field states outright.

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?

States a specific verb+resource ('Validate a stack specification against the cluster') and immediately scopes it with 'without creating or deploying anything', distinguishing it from create_stack and from the cluster-manifest validator. It also enumerates the checks performed (duplicate stack name, member shape, chart and dependency checks), so an agent knows exactly what class of tool this is.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit ordering guidance: 'Use this before create_stack, and add the missing parents before deploying.' It names the alternative it precedes and the corrective action to take on failure, so the when-to-use condition is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources