Skip to main content
Glama

deploy_site

Put a static site online on a free link. Pass files inline as {path, content, encoding} where encoding is utf8 or base64. This server cannot read a folder on your machine. The server chooses index.html, dist/, build/, out/, _site/ or public/. Do not pick the folder yourself. With a token: pass site_id to update that site. Omitting site_id fills the oldest reserved address on the account (from Get an AI code) instead of creating a second site. Without a token the site goes live anonymously and you MUST give the human the claim_url. Free only; never buys a name. Decoded files stay within the existing upload cap (100 MB signed in, smaller before the site is claimed). Never buy anything without asking me. Never buy a domain, email or subscription for me without asking first. When something costs money, give me the payment link and let me pay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoOptional: the address label for a NEW site, e.g. "myproject". Errors when taken, so propose another.
filesYesSite files sent inline. Each item has path, content, and encoding utf8 or base64. Leave out node_modules, .git and hidden files. .well-known is allowed.
site_idNoOptional: an existing site to update. Omit it to fill the oldest reserved site on this account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (readOnly=false, idempotent=false, destructive=false) but say nothing about cost, auth, or limits. The description adds critical behavior beyond them: free-only, never purchases a name, upload cap of 100 MB signed in, and the claim_url obligation for anonymous sites.

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 the core action and the file contract, then the token/site_id logic. Slightly padded by three overlapping sentences forbidding purchases ('Never buy... without asking'), which restate one policy point.

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, but the description covers the one return-relevant item an agent needs (claim_url), plus auth modes, size limits, and folder-selection rules. Nothing needed to invoke it correctly is missing.

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 already 100%, so baseline is 3, but the description adds real meaning: site_id's reserve-vs-create semantics and the slug 'errors when taken' behavior are not fully spelled out in the schema. Inline file/encoding expectations are reinforced.

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?

Opens with a specific verb+resource+scope: 'Put a static site online on a free link.' It clearly distinguishes itself from siblings like list_sites, point_domain, and get_checkout_link by describing the actual deployment action.

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?

Explicit routing rules: use a token + site_id to update, omit site_id to fill the oldest reserved address, omit the token to go live anonymously. It also tells the agent not to pick the folder itself and to hand the human a claim_url in anonymous mode — genuine when/when-not guidance.

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.