Skip to main content
Glama

Publish a folder

publish_dir

Publish a folder of static files to a live HTTPS URL. Requires index.html at root, or .md/.pdf files served via reader; returns the URL.

Instructions

Publishes a folder of static files and returns its URL. The folder needs an index.html at its root, or .md and .pdf files, which are served through the reader.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path of the folder to publish.
siteNoSubdomain or site id to publish over. Omit to create a new site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that the folder must contain index.html or .md/.pdf files and that they are served through the reader, which is useful behavioral context. However, it doesn't mention whether publishing overwrites an existing site, whether the operation is reversible, or any rate limits or auth requirements.

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?

Two sentences with no wasted words. The core action and return value are front-loaded, and the content requirements are stated efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is adequate for a simple publish operation with 2 parameters and no output schema. It explains what the tool does and the folder content requirements. However, it lacks details about what happens when 'site' is omitted (creates a new site) versus when it's provided (overwrites?), and doesn't describe the URL format or any side effects.

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 the schema already documents both parameters. The description adds context about the folder content requirements but doesn't add meaning beyond the schema for the 'path' and 'site' parameters themselves. 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 'publishes', the resource 'a folder of static files', and the outcome 'returns its URL'. It also specifies the required content (index.html or .md/.pdf files), which distinguishes it from sibling tools like publish_files.

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?

The description implies when to use this tool: when you have a folder of static files with an index.html or markdown/PDF files. It doesn't explicitly name alternatives or exclusions, but the content requirements provide clear context for when this tool is appropriate versus publish_files.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools