Skip to main content
Glama

Create Site

create_site

Create a new site with inline text files (HTML, CSS, JS, SVG, JSON, etc.). For large or binary files, use request_upload without a site_id instead — it creates the pending site and upload batch in one operation. Inline limit: 200 files, 1 MB per file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesFiles to deploy inline. Each entry is a path + UTF-8 content string. Must contain at least one file.
titleNoDisplay name for the site in the dashboard. Optional.
passwordNoPassword-protect the site. Requires Lite plan or above. Optional.
subdomainNoRequested subdomain for the site URL (e.g. 'my-portfolio'). Optional — Upfling assigns one if omitted. Must be lowercase alphanumeric and hyphens only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlYes
statusYes
warningsNo
subdomainYes
upload_slotsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only provide generic false hints for readOnly and destructive, which don't add much. The description compensates by explaining the inline operation and its limits, but doesn't disclose details like authentication needs or what happens on failure. However, with annotations being sparse, the description does a decent job.

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 concise, front-loads the core purpose, and uses a clear alternative instruction within two sentences. No wasted words.

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?

The tool is moderately complex with 4 parameters and an output schema exists, so return values are covered. The description provides the key usage distinction and limits, but could mention that the operation is not idempotent (annotations already indicate false, but description doesn't add behavioral nuance). Overall, complete enough for correct invocation.

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 all parameters are already well-documented. The description adds minor context about the 'files' parameter (inline vs. upload) but doesn't go 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?

The description clearly states the verb 'create', the resource 'site', and the method (inline text files). It distinguishes itself from sibling tools by naming specific alternatives like 'request_upload' for large/binary files. The mention of inline limits adds scope precision.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use this tool vs. alternatives: 'For large or binary files, use request_upload without a site_id instead'. It also provides clear constraints (inline limit: 200 files, 1 MB per file) that inform usage.

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