Skip to main content
Glama

Run one model synchronously

run_model
Destructive

Submit a confirmed paid fal.ai model request with exact model_id and input after schema validation. Queue calls return receipts only; synchronous timeouts may leave paid outcome unknown.

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.
confirmNoSet true only when the user asked for exactly this action.
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. Changed1 schema field changedv3.0.1
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval for the requested paid work, mutation, upload or private file."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety bar is lower, yet the description adds real traits: the call incurs payment, a synchronous timeout can leave an unknown paid outcome, queue submissions return only a receipt, and no retry or polling is performed. It does not disclose what a successful synchronous response contains, which is the main remaining gap.

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?

Five short clauses, front-loaded with the core action and payment/validation context before failure-mode caveats; dense but largely waste-free. The 'do not invent fields or choose a default' clause partially restates the required-parameter constraint already visible in the schema.

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 paid, destructive, open-world synchronous tool with no output schema, the description supplies the critical context: payment, no retry/polling, queue-vs-sync distinction, and timeout ambiguity. It stops short of describing the success payload or the confirm/account prerequisites, but the schema and annotations cover those adequately.

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% across 6 parameters (including nested lifecycle objects), so the schema already documents model_id, input, confirm, store_io and lifecycle semantics. The description reinforces that model_id/input must be exact and not guessed, but adds no syntax, format or mapping detail beyond what the schema states, so baseline 3 applies.

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 action (paid model request, run synchronously) with concrete scope: exact model_id/input, validation against the fetched native schema, no invented fields or defaults. It hints at the sibling split ('Queue submissions return receipt only') but never names submit_job/submit_generation_batch/generate_image, so the agent must infer which async alternative to pick.

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?

It implies usage conditions (only after native input-schema validation, only when the request is confirmed paid) and rules out retry/polling behavior, which is genuine guidance. However there is no explicit when-to-use-this-vs-siblings statement, and no stated prerequisites such as account/confirm requirements beyond what the schema already shows.

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