Skip to main content
Glama

Bring a stack up from its file

briq_up
Idempotent

Bring up the stack a repo declares in its stack file, briq.yaml. Pass file: the file's content as you read it from the repo. Creates each service the stack does not have yet, as briq_run makes it and under the same checks: every new one, or none. Leaves the services it has as they are and never deletes, so calling it again is safe. A service is what briq_run takes: recipe with the fields it changes (image, env, cmd, size, volume, files; checkout and steps for a language recipe), or image with its settings. A secret the file names as { secret: NAME } is generated, unless its value is passed here: secrets: { STRIPE_KEY: "…" }; ask the person for one briq cannot generate, never invent it. Returns each briq and the outputs (connection strings, :URL for each published service). With expose: true, the outputs reach the stack from outside briq (a laptop): each database gets a TLS endpoint. The format: briq_docs "stack-file".

Input Schema

NameRequiredDescriptionDefault
fileYesThe stack file's content, YAML or JSON, as it is in the repo
waitNoWait until the new services are ready (default true)
stackNoBring it up as this stack instead of the file's `stack`, e.g. a branch's
exposeNoOutputs for a client outside briq (a laptop): each database gets a TLS endpoint and its connection string names it. Only when the person needs that: the briqs of the stack reach each other already
secretsNoValues of secrets the file names as { secret: NAME }, by name: an API key briq cannot generate. Stored encrypted, never shown again

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses atomicity ('every new one, or none'), the exact non-destructive semantics ('leaves the services it has as they are and never deletes, so calling it again is safe'), secret generation behavior, and what gets returned including the `<briq>:URL` outputs and TLS endpoints under expose. The idempotency claim is backed by mechanism rather than merely restating idempotentHint.

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 and the file argument, then layers the creation rules, secret policy, return values, and a pointer to briq_docs. It is dense and long, but nearly every clause carries operational weight for a multi-service provisioning tool; only the recipe-field enumeration feels slightly over-packed.

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?

For a five-parameter, nested-object tool with no output schema, the description covers what an agent needs: atomic creation, non-destructive re-runs, secret sourcing policy, the shape of returned outputs, and the expose trade-off. Nothing essential is missing before a correct call.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: `file` must be the file as read from the repo, `expose` is scoped to outside-briq clients with a TLS endpoint per database, and `secrets` is keyed by the { secret: NAME } references plus a never-invent instruction. `wait` and `stack` are not addressed in the description, keeping it from a 5.

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 and resource: bring up the stack a repo declares in briq.yaml, creating whatever services don't exist yet. It explicitly positions itself against briq_run ('as briq_run makes it and under the same checks') and points to briq_docs for the file format, so an agent can place it among siblings without opening a schema.

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 clear conditions: use it when a repo ships a stack file, pass the file content as read, and only set `expose: true` when the person needs access from outside briq. It also states the handling rule for secrets — ask the person for a value briq cannot generate, never invent one. It stops short of an explicit 'to create a single service, use briq_run instead' exclusion, leaving that to inference from the briq_run references.

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.