Skip to main content
Glama
RamboRogers

FAL Image/Video MCP Server

by RamboRogers

ideogram_v3

Generate images with advanced typography and realistic outputs using text prompts through the FAL Image/Video MCP Server.

Instructions

Ideogram V3 - Advanced typography and realistic outputs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText prompt for image generation
image_sizeNolandscape_4_3
num_imagesNo
negative_promptNoNegative prompt

Implementation Reference

  • Main handler function that executes the ideogram_v3 tool by calling the FAL API endpoint, handling model-specific parameters like negative_prompt, and processing the generated images with download and data URL support.
    private async handleImageGeneration(args: any, model: any) {
      const {
        prompt,
        image_size = 'landscape_4_3',
        num_inference_steps = 25,
        guidance_scale = 3.5,
        num_images = 1,
        negative_prompt,
        safety_tolerance,
        raw,
      } = args;
    
      try {
        // Configure FAL client lazily with query config override
        configureFalClient(this.currentQueryConfig);
        const inputParams: any = { prompt };
        
        // Add common parameters
        if (image_size) inputParams.image_size = image_size;
        if (num_images > 1) inputParams.num_images = num_images;
        
        // Add model-specific parameters based on model capabilities
        if (model.id.includes('flux') || model.id.includes('stable_diffusion')) {
          if (num_inference_steps) inputParams.num_inference_steps = num_inference_steps;
          if (guidance_scale) inputParams.guidance_scale = guidance_scale;
        }
        if ((model.id.includes('stable_diffusion') || model.id === 'ideogram_v3') && negative_prompt) {
          inputParams.negative_prompt = negative_prompt;
        }
        if (model.id.includes('flux_pro') && safety_tolerance) {
          inputParams.safety_tolerance = safety_tolerance;
        }
        if (model.id === 'flux_pro_ultra' && raw !== undefined) {
          inputParams.raw = raw;
        }
    
        const result = await fal.subscribe(model.endpoint, { input: inputParams });
        const imageData = result.data as FalImageResult;
    
        const processedImages = await downloadAndProcessImages(imageData.images, model.id);
    
        return {
          content: [
            {
              type: 'text',
              text: JSON.stringify({
                model: model.name,
                id: model.id,
                endpoint: model.endpoint,
                prompt,
                images: processedImages,
                metadata: inputParams,
                download_path: DOWNLOAD_PATH,
                data_url_settings: {
                  enabled: ENABLE_DATA_URLS,
                  max_size_mb: Math.round(MAX_DATA_URL_SIZE / 1024 / 1024),
                },
                autoopen_settings: {
                  enabled: AUTOOPEN,
                  note: AUTOOPEN ? "Files automatically opened with default application" : "Auto-open disabled"
                },
              }, null, 2),
            },
          ],
        };
      } catch (error) {
        throw new Error(`${model.name} generation failed: ${error}`);
      }
    }
  • src/index.ts:103-103 (registration)
    Model registry definition that registers the ideogram_v3 tool with its FAL endpoint and metadata. This is used to dynamically generate tool schemas and dispatch to the correct handler.
    { id: 'ideogram_v3', endpoint: 'fal-ai/ideogram/v3', name: 'Ideogram V3', description: 'Advanced typography and realistic outputs' },
  • Specific schema extension in generateToolSchema that adds the negative_prompt input parameter to the tool schema for ideogram_v3.
    if (model.id.includes('stable_diffusion') || model.id === 'ideogram_v3') {
      baseSchema.inputSchema.properties.negative_prompt = { type: 'string', description: 'Negative prompt' };
    }
  • Model-specific logic in the handler to include negative_prompt in the API call parameters for ideogram_v3.
    if ((model.id.includes('stable_diffusion') || model.id === 'ideogram_v3') && negative_prompt) {
      inputParams.negative_prompt = negative_prompt;
    }
  • Core API invocation using fal.subscribe to the ideogram_v3 endpoint and subsequent image processing helper call.
    const result = await fal.subscribe(model.endpoint, { input: inputParams });
    const imageData = result.data as FalImageResult;
    
    const processedImages = await downloadAndProcessImages(imageData.images, model.id);
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 of behavioral disclosure. It mentions 'Advanced typography and realistic outputs' which hints at quality and style traits, but it doesn't cover critical aspects like rate limits, authentication needs, output format, cost, or error handling. For a tool with 4 parameters and no annotations, this leaves significant gaps in understanding how the tool behaves in practice.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with just one phrase ('Ideogram V3 - Advanced typography and realistic outputs'), which is front-loaded and wastes no words. Every part of it contributes to the tool's identity, making it efficient and easy to parse, though it may be too brief for full context.

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?

Given the complexity of an image generation tool with 4 parameters, no annotations, and no output schema, the description is incomplete. It lacks details on behavioral traits, usage guidelines, parameter explanations beyond the schema, and output expectations. While it hints at quality aspects, it doesn't provide enough information for an agent to confidently select and invoke the tool in varied contexts.

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 50% (2 out of 4 parameters have descriptions: 'prompt' and 'negative_prompt'), so the description must compensate but doesn't add any parameter-specific information. It implies general capabilities (typography, realism) that might relate to how prompts are interpreted, but this is vague and doesn't clarify the semantics of 'image_size', 'num_images', or the nuances of 'prompt' and 'negative_prompt'. The baseline is 3 due to moderate schema coverage, but the description adds minimal value.

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?

The description clearly states the tool's purpose as 'Advanced typography and realistic outputs' for image generation, which is specific about its capabilities (typography and realism) and distinguishes it from generic image generation tools. However, it doesn't explicitly mention the verb 'generate' or specify the resource (images), and it doesn't directly differentiate from siblings like 'flux_dev' or 'stable_diffusion_35' beyond the stated focus areas.

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?

The description provides no guidance on when to use this tool versus alternatives. It mentions 'Advanced typography and realistic outputs' which implies a context for text-heavy or high-fidelity images, but it doesn't specify scenarios, prerequisites, or exclusions, and doesn't reference any sibling tools for comparison, leaving the agent to guess based on the tool name alone.

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/RamboRogers/fal-image-video-mcp'

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