Skip to main content
Glama
Ghost MCP Server

Ghost MCP Server

by proars

upload_image

Upload a local image file to Ghost storage and get its URL for use in posts, pages, or profile images. Provide the file path and optional purpose.

Instructions

Upload one image from a local file path to Ghost storage; returns its URL. [POST /admin/images/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_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoOptional reference string returned with the upload result.
purposeNoImage purpose. profile_image and icon must be square; icon also accepts .ico. Default: image.
file_pathYesAbsolute path to the local file to upload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive write. The description adds that the file is copied into Ghost storage, that a URL is returned, and the underlying POST endpoint, which is useful context. It does not disclose auth requirements, size/type limits, overwrite behavior, or failure modes.

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?

A single front-loaded sentence plus the endpoint annotation; nothing is wasted. The bracketed route is a small addition rather than filler, though it is arguably schema-adjacent.

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 simple three-parameter upload with full schema descriptions and a stated return value, the definition covers what an agent needs to call it correctly. Only operational details such as file-size constraints or failure behavior are absent, and there is no output schema to lean on.

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?

Schema coverage is 100%, so all three parameters (including the purpose enum's square/ico constraints) are documented in structured form. The description only reinforces the 'local file path' notion and adds nothing about ref or purpose, so baseline 3 applies.

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?

States a specific verb and resource ('Upload one image ... to Ghost storage') and adds the outcome ('returns its URL'), so the agent knows exactly what the call accomplishes. It does not differentiate itself from any sibling (e.g. upload_theme), leaving that distinction implicit.

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?

There is no when-to-use or when-not-to-use guidance, no prerequisites (does the file need to exist locally? size limits?), and no mention of any alternative. The only usage signal is the implied 'one image' scope.

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