Skip to main content
Glama

Generate cover image

generate_cover_image

Generate AI cover images from a text prompt and upload them to the Misar.Blog CDN for blog posts.

Instructions

Generate a cover image using AI and upload it to the Misar.Blog CDN

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": {
      "prompt": "<prompt>"
    },
    "name": "generate_cover_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoImage dimensions (default: landscape 1792x1024)1792x1024
promptYesDescription of the image to generate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv5.1.3
    • changedInput schema / properties / prompt / description
      Previous value: -"What the image should show, in plain language, up to 1000 characters. Describe subject and style; avoid asking for text in the image."New value: +"Description of the image to generate"
    • changedInput schema / properties / size / description
      Previous value: -"Output dimensions: '1792x1024' landscape (the default, best for article covers), '1024x1024' square, '1024x1792' portrait."New value: +"Image dimensions (default: landscape 1792x1024)"
  3. Changed2 schema fields changedv5.1.0
    • changedInput schema / properties / prompt / description
      Previous value: -"Description of the image to generate"New value: +"What the image should show, in plain language, up to 1000 characters. Describe subject and style; avoid asking for text in the image."
    • changedInput schema / properties / size / description
      Previous value: -"Image dimensions (default: landscape 1792x1024)"New value: +"Output dimensions: '1792x1024' landscape (the default, best for article covers), '1024x1024' square, '1024x1792' portrait."
  4. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description's real contribution is disclosing that a generated image is persisted to the CDN, implying a lasting artifact rather than a transient result. It omits cost/latency of AI generation, content-moderation behavior, and what identifier comes back.

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 with no filler; the generation action and the CDN upload are both stated compactly. It is arguably too terse for a tool with a persistent side effect, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 params, no nesting), but with no output schema the description should say what comes back, e.g. an image URL or asset id, and it does not. Auth requirements and the fact that each call yields a new image are also left implicit.

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%, with both prompt and size documented including the enum and default, so the schema carries the parameter burden. The description adds no extra meaning about prompt phrasing, style constraints, or when to pick portrait vs landscape.

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 ('Generate') plus resource ('cover image') and adds the mechanism ('using AI') and the side effect ('upload it to the Misar.Blog CDN'). This implicitly separates it from the sibling upload_image, which presumably uploads an existing file, though that sibling is never named.

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 explicit when-to-use guidance, no mention of prerequisites (auth, plan limits), and no disambiguation from upload_image or generate_title_seo. Usage is only inferable from the tool name and the word 'cover'.

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