Skip to main content
Glama

Final POS – Custom POS Builder

Start a new build by copying an FBB

flow_create_flow_from_blueprint

Create a NEW flow that starts as a complete, vetted application rather than an empty file tree — the fastest path to a working build when an FBB (a Final Business Blueprint: a whole app) matches what the user wants. For an app the user merely DESCRIBED, use start_build (the website's own start picks the FBB); this verb is for when the user asked YOU to copy one. Find one with search_blueprints({ kind: "fbb" }). The app's screens, navigation and command-frame wiring are copied byte-exact from the build the FBB points at, its custom tables are re-created under THIS organization's names (the copied code already uses those names — keep them), and a fill-in request is raised for each secret it reads. This ALWAYS creates a new flow: an FBB cannot be merged into an existing build (there are no screen-graph merge semantics). To add parts to a build you already have, use apply_blueprint_widgets instead. THE COPY ENDS YOUR TURN. It is the finished deliverable, not step one — the app is vetted and already runs. When it returns, say its report line and stop: do NOT preview, validate, edit or extend it, and do not start on anything else the user described. The result names the tools not to call.

Input Schema

NameRequiredDescriptionDefault
agentNo
colorNoA colour the user asked for, as they said it ("pink", "dark green", "navy and gold", or a hex). Resolved to a full custom palette for the flow's appearance — prefer this over guessing customColors hexes. Ignored when customColors is also given.
fontsNo
shapeNo
themeNo
titleNoName for the new flow. Defaults to the blueprint's title.
deviceNoOverride the copy's default preview device (the frame the builder opens it in): a surface word (mobile, tablet, kiosk, …), a get_scaffold profile, a skin (iphone, ipad, …) or a full DeviceConfig. Omit to follow the blueprint's surface. Changeable later with set_flow_device.
flowIdNoNOT SUPPORTED — passing this returns an error. An FBB replaces an app's entire screen graph, so it can only start a NEW build. It is declared here purely so a caller that assumes otherwise fails loudly instead of having the field stripped and getting a second flow it never asked for. To add parts to an existing build, use apply_blueprint_widgets({ flowId, picks }).
paletteNo
hubTokenNo
blueprintIdYesThe exact FBB id, e.g. 'flow.coffee-quick-service'. An id without a version suffix resolves to the newest published version.
customColorsNo
supersedesFlowIdNoThe EMPTY placeholder flow you were told to build into, when a starter prompt pinned you to one before you knew an FBB would be used. This does NOT write into that flow — nothing can — it marks it as abandoned in favour of the flow created here, so the human's already-open builder tab follows you instead of watching an empty workspace forever. Pass the flow id from your instructions. Ignored (reported back as superseded:false) if that flow has any files, so it can never redirect a real build.

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 beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), disclosing that screens/navigation/command-frame wiring are copied byte-exact, custom tables are re-created under THIS organization's names with names that must be kept, and that a fill-in request is raised for each secret read. It also warns that the result names tools not to call and that flowId cannot redirect the copy.

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?

Purpose and sibling routing are front-loaded and nearly every sentence carries a distinct instruction, which is justified for a high-consequence one-shot operation. It is nevertheless verbose, with all-caps emphasis and some restatement ('it is the finished deliverable, not step one' / 'do NOT preview, validate, edit or extend it').

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 13-parameter, nested-object mutation tool with no output schema and low schema description coverage, the description still conveys the critical behavioural contract: what gets copied, what gets re-created, what causes an error, that the operation is terminal, and what the returned report line means. Nothing an agent needs to avoid misusing it appears 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 only 46%, and the description compensates well for the highest-risk parameters: it explains how to obtain blueprintId (search_blueprints), why flowId errors out, and what supersedesFlowId does (and does not) affect. However it adds nothing for the eight appearance/infra parameters (color, fonts, shape, theme, palette, customColors, agent, hubToken), so the gap is only partially closed.

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 precise verb and resource (create a NEW flow by copying an FBB, defined inline as 'a Final Business Blueprint: a whole app') and immediately contrasts it with the sibling start_build and the search path search_blueprints({ kind: "fbb" }). An agent can tell this apart from flow_create_flow, flow_apply_blueprint_widgets and flow_get_blueprint 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 Guidelines5/5

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

Explicit when-to-use ('when the user asked YOU to copy one' vs an app merely DESCRIBED), names the alternative for each case (start_build, apply_blueprint_widgets), and states the hard exclusion that an FBB cannot be merged into an existing build. The terminal instruction ('THE COPY ENDS YOUR TURN') also tells the agent what not to do afterwards.

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.