Skip to main content
Glama

add_manifest_to_stack_profile_draft

Add a raw Kubernetes manifest to a stack profile builder draft (e.g. a Namespace, ConfigMap, or Secret scaffold). For Secret manifests, set every data/stringData value to the literal string ANKRA_SECRET_PARAMETER - real secret values are rejected.

Input Schema

NameRequiredDescriptionDefault
parentsNoNames of draft resources this manifest depends on (deploy-order parents).
draft_idNoUUID of the stack profile builder draft. Defaults to the draft from the current page context, or the organisation's only open draft.
manifest_nameYesName for the manifest resource in the draft.
manifest_yamlYesThe manifest content as YAML (multi-document allowed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover safety profile (readOnly=false, idempotent=false, destructive=false), and the description adds a non-obvious behavioral constraint: real Secret values are rejected and every data/stringData value must be ANKRA_SECRET_PARAMETER. That's exactly the kind of context annotations can't convey. It stops short of describing the return or whether this mutates the draft in place.

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

Conciseness5/5

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

Two tight sentences with zero waste; the core action is front-loaded and the Secret constraint that would otherwise cause a failed call is stated immediately after.

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

Completeness4/5

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

For a 4-param mutation tool with no output schema, the description covers the essential action and the key failure mode (Secret rejection). Missing only draft lifecycle context (does this persist, can it be removed via remove_manifest_from_stack_profile_draft).

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%, so all four parameters are already documented in the schema. The description reinforces manifest content expectations but adds no syntax or format detail beyond the schema baseline.

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?

Specific verb (Add) + resource (raw Kubernetes manifest) + target (stack profile builder draft), with concrete examples (Namespace, ConfigMap, Secret scaffold). Clearly distinguishes from siblings like apply_manifest, validate_cluster_manifest, and add_addon_to_stack_profile_draft.

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

Usage Guidelines3/5

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

The Secret-handling rule implies when this tool is appropriate, but it never states when to use this versus alternatives such as apply_manifest or validate_cluster_manifest, nor any prerequisites like draft existence.

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