Skip to main content
Glama

Plan a site

plan_site
Read-only

Maps a brief to a whole site: the pages for the site type and, for each, the ordered blocks with the variant the direction's world favours, the Louis Studios component picked for it and why. One statement piece per screen, quiet surroundings. Blocks that need facts the content does not give are left out and listed. Then compose_page each page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>"
    },
    "name": "plan_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesWhat kind of site.
briefNoUsed when there is no direction_id yet: brand, app (required), audience, mood, colors, theme, headline, subline, cta, avoid, and optionally world.
contentNoThe site's real content, in the user's words. Blocks that need facts (numbers, quotes, prices, names) are only planned when they are given here; nothing is invented.
direction_idNoThe direction_id from set_direction (or create_direction).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuine behavioral context by disclosing that nothing is invented and missing-fact blocks are omitted and listed. It does not describe the return structure (how pages and blocks come back) or whether planning is deterministic relative to the direction, leaving the output contract vague for a read tool with no output schema.

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?

Front-loaded with the core action, then the design principle ('One statement piece per screen, quiet surroundings'), the omission rule, and the next step. Every sentence carries information; nothing is padding.

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 complex nested-schema planning tool with no output schema, the description covers purpose, design intent, data-honesty rules, and the follow-up tool. The main remaining gap is what the plan result looks like, which matters since no output schema exists to describe it.

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 100%, so all four parameters are documented in the schema itself, including the brief/content field meanings. The description reinforces the key semantic constraint that content must be real user-supplied facts and that blocks are planned only from it, but adds no syntax or format detail beyond the schema. 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?

States a specific verb and resource ('Maps a brief to a whole site') and details the output shape: pages for the site type plus ordered blocks with variant, chosen component, and rationale. It is clearly distinguishable from compose_page, which it explicitly hands off to.

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?

Names the handoff clearly: 'Then compose_page each page,' which tells the agent this is the planning step that precedes per-page composition. It also states when facts are omitted (blocks needing data not in content are left out and listed), but does not say when to prefer compose_section/compose_block directly or what to do without a direction_id beyond the brief field.

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