Skip to main content
Glama

compose_stack

Read-onlyIdempotent

Assemble shell layouts and hydrate preconfigured component stacks into slots to compose Basecoat UI pages for HTML, Astro, React, Vue, or Svelte projects.

Instructions

[STAGE 3: SYNTAX & STACKS] Alias of basecoat_compose_stack. Assemble shell architectures and hydrate pre-configured component stacks into slots.

Input Schema

NameRequiredDescriptionDefault
idNoPoka-Yoke alias for shellId.
nameNoPoka-Yoke alias for shellId.
shellNoPoka-Yoke alias for shellId.
titleNoOptional workspace/page title to inject into the shell header.
stacksNoOrdered list or record of component stack IDs to hydrate into the shell slots (e.g., ["kpi-4-col", "area-chart-overview", "data-table-full-crud", "recent-sales-feed", "detail-drawer"]). Also accepts category shorthands: "kpi", "chart", "table", "form", "overlay".
densityNoOptical spacing density mode. Defaults to standard.
shellIdNoShell architecture ID from shell-stacks: sidebar-01..sidebar-16, topbar-shell, inset-shell, or split-shell. Defaults to sidebar-01.
headerIdNoOptional header stack ID from header-stacks: breadcrumb-command-header, tabs-filter-header, or date-range-export-header.
componentIdNoPoka-Yoke alias for shellId.
environmentNoTarget output environment/framework. Defaults to html.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint=false, destructiveHint=false). The description adds the alias equivalence, which is useful, but discloses no behavior beyond that – no statement of what is produced, whether anything is persisted, or any constraints. It does not contradict the annotations, so no reduction applies.

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 short sentences, front-loaded with the stage tag and the alias relationship, with zero filler. Every clause carries information.

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

Completeness3/5

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

With 10 parameters, no output schema, and a generate/assemble operation, the description should say what the tool returns (markup, file paths, a composition result). It does not, leaving the agent unable to anticipate output shape, though the schema does cover all inputs.

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 100% and the schema itself documents every parameter richly (alias mapping, defaults, enum values, examples). The description contributes no parameter-level meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 concrete verb pair ("assemble" / "hydrate") and named resources ("shell architectures", "pre-configured component stacks into slots"). Critically, it declares itself an alias of basecoat_compose_stack, so an agent can immediately tell it is a duplicate entry point rather than a distinct capability.

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 "[STAGE 3: SYNTAX & STACKS]" tag gives pipeline context, but there is no explicit when-to-use/when-not guidance and no statement of how this alias differs in usage from basecoat_compose_stack. Usage is only implied by the stage label.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.