Skip to main content
Glama

create_draft

Idempotent

Stores a draft website in the user's Scopeweb portfolio and returns a persistent draft_id and a live preview_url. For when the user wants a page, site or landing draft for a name and none exists yet. Drafts persist across conversations. Content is screened on every version; a flagged draft is still stored, but its preview serves HTTP 451. Cannot spend money.

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": {
      "files": "<files>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoA domain your account has proven it owns and attached as a draft host (POST /agency-hosts). With label, the draft is also published at https://{label}.{host}, noindex and with no Scopeweb banner. Send host and label together.
slugNoReadable word for the preview address. Scopeweb adds a 3-character random tag, so ninkasi is served at https://ninkasi-k7q.scopedraft.dev. 3 to 36 lowercase letters, digits and single hyphens. Optional: derived from name_hint when omitted. Names that imitate login, payment or brand pages are refused.
filesYesSite files. index.html required for a browsable preview.
labelNoThe address on host, for example ninkasi for ninkasi.example.com. 3 to 40 lowercase letters, digits and single hyphens; names that imitate login, payment or brand pages are refused.
name_hintNoWorking name for the project
descriptionNoOne paragraph on what this is

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / host
      Added value: +{
      +  "description": "A domain your account has proven it owns and attached as a draft host (POST /agency-hosts). With label, the draft is also published at https://{label}.{host}, noindex and with no Scopeweb banner. Send host and label together.",
      +  "type": "string"
      +}
    • addedInput schema / properties / label
      Added value: +{
      +  "description": "The address on host, for example ninkasi for ninkasi.example.com. 3 to 40 lowercase letters, digits and single hyphens; names that imitate login, payment or brand pages are refused.",
      +  "type": "string"
      +}
    • addedInput schema / properties / slug
      Added value: +{
      +  "description": "Readable word for the preview address. Scopeweb adds a 3-character random tag, so ninkasi is served at https://ninkasi-k7q.scopedraft.dev. 3 to 36 lowercase letters, digits and single hyphens. Optional: derived from name_hint when omitted. Names that imitate login, payment or brand pages are refused.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations declaring it non-read-only, idempotent, non-destructive, and closed-world, the description adds important behavior: drafts persist across conversations, content is screened on every version, flagged drafts are still stored but previews serve HTTP 451, and the tool cannot spend money. It also discloses the returned draft_id and live preview_url despite there being 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?

The description is front-loaded with the core action and return values, then adds only relevant behavioral details about persistence, screening, and spending. Every sentence contributes useful information without repetition.

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?

Given the mutation semantics, rich schema descriptions, and annotations, the description is complete enough for correct invocation: it covers purpose, when to use it, return values, persistence, content screening outcomes, and the spending constraint. Missing details such as authentication are less critical here because the schema and annotations carry the operational basics.

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 parameters such as host, slug, files, and label are already well documented in the schema. The description adds little parameter-specific meaning beyond mentioning 'for a name,' 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?

The description states a specific verb and resource: 'Stores a draft website in the user's Scopeweb portfolio' and returns a draft_id and preview_url. It also scopes it to when the user wants a page/site/landing draft and none exists yet, which distinguishes creation from sibling operations like get_draft or update_draft.

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?

It gives a clear when-to-use condition: the user wants a page, site, or landing draft for a name and none exists yet. It does not explicitly name the alternative to use when a draft does exist, but the creation-only condition is enough to guide selection.

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