Skip to main content
Glama

run_model

Run any Fal.ai model by providing its model ID and input parameters. Access over 1000 models for generative media tasks like image and video generation.

Instructions

Run any Fal.ai model by its model ID with arbitrary input parameters. This is a flexible, low-level tool that gives you access to all 1000+ models on Fal.ai without needing a dedicated tool for each one. Consult the Fal.ai model catalog at https://fal.ai/models for available models and their parameters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesThe Fal.ai model ID to run. Examples: 'fal-ai/flux/dev', 'fal-ai/stable-audio', 'fal-ai/face-swap', 'fal-ai/imageutils/rembg'.
inputYesThe model-specific input parameters as a JSON object. Refer to the model's documentation for available parameters.
Behavior2/5

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

No annotations are provided, so the description must fully convey behavioral traits. It mentions 'low-level' but omits details on authentication, rate limits, error handling, output format, or side effects of running arbitrary models.

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 two sentences, front-loaded with the core purpose, and every sentence is essential. No extraneous information.

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 generic model runner with no output schema, the description adequately explains the purpose and where to find model details. It could be improved by noting that outputs vary per model or that results are returned directly.

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%, with clear descriptions for model_id and input. The description adds no new meaning beyond what the schema already provides, resulting in a baseline score of 3.

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 'Run any Fal.ai model by its model ID with arbitrary input parameters', specifying the verb (run), resource (Fal.ai model), and scope (any model). It distinguishes from siblings generate_image and generate_video by being a general-purpose tool.

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 description explains this is a flexible, low-level tool for all models and directs users to the model catalog for parameters. However, it does not explicitly advise when to prefer sibling tools or mention exclusion criteria.

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/MohsenMousaviEyeline/MCP-Fal'

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