Skip to main content
Glama

Build a site from a description

build_site
Destructive

Designs and publishes a complete, modern one-page website from a plain-language description, using the same AI builder as https://deed.page/build. Inputs: prompt (required, up to 2000 characters), and optional slug and token. Takes about a minute. Returns the same fields as a publish (url, slug, version, and token on the first anonymous build) plus build {title, sections, seconds}. The result is an ordinary site: edit and republish it with the same token like any other site. Limits: 3 builds per token per hour and 10 per day, plus per-address limits; over a limit returns rate_limited with retry_after. When the builder is at capacity it returns busy with retry_after. Each build uses one of the token owner's AI credits (every account has 1 free build; Hobby and Pro add monthly credits); with none left it returns credits_exhausted with message_for_user and a $1 pack offer (checkout plan ai_pack) to show your human, and nothing is spent. Never pay without their approval. Content policy: https://deed.page/acceptable-use.

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": {
      "prompt": "<prompt>"
    },
    "name": "build_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoOptional slug matching ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$. A new slug, or one this token owns. Omit for a random slug.
tokenNoBearer token returned by your first publish (deed_tok_...). Optional if the MCP client sends Authorization: Bearer.
promptYesWhat the site is for: business or project, audience, sections, tone, colors. 8-2000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare destructive/openWorld/non-idempotent; the description adds substantial behavior: ~1 minute latency, hourly/daily/address rate limits returning rate_limited with retry_after, a busy state with retry_after, AI credit consumption, credits_exhausted with message_for_user and a $1 ai_pack offer, and an explicit 'never pay without approval' safeguard. These are exactly the operational facts an agent needs before invoking a costly, non-idempotent build.

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 purpose, then inputs, timing, return shape, limits, and cost policy in a logical order. It is dense but long; the credit/pricing sentence is verbose and could be tightened without losing the required agent behavior.

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?

No output schema exists, and the description compensates by enumerating returned fields (url, slug, version, token on first anonymous build) plus the build object (title, sections, seconds). Combined with error codes, retry hints, and credit rules, an agent has everything needed to call it and handle the failure modes.

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 baseline is 3, and the description adds real meaning on top: prompt is required and capped at 2000 characters, slug and token are optional, and notably the token comes from the first anonymous build and can be omitted when the client sends Authorization: Bearer. That provenance detail is not derivable from the schema alone.

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 pair (designs and publishes), a concrete resource (a complete, modern one-page website), and the input modality (plain-language description). It also clarifies the resulting artifact is 'an ordinary site' editable with the same token, which separates it from publish_site and update_site in the sibling list.

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?

Makes clear this is the entry point when you only have a text description, and that subsequent edits go through the normal republish path with the same token. It gives time expectations, quota behavior, and cost rules, though it never names publish_site or update_site explicitly as the follow-up tools, leaving that inference to the agent.

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.