Skip to main content
Glama

deploy_site_dir

Deploy a static site from a local directory. Hash each file and upload only new bytes, skipping .git, node_modules, and .DS_Store.

Instructions

Deploy a static site from a local directory. Walks the tree, hashes each file, and uploads only the bytes the gateway doesn't already have via the v1.32 plan/commit transport. Files named .git, node_modules, or .DS_Store are skipped; symlinks are rejected. Re-deploying an unchanged tree issues no S3 PUTs. Free with active tier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject ID to link this deployment to
dirYesLocal directory to deploy. The SDK walks this directory, hashes each file, and uploads only bytes the gateway doesn't already have via the unified deploy primitive (CAS-backed). Files named .git, node_modules, or .DS_Store are skipped. Symlinks are rejected.
targetNoDeprecated/unsupported: unified deploy v2 does not support deployment target labels. Passing this field returns an error.
Behavior4/5

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

Despite no annotations, the description discloses key behaviors: tree walking, hashing, incremental upload, skipped files (.git, node_modules, .DS_Store), symlink rejection, and cost (free with active tier). This provides good transparency for an unannotated tool.

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?

The description is concise, front-loaded with the main purpose, and includes necessary details about file skipping and cost. Every sentence adds value.

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 complexity (static site deployment with diff logic), the description covers the process, limitations, and cost. No output schema exists, but the return value (deployment info) is implicit; additional detail on return format would raise the score.

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?

Input schema covers all parameters with detailed descriptions (100% coverage). The description adds minimal extra meaning beyond the schema, such as the 'v1.32 plan/commit transport' detail. Baseline 3 is appropriate.

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 states that the tool deploys a static site from a local directory, with clear verb ('Deploy') and resource ('static site from a local directory'). It explains the process (walks tree, hashes, uploads diff). However, it does not explicitly distinguish from sibling tools like deploy_site, leaving some ambiguity.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs alternatives. The description implies it's for deploying a static site from a local directory, but does not mention when not to use it or direct to siblings like deploy_function for serverless functions.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kychee-com/run402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server