Skip to main content
Glama

Add a cover image

add_image
Idempotent

Adds a cover image to a draft press release. Send an image URL, or a file the user attached in the chat. With neither, it returns a one-time upload link where the user can drop the image. An image 1200 px wide or more fills the page, and from 600 px it shows at its own size. Under 600 px, or without an image, the release uses a simple cover with the company logo and headline, so this step is optional. Returns which cover the release will use (yours or the cover card), with a note when the image was not used, or the upload link.

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": {
      "release_id": "<release_id>"
    },
    "name": "add_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_urlNoA public https URL of the image.
image_fileNoA file the user attached in the chat.
release_idYesThe release id.
image_is_aiNotrue when the image was made with AI. The page then labels it "Illustration, created with AI".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / image_is_ai
      Added value: +{
      +  "description": "true when the image was made with AI. The page then labels it \"Illustration, created with AI\".",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare it non-read-only, idempotent and non-destructive; the description adds genuinely new behavior the annotations cannot convey — the size thresholds (1200 px fills page, 600 px shows at own size, below 600 px falls back to a logo cover card) and the fact that omission is legitimate. It also explains the side effect of returning a one-time upload link and a note when the image is rejected.

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, then input modes, then sizing rules, then return value — a logical front-loaded order with no filler sentences. The pixel-threshold sentence is slightly dense and could be read as detail bloat, but it directly informs whether to bother sending an image.

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?

No output schema exists, and the description fully covers what comes back: which cover will be used, an explanatory note for an unused image, or the upload link. Combined with the documented optionality of all image parameters, an agent has everything needed to call this correctly.

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 3 is the floor, but the description earns more by clarifying the mutual exclusivity of image_url and image_file and, crucially, the behavior when neither is passed — which the schema cannot express since both are non-required. It does not restate the AI-labeling semantics of image_is_ai, leaving that to 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?

Opens with a specific verb+resource+scope: 'Adds a cover image to a draft press release.' The 'draft' qualifier implicitly separates it from fix_live_release/publish_release, and the rest of the description enumerates the three input modes an agent must choose between.

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?

Explicitly states the step is optional and lays out the decision path: supply a URL, supply an attached file, or omit both and hand the user an upload link. It lacks an explicit 'do not use this on a published release' exclusion, but the draft scoping in the first sentence largely covers that.

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.