Skip to main content
Glama
DROP MCP Server

DROP MCP Server

by Micropue

Update an existing static site on DROP

drop_update_site
Destructive

Update an existing DROP static-site project by exact slug, atomically replace its file snapshot, and return the public URL.

Instructions

Update an existing DROP static-site project identified by slug, then return its public URL. Always pass the exact existing slug. The complete file snapshot is atomically replaced and the tool returns action="deployed"; it never creates a new project. If the slug is unknown, first use drop_list_projects or drop_get_project to discover it. If no project exists, use drop_publish_site to create one. The existing project name, visibility, and enabled state are not changed. 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. Updates use 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_update_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoLocal directory containing the deployable static output. Must be under DROP_ALLOWED_ROOTS.
slugYes要更新的已有 DROP 项目 slug,1–40 位小写字母、数字或连字符;大写会自动转小写。必须传入已存在的 slug;如果不知道 slug,先用 drop_list_projects 或 drop_get_project 查询。
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.8/5.0
Behavior5/5

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

Annotations cover the destructive/read-only/idempotency profile, and the description goes well beyond them: atomic full-snapshot replacement, the literal success signal action="deployed", preservation of name/visibility/enabled state, file-type and size limits, DROP_ALLOWED_ROOTS restriction, and If-Match optimistic concurrency with a single conflict retry. These are the operational facts an agent needs before a destructive, non-idempotent call.

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?

Purpose and slug requirement are front-loaded, then behavior, alternatives, source modes, limits, and concurrency follow in a logical order with no filler sentences. It is dense — limits and concurrency are packed into single long sentences — but none of it is redundant with the schema or annotations.

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 destructive, open-world, non-idempotent mutation with five parameters and no output schema, the description still explains the outcome (action="deployed"), what is and is not mutated, the file constraints, and the conflict-handling policy. Nothing an agent needs in order to call it correctly and interpret the result 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 100%, so a 3 is the floor, and the description adds real meaning by imposing a constraint the schema does not encode: provide exactly one source, path (local directory under DROP_ALLOWED_ROOTS) or files (inline path/content pairs). It also restates the acceptance envelope (only .html/.css/.js, 20 files max, 512 KiB per file, 1 MiB total) and that ignoreUnsupported applies when publishing a directory.

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?

Names a specific verb and resource ("Update an existing DROP static-site project identified by slug") plus the return value ("return its public URL"), and explicitly separates itself from drop_publish_site with "it never creates a new project." The contrast with creation in the same sentence makes sibling disambiguation immediate.

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?

Gives a complete decision tree: pass the exact existing slug; if the slug is unknown, use drop_list_projects or drop_get_project first; if no project exists at all, use drop_publish_site instead. When-to-use, when-not-to-use, and the named alternatives are all present.

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