Skip to main content
Glama

validate_cluster_manifest

Read-only

Validate an ImportCluster YAML the way ankra cluster validate and the API do, without changing anything: structural checks, the organisation's chart catalog, dependency and variable references, and, when a cluster of that name exists, its current state. Returns errors and warnings per resource. Run this before apply_cluster_manifest. Read-only.

Input Schema

NameRequiredDescriptionDefault
manifest_yaml_base64YesThe ImportCluster YAML (kind: ImportCluster, metadata.name, spec.stacks and optionally spec.git_repository), base64-encoded, at most 2 MiB. Inline `manifest` and `configuration.values` blocks are accepted; file references (from_file) are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description reinforces this ("without changing anything", "Read-only"), so credit is for the added detail: it discloses the specific validation passes performed and that results come back as errors and warnings per resource. It stops short of describing severity handling or limits, so not a 5.

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?

Front-loaded with the core action, then the check list, then the sequencing and read-only cue. Efficient overall, though the first sentence is dense enough to require a second read.

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 a single fully documented required parameter and no output schema, the description still tells the agent what nothing else does: that it returns errors and warnings per resource and that it is a non-mutating pre-flight step. Nothing needed to invoke it correctly is missing.

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

Parameters3/5

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

Schema coverage is 100% and the schema description is rich (base64 encoding, 2 MiB cap, accepted inline blocks, from_file refused). The description adds nothing beyond the parameter name, so the baseline 3 is appropriate.

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 (validate) and resource (ImportCluster YAML), then enumerates what is checked: structural checks, chart catalog, dependency/variable references, live cluster state. This distinguishes it from the many apply_*/create_* siblings, and it explicitly names apply_cluster_manifest as its counterpart.

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

Usage Guidelines4/5

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

Gives a clear sequencing rule: "Run this before apply_cluster_manifest." That names the alternative and the condition that selects this tool. It does not state any when-not condition, but for a pre-flight validator the guidance is strong.

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