Skip to main content
Glama

check_status

Check the status of a Fal.ai image generation request using its request ID to monitor progress and retrieve results.

Instructions

Check the status of a Fal.ai request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_idYesThe request ID to check

Implementation Reference

  • Handler for the check_status tool. Parses input using CheckStatusSchema and returns a text response explaining that full status checking requires app_id and request_id, currently a stub implementation.
    case "check_status": {
      const params = CheckStatusSchema.parse(args);
      // For now, return a message about status checking
      // Fal.ai queue.status requires both app_id and request_id
      
      return {
        content: [
          {
            type: "text",
            text: "Status checking requires both app_id and request_id. Use the result from run_model or run_workflow which includes status information.",
          },
        ],
      };
    }
  • Zod schema for check_status tool input validation: requires request_id string.
    const CheckStatusSchema = z.object({
      request_id: z.string().describe("The request ID to check status for"),
    });
  • src/index.ts:192-205 (registration)
    Registration of the check_status tool in the list of tools returned by ListToolsRequestHandler, including name, description, and inputSchema matching the Zod schema.
    {
      name: "check_status",
      description: "Check the status of a Fal.ai request",
      inputSchema: {
        type: "object",
        properties: {
          request_id: {
            type: "string",
            description: "The request ID to check",
          },
        },
        required: ["request_id"],
      },
    },

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/gravicity-archive/fal-mcp-server'

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