Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

upload_theme

Destructive

Upload a local ZIP file to install or overwrite a Ghost theme; a theme with the same name is replaced.

Instructions

Upload a theme from a local ZIP file. A theme with the same name is replaced, so this can overwrite an installed theme. [POST /admin/themes/upload/]

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": {
      "file_path": "<file_path>"
    },
    "name": "upload_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the local file to upload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the description's added value is the precise mechanism: a theme with the same name is replaced, meaning an installed theme can be silently overwritten. That is genuinely useful context beyond the boolean hint, though it omits permission requirements and what the call returns or whether the theme becomes active.

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 tight sentences: the action and format come first, the destructive overwrite consequence second, with the endpoint appended for reference. Nothing is wasted and the risk-relevant line is front-loaded.

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?

For a single-parameter upload tool whose annotations already convey the safety profile, the definition covers action, format, and overwrite risk. The remaining gap is what happens after upload (activation state) and any permission requirement, which keeps it from a 5.

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?

With a single parameter at 100% schema coverage, the schema already defines file_path. The description nonetheless adds meaningful constraints: the file must be a ZIP archive and represents a theme, which narrows interpretation of the generic "local file to upload" schema text.

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 gives a specific verb and resource ("Upload a theme from a local ZIP file"), which cleanly separates it from siblings like upload_image and activate_theme. It stops short of explicitly contrasting with any named sibling, so it lands just under the top mark.

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

Usage Guidelines3/5

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

The overwrite warning implies a caution condition, but there is no explicit when-to-use guidance, no mention of whether the theme must then be activated with activate_theme, and no stated prerequisite about admin access. Usage is inferable rather than stated.

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