Skip to main content
Glama

Run one model synchronously

run_model
Destructive

Submit an approved paid fal.ai model request with exact model ID and validated input. Queue jobs return a receipt only, with no retry or polling; synchronous timeouts may cause unknown paid outcomes.

Instructions

Confirmed paid model request after current native input-schema validation. Exact model_id/input required; image/video commands do not invent fields or choose a default. Queue submissions return receipt only; synchronous timeout may leave an unknown paid outcome. No retry or polling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesExact native model inputs. Fetched current model JSON schema validates these before a paid request; no guessed prompt/image/duration adapters.
accountNoExact configured isolated API-key profile label.
confirmNoExplicit approval for the requested paid work, mutation, upload or private file.
model_idYesExact current catalog endpoint ID. Never guess model names or parameter mappings.
store_ioNoLocal default false sends X-Fal-Store-IO:0. true allows provider JSON payload storage; CDN media retention/ACL is separate.
lifecycleNoNative CDN expiry/ACL preference. Omit to use account defaults. null expiration means no expiry; default CDN access may be public. Unknown nicknames may be dropped by provider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=false, openWorld=true, so the safety profile is covered. The description adds genuinely non-obvious context: this is a paid request, a synchronous timeout may leave an unknown paid outcome, and there is no retry or polling. That is meaningful beyond the annotations, though return/response behavior is only touched on.

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 tight clauses, front-loaded with the core action and the paid/validation precondition. Every sentence carries signal (cost, validation, no defaults, timeout risk), though the telegraphic style is dense enough to require careful parsing.

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 paid, destructive, non-idempotent mutation with no output schema, the description covers cost, validation and timeout risk well. It does not clarify what a successful synchronous call returns (only what queue submissions return), leaving a real gap for a tool whose result the agent must act on.

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 the schema already documents model_id, input, confirm, account, store_io and lifecycle. The description reinforces 'Exact model_id/input required; do not invent fields or choose a default', which adds a little meaning but largely restates schema guidance — baseline 3 for full coverage is appropriate.

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 states a specific verb+resource: it executes one paid model request synchronously ('Run one model synchronously'), and the contrast with queue submissions helps separate it from submit_job. However, it never names or distinguishes itself from the closely related generate_image / generate_video siblings, leaving the agent to infer the boundary.

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?

Usage is implied rather than stated: 'Queue submissions return receipt only' hints that this is the synchronous alternative, and 'No retry or polling' tells the agent not to wrap it in a polling loop. But no alternative (submit_job, submit_generation_batch) is named, and no explicit when-to-use / when-not condition is given.

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