Skip to main content
Glama

publish_site

Publish a multi-file HTML site from a base64-encoded ZIP file. The ZIP must contain an index.html at its root. For sites larger than ~10MB — or whenever you have the file on disk — prefer the REST API /v1/artifacts/upload endpoint to avoid base64 overhead and to guarantee byte-faithful upload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoSite title (default: Untitled)
visibilityNoVisibility (default: unlisted)
zip_base64YesBase64-encoded ZIP file containing the site files

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It adds important constraints such as the ZIP must contain index.html at its root and the ~10MB size threshold. However, it does not mention permissions, side effects, or response format, which are left undisclosed. The added constraints are useful but not a complete safety/profile description.

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 two sentences long, front-loaded with the primary purpose, and every sentence contributes value. The first sentence states what the tool does, and the second provides essential limitations and an alternative. No fluff or repetition.

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?

Given the tool's moderate complexity (3 parameters, no output schema, no annotations), the description is largely complete: it explains the input format, mandatory content, and a key size limit. However, it does not mention what the tool returns (e.g., a URL or success indicator) or clarify how it differs from the sibling 'publish' tool, leaving small gaps in context.

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?

The input schema already describes all three parameters with 100% coverage, so the baseline is 3. The description adds meaningful semantic context for the key parameter zip_base64 by requiring that the ZIP contain an index.html at its root, which is not present in the schema. This extra constraint helps clarify correct usage beyond the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Publish a multi-file HTML site from a base64-encoded ZIP file.' This specifies the verb (publish), resource (multi-file HTML site), and input format. However, it does not explicitly distinguish itself from the sibling tool 'publish', though the base64 ZIP method is an implicit differentiator.

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 provides explicit guidance on when to avoid this tool and use an alternative: 'For sites larger than ~10MB — or whenever you have the file on disk — prefer the REST API /v1/artifacts/upload endpoint.' This gives clear conditional usage instructions and names a specific alternative, making it easy for an agent to decide when to invoke this tool.

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.

TDQS

A3.6/5.0
Disambiguation5/5

Each tool serves a clear, distinct function: get retrieves metadata/content, publish creates single-page artifacts, publish_site creates multi-file sites from ZIPs, and versions lists history. There is no overlap that would cause an agent to pick the wrong tool.

Naming Consistency2/5

The naming pattern is inconsistent. 'get' and 'publish' are bare verbs, 'publish_site' follows a verb_noun pattern with underscore, and 'versions' is a noun. A more consistent scheme would be 'get_artifact', 'publish_artifact', 'publish_site', 'list_versions'.

Tool Count5/5

With only 4 tools, the server is lean and well-scoped for the artifact publishing domain. Each tool covers a distinct core operation without unnecessary bloat.

Completeness2/5

The surface lacks essential operations for artifact lifecycle management. There is no way to list all artifacts or delete/update an artifact, which are common expectations. The 'versions' tool requires an artifact ID, but without a list operation, discoverability is a significant gap.

Resources