Skip to main content
Glama
Mohammed-Jameal-J

NewsBlog Composer MCP

generate_image

Create a banner image for an article from its visual concepts and save it locally. A trademark filter rewrites brand terms before generation.

Instructions

Step 8. Generate a banner image for the article and save it locally.

Build the prompt from the article's visual concepts, not its brand names. A trademark filter runs anyway and rewrites brand terms into generic descriptors before the prompt leaves this machine; check terms_removed to see what it changed.

The returned path is local. Upload the file and pass a public https URL to build_schema, or NewsArticle.image will point somewhere no crawler can reach.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNo
styleNobanner
promptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses a hidden trademark filter that rewrites brand terms before the prompt leaves the machine, points at the terms_removed field to audit that rewrite, and warns that the returned path is local-only so an unuploaded file leaves NewsArticle.image unreachable by crawlers. It omits cost, latency (image generation is typically slow/paid), and any auth requirements.

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?

Three short paragraphs, front-loaded with the action, then the prompt-authoring rule, then the output-handling caveat. Every sentence carries a distinct instruction; no filler.

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?

For a 3-param tool with no annotations, no output schema, and 0% schema coverage, the description does cover the highest-risk behaviors (prompt content, filter side effect, local-path gotcha). But two of three parameters remain opaque and nothing is said about cost, timeout, or failure modes, so an agent still has to guess on invocation details.

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 0%, so the description must compensate. It gives real semantic guidance for 'prompt' (build from visual concepts, not brand names), but 'slug' and 'style' go entirely unexplained in both places, including which of banner/square to pick and what slug controls. Partial compensation only.

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?

States a specific verb and resource ('Generate a banner image for the article') plus the side effect ('save it locally'), and the 'Step 8' framing places it unambiguously in the workflow. No sibling tool could be mistaken for it.

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 step numbering situates it in the pipeline, and the description explicitly routes the agent forward: 'Upload the file and pass a public https URL to build_schema.' It stops short of stating when not to use it or what alternative exists if image generation is undesired.

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