Skip to main content
Glama

Generate website images

mediaGeneration_generate

Generates up to eight images in one batch. Items run concurrently, may use same-website image references, and successful outputs become ordinary website assets. An item with background: "transparent" stores each output as a native transparent PNG without a separate opaque copy. Read the assets-and-media skill with skills_read first.

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": {
      "websiteId": "<websiteId>",
      "items": "<items>"
    },
    "name": "mediaGeneration_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
websiteIdYes
idempotencyKeyNoSend the same key when retrying one request so it never generates or bills twice. Omit for a new request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Adds meaningful context beyond the annotations: items run concurrently, references are scoped to the same website, successful outputs are persisted as ordinary website assets, and transparent backgrounds store a native PNG with no separate opaque copy. These are real behavioral/side-effect disclosures. It does not detail failure handling or return shape, but the annotations already cover the safety profile.

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?

Front-loads the core action and packs batch size, concurrency, reference scoping, and transparency behavior into a few tight sentences. The skills_read note at the end is well-placed; minor density but no wasted filler.

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 mutation tool with no output schema, it covers the important behaviors (asset creation, concurrency, transparency) and a prerequisite. The remaining gap is what the call returns (asset identifiers/URLs), which is 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 coverage is only 33%, so the description must carry weight. It clarifies the transparent-background storage behavior and batch/reference semantics, but leaves prompt, outputs, aspectRatio, and referenceAssetIds undocumented beyond the schema's constraints.

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 ('Generates up to eight images in one batch') and clarifies outputs become ordinary website assets. It is distinguishable from asset-management siblings, though it does not name a specific alternative tool it should be used over.

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?

Provides one clear precondition ('Read the assets-and-media skill with skills_read first'), which is useful. However, it offers no explicit when-to-use vs. alternatives guidance against nearby siblings like mediaGeneration_catalog, websiteAssets_importFromUrl, or websiteAssets_removeBackground.

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.

Resources