Skip to main content
Glama
YouMap MCP Server

YouMap MCP Server

Official
by YouMap-app

generate_image

Create AI images from text prompts using FLUX PRO 1.1 with automatic cinematic prompt enhancement; use as a fallback when the recommended image search tool is not suitable.

Instructions

Generate an AI image using FLUX PRO 1.1 model based on a text prompt. This tool directly integrates with the Black Forest Labs API to create high-quality, cinematic-style images with automatic prompt enhancement. Requires BFL_API_KEY environment variable to be configured. Should be used as fallback only, the main recommended tool for images is search_image

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_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthNoWidth of the generated image in pixels (default: 1024)
heightNoHeight of the generated image in pixels (default: 1024)
promptYesText prompt describing the image you want to generate. The prompt will be enhanced with cinematic photography styling automatically.
outputFormatNoOutput format for the generated image (default: jpeg)jpeg

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does much of it: it discloses the external dependency (Black Forest Labs API), the required BFL_API_KEY environment variable, and that prompts are automatically enhanced/re-styled with cinematic photography. It stops short of the practical behaviors an agent would want — returned image form (URL vs binary), latency, cost, or whether outputs are persisted — but the auth prerequisite and the prompt-rewriting side effect are the highest-value disclosures.

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?

Four short sentences that front-load purpose and end with the routing constraint, with no padding or repetition. The 'directly integrates with the Black Forest Labs API' clause is slightly verbose but carries the dependency information, so it earns most of its place.

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 four-parameter generation tool with no output schema, the definition covers model identity, auth setup, prompt post-processing, and fallback routing — the essentials an agent needs before calling. The remaining gap is the return value, which is undocumented because no output schema exists, but that is a single omission rather than a broad hole.

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%, so width, height, prompt, and outputFormat are already fully documented in the schema, making 3 the baseline. The description's mention of automatic cinematic enhancement adds a little meaning about how the prompt is actually used, but nothing about dimension limits, aspect-ratio implications, or format trade-offs 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?

States a specific verb and resource ('Generate an AI image') plus the underlying model (FLUX PRO 1.1) and the input modality (text prompt). It also distinguishes itself from the sibling it is not — 'the main recommended tool for images is search_image' — so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Explicitly sets the usage priority: 'Should be used as fallback only, the main recommended tool for images is search_image.' That names the alternative and the condition that selects it, leaving nothing to inference.

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