Skip to main content
Glama

falai

Cancel request

falai_cancel_request
Destructive

Request cancellation of a queued (not-yet-started) request. Returns 202 { status: 'CANCELLATION_REQUESTED' }. fal.ai queue: PUT {queue}/{model_id}/requests/{request_id}/cancel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesThe fal.ai model id, used raw as a path segment, e.g. 'fal-ai/flux/schnell'.
request_idYesThe queue request id returned when the request was submitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations disclose only destructiveHint=true, so the description carries most of the burden and does well: it reveals the response is 202 with CANCELLATION_REQUESTED, i.e. cancellation is a request, not a guaranteed synchronous outcome, and that only queued work is affected. It omits error modes (e.g. what happens if the request has already started) and auth requirements, which keeps it from a 5.

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?

Three short, front-loaded sentences: scope first, response second, underlying endpoint last. No filler, though the REST path line is partly redundant with the parameter names and borders on trivia for an agent.

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 two-parameter tool with no output schema and a single destructiveHint annotation, the description covers applicability, return signal, and the queue semantics an agent needs. Missing only failure handling (already-started or completed requests), which is a modest gap rather than a blocking one.

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 both parameters are already fully documented in the schema. The description only restates them implicitly through the REST path template and adds no format, constraint, or edge-case detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource (cancel a request) plus a sharp scope qualifier: only queued, not-yet-started requests. That scope plus the untouched request_id/model_id pair makes it trivially distinguishable from siblings like falai_get_request_status or falai_run_model.

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?

It gives a clear when: the request must still be queued and not yet started, which implicitly routes the agent to check status first and tells it this is useless for in-flight work. It stops short of naming the sibling (falai_get_request_status) to call before/after, so it is not a full when/when-not/alternatives statement.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.