Skip to main content
Glama

Flux Cloud

Build a Flux app specification from a simple description

flux_build_spec

Turns images, ports, resources and a term into a complete, correctly formatted v8 specification, with public ports auto-picked and data replication enabled. Returns the spec plus local validation errors and warnings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesUnique app name: letters, digits, inner hyphens. Not starting with "flux" or "zel".
nodesNo
ownerNoFlux ID that will own the app. Defaults to the configured or passed key.
monthsNoTerm in network months (88000 blocks each). Default 1.
contactsNo
staticipNo
instancesNoCopies on distinct nodes. Default 3.
componentsYes
descriptionNo
geolocationNo
expireBlocksNoExact term in blocks; overrides months.
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

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful behavior beyond the schema: public ports are auto-picked, data replication is enabled by default, and the return payload includes local validation errors and warnings. It stops short of stating that the operation is purely local and side-effect free (no chain or network mutation) and says nothing about whether keys are consumed, which is the key question for a builder call sitting next to deploy/quote tools.

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 dense sentences, no filler, with the transformation front-loaded and the return behavior as a short trailing clause. Every phrase carries information.

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 13-parameter builder with no output schema, the description covers the essentials: what is produced, what is auto-filled, and what comes back. Parameter-level detail is delegated to a reasonably documented schema, though the absence of any sibling routing or key-handling note leaves a small gap.

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 description coverage is 54%, a middle band, and the description only gestures at the same categories the schema already documents (images, ports, resources, term). It adds no format or constraint detail, such as how the term maps to months/expireBlocks or how component resources are validated, so it does not compensate for the undocumented half.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific transformation ('turns images, ports, resources and a term into a complete, correctly formatted v8 specification'), so the artifact produced is unambiguous. It never names a sibling, however, and by saying it also returns 'validation errors and warnings' it blurs the line with flux_validate_spec, which an agent must distinguish on its own.

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

Usage Guidelines2/5

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

No when-to-use guidance is given: nothing says this is the pre-deploy authoring step or that its output feeds flux_validate_spec, flux_quote_app, or flux_deploy_app. The alternatives in the sibling list are never mentioned or contrasted.

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.