Skip to main content
Glama

upload_image

Upload a local image to your Ghost blog and get back its hosted URL for use as a post's feature image, site logo, or icon.

Instructions

Upload a local image file to the blog and return its hosted URL.

Use the returned URL for a post's feature_image, the site logo/icon (via update_branding), or a newsletter header_image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purposeNo``image`` (default), ``profile_image``, or ``icon``. The latter two must be square images.image
file_pathYesPath to a local image (WEBP, JPEG, GIF, PNG, SVG; ICO for icons).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses upload action and return, but does not mention file size limits, overwrite behavior, or privacy implications. Adequate for a straightforward upload but could be more transparent.

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 sentences, front-loaded with the core action followed by usage guidance. Every sentence adds value without redundancy.

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?

Given that an output schema exists, the description need not explain return values. It covers purpose and usage adequately, though it omits file size limits or error handling. Overall complete for a simple upload tool.

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 description coverage is 100%, baseline 3. The description adds limited new context: the square requirement for 'profile_image' and 'icon' is already in the schema. No additional parameter semantics are provided beyond the schema.

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 uses the verb 'Upload' and specifies the resource 'local image file to the blog,' with a clear return of a hosted URL. It differentiates from the sibling tool 'upload_image_from_url' by emphasizing 'local' upload.

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

Usage Guidelines4/5

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

The description explicitly states where the returned URL can be used (feature_image, logo/icon via update_branding, newsletter header_image). It provides context but lacks explicit when-not-to-use or alternatives, though the sibling list suggests alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stemcreations/ghost-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server