Skip to main content
Glama

Replace a drop's content

dropyour_replace
Idempotent

Replace the content of an existing drop — HTML, or a base64 .zip once the app has GRADUATED to tier 4. The URL never changes (origin contract): visitors' browser data survives the update. A drop keeps its type: .zip sites are replaced by a .zip, single-file drops by HTML. If other apps call this one under a contract (dropyour_link), the new version is checked against it before it stays live: a version that breaks one is refused and the previous one put back (error consumer_contract_broken). With an account token, owned drops need no managementToken. COST: every byte of html or zipBase64 is written in your message. With an account, if you can run a command, prefer dropyour_upload action:'url': the same checks, and the bytes go from the disk.

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": {
      "dropId": "<dropId>"
    },
    "name": "dropyour_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoThe new complete HTML content (single-file drops)
dropIdYes
zipBase64NoThe new .zip archive, base64-encoded — graduated apps only (tier 4)
managementTokenNoThe token returned by dropyour_publish — optional for drops owned by your account token

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / zipBase64 / description
      Previous value: -"The new .zip archive, base64-encoded (multi-file sites, Pro)"New value: +"The new .zip archive, base64-encoded — graduated apps only (tier 4)"
  2. Changed3 schema fields changed
    • changedInput schema / properties / html / description
      Previous value: -"The new complete HTML content"New value: +"The new complete HTML content (single-file drops)"
    • addedInput schema / properties / zipBase64
      Added value: +{
      +  "description": "The new .zip archive, base64-encoded (multi-file sites, Pro)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "dropId",
      -  "html"
      -]New value: +[
      +  "dropId"
      +]
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the idempotentHint/destructiveHint pair, it discloses the origin-contract guarantee (URL never changes, visitor browser data survives), type preservation, the consumer-contract validation with automatic rollback of a breaking version and the specific error string consumer_contract_broken, and a payload-cost tradeoff. That is substantive behavior an agent cannot infer from annotations.

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?

Front-loaded with the action, then constraints, then cost — good ordering. However, the type-preservation sentence largely repeats the opening clause listing HTML vs base64 .zip, and the paragraph is dense enough that scannability suffers slightly.

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?

Auth paths, type rules, contract-validation failure mode, and cost are all addressed for a 4-parameter mutation with no output schema. The remaining gap is the result shape — whether the call returns a version identifier or just confirmation — which the agent may want for follow-up rollback or read calls.

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 75% and the schema already explains html, zipBase64 and managementToken, so the description only needs marginal additions — but it does add real meaning: a .zip drop must be replaced with a .zip and a single-file drop with HTML, and the tier-4 gate for zipBase64. It does not clarify the dropId pattern or what form a partial payload takes, so it stops short of a 5.

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?

"Replace the content of an existing drop" gives a specific verb and resource, then immediately scopes it: HTML for single-file drops, base64 .zip only after graduating to tier 4. An agent can distinguish this from dropyour_upload and dropyour_patch without opening any schema.

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 names the alternative and the selecting condition explicitly: with an account, if you can run a command, prefer dropyour_upload action:'url' because the bytes come from disk instead of the message. It also states the tier prerequisite for zipBase64 and that an account token removes the need for managementToken — when-to-use, when-not-to-use, and prerequisites are all covered.

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.