Skip to main content
Glama

build_page

Design a complete page from intent. Returns an act map — 5–7 acts in page order, each with a purpose, recommended patterns (by slug), and a density rating (loud/quiet). Follows the one-page protocol: density wave pacing, one GL spectacle, 12–18 viewport-heights. Feed the result straight to get_pattern to retrieve the code. Returns metadata only — no pattern bodies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actsNoNumber of acts (default 6, range 5–7)
seedNoReproducible creative seed.
intentYesWhat the page is for, e.g. "luxury real estate landing page" or "SaaS startup launch with pricing"
historyNoRecently used pattern slugs or numbers to cool down.
exclusionsNoPattern slugs or numbers that must not be used.
direction_idNoOne direction_id returned by propose_directions for this same intent/seed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / direction_id
      Added value: +{
      +  "description": "One direction_id returned by propose_directions for this same intent/seed.",
      +  "type": "string"
      +}
    • addedInput schema / properties / exclusions
      Added value: +{
      +  "description": "Pattern slugs or numbers that must not be used.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / history
      Added value: +{
      +  "description": "Recently used pattern slugs or numbers to cool down.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / seed
      Added value: +{
      +  "description": "Reproducible creative seed.",
      +  "type": [
      +    "string",
      +    "number"
      +  ]
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must bear the full burden of behavioral disclosure. It clearly states the output is metadata only (not pattern bodies), follows 'the one-page protocol' with specific constraints (density wave pacing, one GL spectacle, 12–18 viewport-heights), and that it returns an act map. This gives the agent an idea of what to expect. However, it doesn't clarify if the tool makes any external calls, whether it has side effects, or whether any inputs are destructive—but as a design tool, this is likely non-destructive. The description adds decent context but lacks depth on edge cases.

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?

The description is three sentences, each dense with meaning. It front-loads the core purpose, follows with output structure and design constraints, and ends with a clear call-to-action (feed to get_pattern). Every sentence earns its keep with zero filler.

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?

Given the tool has 6 parametersholistic, an output schema absent, and no annotations, the description covers the core output format, the design protocol constraints, and the recommended downstream step. It doesn't explain how to interpret the density rating or act purposes in detail, but that may be understood from the get_pattern context. The description is comprehensive enough for an agent to understand the tool's role in the design pipeline, though some implementation details (like error handling) are not covered.

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%, so the schema already documents all parameters: intent, acts, seed, history, exclusions, and direction_id. The description adds value by explaining the output format (act map) and its relationship to get_patternable, but it doesn't enrich parameter semantics beyond the schema. For example, it doesn't explain the interplay between acts and direction_id beyond what the schema offers. Baseline 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?

The description starts with a specific verb 'Design' and defines the resource as 'a complete page from intent.' It clearly states what the tool does: produce a page design plan with acts, patterns, and density ratings. It also differentiates it from siblings by stating it 'Returns metadata only' and explicitly says to feed output to get_pattern for code.

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?

The description gives strong context: use this tool to design a page, and then 'Feed the result straight to get_pattern to retrieve the code.' It names a sibling (get_pattern) and describes the workflow. However, it doesn't explicitly exclude other tools or mention when not to use this one. The purpose is clear enough that an agent could infer usage, but exclusions are not stated.

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.

Resources