Skip to main content
Glama
DROP MCP Server

DROP MCP Server

by Micropue

Create a static site on DROP

drop_publish_site
Destructive

Publish a local directory or inline HTML, CSS, and JS files as a new public static site and return its public URL; reuse an existing slug to deploy updates.

Instructions

Create a new public DROP static-site project from a local directory or inline files, then return its public URL. For backward compatibility, passing an existing slug updates that project and returns action="deployed"; however, prefer drop_update_site when the user explicitly asks to update or redeploy an existing site. When creating a separate project, choose a new unused slug. Provide exactly one source: path (a local directory restricted by DROP_ALLOWED_ROOTS) or files (inline path/content pairs). DROP accepts only .html, .css, and .js files: at most 20 files, 512 KiB per file, and 1 MiB total. Existing projects are deployed with optimistic concurrency (If-Match) and one conflict retry.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "drop_publish_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoProject name used only when creating a new project. Defaults to the slug. When an existing slug is reused for an update, the existing project name is kept.
pathNoLocal directory containing the deployable static output. Must be under DROP_ALLOWED_ROOTS.
slugYesDROP 项目 slug,1–40 位小写字母、数字或连字符;大写会自动转小写。传入已有 slug 会更新该项目的全部文件,不会创建重复项目;更新站点时应继续使用原 slug。
filesNoInline project files, used instead of path.
messageNoOptional deployment message.
ignoreUnsupportedNoWhen publishing a directory, explicitly skip unsupported regular files instead of failing. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: exactly one source must be provided, updates use optimistic concurrency with If-Match and one retry, and DROP accepts only .html, .css, and .js files with strict count and size limits. This is substantial operational context that helps an agent avoid misuse of a destructive write tool.

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 front-loaded around creation and the return value, then moves logically through update behavior, source selection, file constraints, and concurrency. Every sentence carries useful information without unnecessary repetition.

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?

For a complex publish operation with no output schema, the description covers the return value, source modes, file and size limits, update semantics, sibling routing, and concurrency behavior. Annotations cover the safety profile, and the description supplies the remaining context needed to call the tool correctly.

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 description coverage is already 100%, so the baseline is 3. The description adds meaningful constraints beyond the schema, including that path and files are mutually exclusive, path must be under DROP_ALLOWED_ROOTS, and a new slug should be chosen for a separate project.

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 states a specific verb and resource: create a new public DROP static-site project from a local directory or inline files and return its public URL. It explicitly distinguishes creation from updating an existing project and names the sibling drop_update_site for explicit update or redeploy requests.

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?

It gives clear when-to-use guidance: use this to create a separate project with a new unused slug, but prefer drop_update_site when the user explicitly asks to update or redeploy. The backward-compatibility behavior for existing slugs is also clearly flagged.

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