Skip to main content
Glama
runapi-ai

@runapi.ai/flux-kontext-mcp

by runapi-ai

text_to_image

Convert text prompts into images via RunAPI's Flux Kontext model. Returns a task ID, status, and output URLs for generated or edited images.

Instructions

Create a Flux Kontext task on RunAPI (text to image). Returns a task id, status, and output URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptYesImage description (English only).
watermarkNoWatermark identifier.
timeout_msNo
aspect_ratioNoOutput aspect ratio. Default: 16:9.
callback_urlNoWebhook URL for async notifications.
output_formatNoOutput format. Default: jpeg.
poll_interval_msNo
safety_toleranceNoContent safety threshold. 0-6 for generation, 0-2 for editing. Default: 2.
source_image_urlNoSource image URL for editing mode.
enable_translationNoAuto-translate non-English prompts. Default: true.
enable_prompt_expansionNoExpand the prompt with more detail. Default: false.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool creates a task and returns outputs, but does not mention destructive potential, authentication needs, rate limits, or scheduling behavior. The description lacks critical behavioral context beyond the basic action.

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?

The description is two sentences, concise and front-loaded with the main purpose. No wasted words, but could be more structured given the tool's complexity (13 parameters).

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

Completeness2/5

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

The tool has 13 parameters and no output schema. The description does not explain editing mode (source_image_url), safety_tolerance, translation, expansion, or how to use polling parameters. It fails to provide sufficient context for correct usage, especially given the complexity.

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 85%, and the schema already documents each parameter. The description adds only 'English only' for prompt and a mention of return fields, but does not provide additional meaning beyond what the schema offers. Baseline of 3 is appropriate.

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?

The description clearly states it creates a Flux Kontext text-to-image task and returns task id, status, and output URLs. This verb+resource combination distinguishes it from sibling tools like login, get_task, and check_pricing.

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?

No explicit guidance on when to use this tool vs alternatives. The sibling tools are very different, so context is clear, but the description does not provide any usage scenarios or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/runapi-ai/flux-kontext-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server