Skip to main content
Glama

Flux Cloud

Validate a specification locally and on the network

flux_validate_spec

Runs the local rule checks, then asks a FluxOS node to verify the specification exactly as it would at registration (image reachable, architecture, ports, name availability). Returns the node-formatted spec on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specYes
networkNoAlso verify on a FluxOS node.
fluxIdPrivateKeyNoWIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.
paymentPrivateKeyNoWIF private key of the Flux address that pays. Fund it with only what you intend to spend.

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?

With no annotations, the description carries the full burden and does well: it discloses the two-stage execution, the specific network checks performed (image reachable, architecture, ports, name availability), and the return value on success. It omits what happens on failure (error shape) and whether the network call has side effects or rate limits.

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 sentences, front-loaded with the primary action and then the specifics of what is verified. No filler; every clause conveys useful information about behavior or return.

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?

With no output schema, the description appropriately explains the return ('node-formatted spec on success'). For a nested-object validation tool this is largely complete, though failure behavior is left unexplained.

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 75%, so the schema documents most parameters including the network flag, keys, and the nested spec fields. The description adds no parameter-level detail and doesn't mention that network=false skips the node verification, so it neither compensates for the coverage gap nor extends the schema.

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?

The description gives a specific verb (validate) and resource (specification) and describes the two-stage process: local rule checks followed by FluxOS node verification. It clearly distinguishes this from siblings like flux_build_spec and flux_deploy_app by framing it as a pre-registration verification step.

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 phrase 'exactly as it would at registration' implies this should be run before deployment, which gives implicit usage context. However, it never explicitly says when to use it versus flux_build_spec or flux_deploy_app, nor does it name any exclusion or prerequisite.

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.