Skip to main content
Glama

Why This Package?

@runapi.ai/grok-imagine-mcp is a focused Model Context Protocol server for the Grok Imagine model line on RunAPI. It gives MCP-compatible assistants direct access to 7 endpoints and 7 model variants without loading the full RunAPI catalog.

Use this per-model server when an agent should stay scoped to Grok Imagine. Use @runapi.ai/mcp when one assistant should discover every RunAPI model line.


Related MCP server: GPT Image MCP Server

Install

Add it to Claude Code:

claude mcp add grok-imagine -s user -- npx -y @runapi.ai/grok-imagine-mcp

Use project scope when the server should be shared with a repository:

claude mcp add grok-imagine -s project -- npx -y @runapi.ai/grok-imagine-mcp

Codex, Cursor, Windsurf, VS Code, Roo Code, and other MCP hosts can use the same stdio command:

{
  "mcpServers": {
    "grok-imagine": {
      "command": "npx",
      "args": ["-y", "@runapi.ai/grok-imagine-mcp"]
    }
  }
}

check_pricing works before sign-in. For task creation and status polling, ask your assistant to call the login tool. It opens a browser login and saves credentials to ~/.config/runapi/config.json, the same file used by runapi login. Headless and CI hosts can still set RUNAPI_API_KEY before starting the MCP host.

Ready-made examples are in examples/ for Claude, Cursor, Windsurf, VS Code, and Roo Code.


Tools

Tool

Auth

Purpose

edit_image

Yes

Create a Grok Imagine edit image task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

extend_video

Yes

Create a Grok Imagine extend video task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

image_to_video

Yes

Create a Grok Imagine image to video task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

segment_map

Yes

Create a Grok Imagine segment map task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

text_to_image

Yes

Create a Grok Imagine text to image task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

text_to_video

Yes

Create a Grok Imagine text to video task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

upscale_image

Yes

Create a Grok Imagine upscale image task and optionally wait for a terminal status. Returns the task id, status, and output URLs.

get_task

Yes

Fetch the current status and latest payload for an existing task.

check_pricing

No

Look up current pricing for a Grok Imagine model and endpoint.


Models

Grok Imagine covers 7 model variants across 7 endpoints. Each tool accepts the models listed for it:

Tool

Models

edit_image

grok-imagine-edit-image, grok-imagine-image-2-0

extend_video

no model parameter

image_to_video

grok-imagine-image-to-video, grok-imagine-video-1.5-fast, grok-imagine-video-1.5-preview

segment_map

grok-imagine-image-2-0

text_to_image

grok-imagine-image-2-0, grok-imagine-text-to-image

text_to_video

grok-imagine-text-to-video, grok-imagine-video-1.5-fast, grok-imagine-video-1.5-preview

upscale_image

no model parameter

Model availability can change between releases. Use check_pricing or the Grok Imagine model page for the current catalog view.


Agent Prompts

Ask your assistant in natural language; it can inspect pricing, create the task, and return the task id plus output URLs.

Create a task

Run a Grok Imagine edit image task with RunAPI.

The assistant can call check_pricing, then edit_image, and return the task id, status, and output URLs.

Submit without waiting

Create the task but don't wait for it to finish.

The assistant calls the create tool with wait: false and returns the task id. Check on it later with get_task.

Check pricing before creating

Check current Grok Imagine pricing, then create the task if it matches my request.

The assistant calls check_pricing and can link to the Grok Imagine model page for the canonical catalog entry.


Configuration

The server resolves auth in this order:

  1. RUNAPI_API_KEY environment variable, useful for headless and CI hosts

  2. ~/.config/runapi/config.json, created by the MCP login tool or runapi login

  3. No key, which still allows check_pricing

The config file is normally managed by login. A pre-provisioned headless config can use:

{
  "apiKey": "your_runapi_key"
}

Do not commit real API keys.


Resource

URL

Grok Imagine model page

https://runapi.ai/models/grok-imagine

npm package

@runapi.ai/grok-imagine-mcp

GitHub repository

runapi-ai/grok-imagine-mcp

RunAPI MCP overview

runapi.ai/mcp

RunAPI docs

runapi.ai/docs


License

Licensed under the Apache License, Version 2.0.

Available Tools

10 tools
check_pricingA

Look up RunAPI pricing for the grok-imagine model line.

ParametersJSON Schema
NameRequiredDescriptionDefault
modelNoModel slug. Defaults to the line's primary model.
actionNoEndpoint name. Defaults to the endpoint that offers the model.

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'Look up' implies a read-only, side-effect-free operation, which is useful context, but details such as authentication requirements, rate limits, or return behavior are absent.

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?

A single, front-loaded sentence with zero waste. It conveys the complete purpose without unnecessary qualifiers.

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 simple read-only lookup with fully documented schema parameters and no output schema, the description is largely sufficient: an agent knows what it does and how to invoke it. It misses explicit usage guidance and any indication of the return format, which are minor gaps for this complexity level.

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 fully documented in the schema. The description adds the model line context ('grok-imagine'), which slightly sharpens the default for the model parameter, but it does not explain the action enum beyond what the schema already provides.

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 states a specific verb ('Look up'), resource ('RunAPI pricing'), and scope ('grok-imagine model line'). It is immediately distinguishable from sibling action endpoints and login/get_task.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit when-to-use or when-not-to-use guidance, nor does it name any alternative. It merely restates the tool's purpose, leaving the agent to infer that it is called whenever pricing is needed.

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

edit_imageB

Create a Grok Imagine task on RunAPI (edit image). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptNoOptional image editing instruction. Declared type: string.
timeout_msNo
aspect_ratioNoDeclared type: string.
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
mask_indicesNoNot accepted by this model.
source_task_idNoNot accepted by this model.
poll_interval_msNo
source_image_urlNoPublic source image URL. Declared type: string.
source_image_urlsNoDeclared type: array.
enable_safety_checkerNoEnable content safety checks. Declared type: boolean.

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does usefully disclose the async task model and the return shape (task id, status, output URLs), but omits auth requirements, that wait defaults to true and triggers polling, and that some declared parameters are rejected by this model.

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?

Two short sentences, front-loaded with the action and resource, and no filler. Slightly jargon-heavy ('Grok Imagine task on RunAPI') but efficient overall.

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 12-parameter, zero-required, no-output-schema tool with no annotations, the description covers purpose and return values but leaves polling behavior, the default wait=true, and rejected-parameter caveats unexplained. Adequate but with clear gaps.

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 83%, above the 80% threshold, so the schema already documents most parameters. The description adds no parameter-level detail such as prompt format, aspect ratio values, or callback semantics, so the 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 verb and resource: creating a Grok Imagine task for image editing on RunAPI. 'edit image' distinguishes it reasonably from siblings like text_to_image and upscale_image, though it never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of alternatives (e.g., upscale_image, text_to_image), and no prerequisites such as needing a source image URL. The agent must infer all routing decisions from the name alone.

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

extend_videoC

Create a Grok Imagine task on RunAPI (extend video). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
promptYesVideo continuation prompt. Declared type: string.
timeout_msNo
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
start_secondsYesSource video position in seconds where extension begins. Declared type: integer.
source_task_idYesCompleted prior Grok Imagine video Task ID. Declared type: string.
poll_interval_msNo
extension_duration_secondsYesExtension duration in seconds. Declared type: integer. Known values: 6, 10.

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the asynchronous task model and the return shape (task id, status, output URLs). However, it omits that this is a mutating, credit-consuming operation, how polling/wait behaves, and what happens on timeout or failure despite the schema exposing wait, timeout_ms, poll_interval_ms, and callback_url.

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?

A single front-loaded sentence with no filler; every clause earns its place. It is arguably too terse for an 8-parameter mutation tool, but there is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, mutation-style task tool with no output schema and no annotations, the description is far too thin. It should cover the source-task dependency, duration constraints, and the async/polling contract that the schema hints at.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 75%, so most parameters are partially documented in the schema, but the description adds no meaning at all beyond 'extend video' — nothing about start_seconds positioning, the allowed extension durations, or how source_task_id is consumed.

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 gives a specific verb and resource ('Create a Grok Imagine task ... extend video') and names the platform, which the bare name extend_video would not convey. It is clear what the tool produces, though it does not explicitly distinguish itself from video-producing siblings such as image_to_video or text_to_video.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no mention of alternatives. The fact that it operates on a prior completed task is only inferable from the required source_task_id in the schema, not from the description.

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

get_taskB

Fetch the current status and latest result payload for a grok-imagine task.

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYesAsynchronous endpoint the task was created on.
task_idYesTask id returned when the task was created.

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the return content (status and latest result payload), which is useful, but says nothing about pending/failed task states, polling cadence, auth, or rate limits.

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?

A single, front-loaded sentence with no filler; the resource and returned fields are stated immediately.

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 simple two-parameter read tool with a fully documented schema and no output schema, the description covers the essentials. It falls short on lifecycle context (polling behavior, terminal states) that an agent needs to use it correctly in the async workflow.

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% – both task_id and the action enum are documented in the schema. The description adds no additional parameter meaning (e.g. that action must match the endpoint the task was created on), 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?

States a specific verb (fetch) and resource (current status + latest result payload for a task), which clearly separates it from the sibling creation endpoints like text_to_image or extend_video. It does not explicitly name a sibling, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no mention that this is the polling companion to the async creation tools, and no prerequisites or exclusions. The polling intent is only loosely implied by 'current status'.

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

image_to_videoB

Create a Grok Imagine task on RunAPI (image to video). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
indexNoZero-based source image index; used only with source_task_id. Declared type: integer.
modelNoRunAPI model slug for this model line.
promptNoOptional video generation prompt. Declared type: string.
timeout_msNo
aspect_ratioNoOutput aspect ratio. Declared type: string. Known values: "2:3", "3:2", "1:1", "16:9", "9:16", "auto".
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
motion_styleNoVideo motion style; spicy requires source_task_id. Declared type: string.
source_task_idNoPrior Grok Imagine text-to-image Task ID; provide this or source_image_url, but not both. Declared type: string.
duration_secondsNoOutput duration in seconds. Declared type: integer.
poll_interval_msNo
source_image_urlNoPublic source image URL; provide this or source_task_id, but not both. Declared type: string.
output_resolutionNoOutput resolution. Declared type: string. Known values: "480p", "720p", "1080p".
reference_image_urlsNoNot accepted by this model. Declared type: array.
enable_safety_checkerNoEnable content safety checks. Declared type: boolean.

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden, and it does at least characterize the async task model by stating the call returns a task id, status, and output URLs. It stops there – no mention of cost, failure behavior, or auth requirements, and the async/polling nature is only hinted at rather than explained.

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?

Two tight sentences with no filler, and the core action is front-loaded ahead of the return-value note. It is appropriately sized, though the terseness contributes to the coverage gaps noted elsewhere.

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 15-parameter generation tool with no annotations and no output schema, the description is thin: it briefly covers the return payload, which is genuinely useful without an output schema, but says nothing about the async lifecycle or how wait/timeout/callback interact. Adequate as a minimum but with clear gaps.

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 high at 87%, so the schema already documents most parameters, and the description adds no syntax, format, or interplay details beyond it. Baseline of 3 is appropriate when the schema does the heavy lifting and the prose adds nothing on top.

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?

States a specific verb and resource ('Create a Grok Imagine task ... image to video') and names the underlying provider, so the agent knows it is an image-to-video generation call. It does not explicitly contrast with siblings like text_to_video or extend_video, but the '(image to video)' qualifier is enough to separate it from those without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance and never names an alternative, even though siblings text_to_video and extend_video are obvious confusables. It also omits the prerequisite that a source image (URL or prior task id) must be supplied despite zero required parameters, leaving the agent to infer the workflow entirely from the schema.

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

loginA

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

ParametersJSON Schema
NameRequiredDescriptionDefault
forceNoRe-run browser login when the current credential comes from the local config file.

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the interactive browser flow and the file write side effect (config.json). However, it does not mention that it may overwrite existing credentials or that it could block waiting for user input, though these are implied.

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 a single, well-structured sentence that front-loads the action ('Authenticate RunAPI') and provides necessary details without 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 simple login tool with one optional parameter and no output schema, the description covers the core purpose and side effect. It lacks an explicit statement that this is a prerequisite for other tools, but that is implied.

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% (the only parameter 'force' has a description). The tool description adds no additional meaning about parameters beyond the schema, so the baseline of 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?

The description clearly states the tool's purpose with a specific verb ('Authenticate'), target resource ('RunAPI'), method ('browser PKCE login flow'), and side effect (saving to config.json). It is distinct from sibling tools, none of which relate to authentication.

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?

The description implies usage (to authenticate RunAPI) but does not explicitly say when to run it (e.g., before other RunAPI tools) or when to use the 'force' parameter. Since there are no alternative auth tools among siblings, 'vs alternatives' is not applicable.

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

segment_mapC

Create a Grok Imagine task on RunAPI (segment map). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
image_urlNoPublic image URL that the service can fetch. Declared type: string.
timeout_msNo
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
source_task_idNoCompleted Image 2.0 text-to-image Task ID owned by the same account. Compatibility input; use image_url instead. Declared type: string.
poll_interval_msNo

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the return shape (task id, status, output URLs) and implies async task creation. It omits other important traits: whether this is a paid/consuming operation, auth requirements, and the polling behavior implied by the wait/poll_interval_ms parameters.

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?

Two compact sentences, front-loaded with the action and followed by the return contract. Nothing is padded, though the parenthetical '(segment map)' is low-value restatement.

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 7-parameter task-creation tool with no annotations and no output schema, stating the return values is genuinely useful. But the description leaves the tool's actual semantics ('segment map'), usage context, and the async/polling lifecycle unaddressed, so an agent still needs the sibling get_task to close the loop by inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 71%, leaving timeout_ms and poll_interval_ms with no documented meaning in either place. The description adds no parameter guidance at all, so it fails to compensate for the coverage gap on a 7-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a Grok Imagine task on RunAPI') and names the operation type ('segment map'). However, '(segment map)' merely restates the tool name, and nothing distinguishes this from siblings like edit_image, text_to_image, or image_to_video that also create Grok Imagine tasks. The agent can tell it creates a task but not what a 'segment map' produces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives among the many sibling task-creation tools. The only hint of routing ('use image_url instead') lives in the source_task_id parameter description, not the tool description.

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

text_to_imageB

Create a Grok Imagine task on RunAPI (text to image). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptYesImage generation prompt. Declared type: string.
enable_proNoNot accepted by this model. Declared type: boolean.
timeout_msNo
aspect_ratioNoOutput aspect ratio. Declared type: string. Known values: "1:1", "2:3", "3:2", "16:9", "9:16".
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
poll_interval_msNo
enable_safety_checkerNoNot accepted by this model. Declared type: boolean.

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the async task model plus the return shape (task id, status, output URLs). However, it omits the wait/polling behavior that governs the call's blocking semantics, any auth or rate-limit context, and what a terminal status failure looks like.

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?

Two sentences with no filler, and the operation is front-loaded ahead of the return-value note. Efficient, though the second sentence duplicates value already implied by the tool's nature.

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?

There is no output schema, and the description partially fills that gap by naming the returned fields. But for a 9-parameter, annotation-free creation tool, the absence of usage, polling, and parameter detail leaves meaningful gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 78% with 9 parameters, and two parameters (timeout_ms, poll_interval_ms) have no schema description at all. The description adds zero parameter meaning beyond what the schema already provides, so it does not compensate for the coverage gap.

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?

States a specific verb and resource ('Create a Grok Imagine task on RunAPI') and disambiguates the modality with '(text to image)', which separates it from edit_image and image_to_video. It does not explicitly name a sibling, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this over edit_image, text_to_video, or upscale_image, and no prerequisites are stated. The only usage hint is the parenthetical modality label, which is implied rather than instructional.

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

text_to_videoB

Create a Grok Imagine task on RunAPI (text to video). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
modelNoRunAPI model slug for this model line.
promptYesVideo generation prompt. Declared type: string.
timeout_msNo
aspect_ratioNoOutput aspect ratio. Declared type: string. Known values: "2:3", "3:2", "1:1", "16:9", "9:16", "auto".
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
motion_styleNoVideo motion style. Declared type: string.
duration_secondsNoOutput duration in seconds. Declared type: integer.
poll_interval_msNo
output_resolutionNoOutput resolution. Declared type: string. Known values: "480p", "720p", "1080p".
reference_image_urlsNoNot accepted by this model. Declared type: array.
enable_safety_checkerNoEnable content safety checks. Declared type: boolean.

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does disclose the async task model and that it returns a task id, status, and output URLs — meaningful behavioral context absent from any output schema. It omits permissions, cost/rate limits, failure behavior, and that the task id is meant to be consumed by get_task, leaving notable gaps for a creation tool.

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?

Two short sentences with no filler, and the action is front-loaded before the return-value note. It is efficient, though so sparse that it borders on under-specification rather than exemplary conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter generation tool with no annotations and no output schema, the description is thin: it doesn't mention the timeout_ms/poll_interval_ms behavior, the fact that reference_image_urls is rejected by this model, or the handoff to get_task. The return-value sentence is the only substantive addition.

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 83%, so the schema already documents nearly all 12 parameters, and the description adds no parameter-level meaning at all. Baseline 3 per the rubric when schema coverage is high.

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?

States a specific verb and resource — 'Create a Grok Imagine task on RunAPI (text to video)' — which clearly separates it from image_to_video, text_to_image, and extend_video. It doesn't explicitly name those siblings, but the 'text to video' qualifier makes the scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this tool over image_to_video or extend_video, nor any prerequisites (API key, credit cost) or advice on the wait/polling behavior. Usage is only inferable from the tool name.

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

upscale_imageB

Create a Grok Imagine task on RunAPI (upscale image). Returns a task id, status, and output URLs.

ParametersJSON Schema
NameRequiredDescriptionDefault
waitNoPoll until the task reaches a terminal status.
timeout_msNo
callback_urlNoWebhook URL for terminal Task delivery. Declared type: string.
source_task_idYesCompleted prior Grok Imagine video Task ID. Declared type: string.
poll_interval_msNo

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It helpfully discloses that this is an async task creation returning a task id, status, and output URLs, which is meaningful context. However, it omits permissions/auth, the meaning of the source_task_id, and — notably — does not reconcile the tool's image-upscale purpose with a parameter documented as accepting a prior *video* task ID.

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?

Two short sentences, front-loaded with the action and backend, with the return shape stated inline. Minimal waste, though '(upscale image)' is slightly redundant with the tool name.

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 task-creation tool with no annotations and no output schema, the description usefully covers the return values. It is still thin on behavioral contract — async semantics, source_task_id requirements, and the image-vs-video inconsistency — so it is only partly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 60%, so the description should compensate, but it adds no input-parameter meaning at all. It says nothing about source_task_id, wait, timeout_ms, callback_url, or poll_interval_ms, leaving half the input contract unexplained.

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?

States a specific verb (Create), a named operation (upscale image), and the backend (Grok Imagine task on RunAPI). This distinguishes it from siblings like edit_image and text_to_image, but it doesn't explicitly contrast with the closest alternative (edit_image), keeping it below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of when to prefer this over edit_image or text_to_image. The parenthetical '(upscale image)' only restates the operation rather than routing the agent.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 9 tool updatesv0.2.0
    • Changedcheck_pricing2 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • removedInput schema / properties / model / enum
        Removed value: -[
        -  "grok-imagine-edit-image",
        -  "grok-imagine-image-2-0",
        -  "grok-imagine-image-to-video",
        -  "grok-imagine-video-1.5-fast",
        -  "grok-imagine-video-1.5-preview",
        -  "grok-imagine-text-to-image",
        -  "grok-imagine-text-to-video"
        -]
    • Changededit_image9 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • addedInput schema / properties / aspect_ratio / description
        Added value: +"Declared type: string."
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • changedInput schema / properties / enable_safety_checker / description
        Previous value: -"Enable content safety checks."New value: +"Enable content safety checks. Declared type: boolean."
      • removedInput schema / properties / model / enum
        Removed value: -[
        -  "grok-imagine-edit-image",
        -  "grok-imagine-image-2-0"
        -]
      • changedInput schema / properties / prompt / description
        Previous value: -"Optional image editing instruction."New value: +"Optional image editing instruction. Declared type: string."
      • changedInput schema / properties / source_image_url / description
        Previous value: -"Public source image URL."New value: +"Public source image URL. Declared type: string."
      • addedInput schema / properties / source_image_urls / description
        Added value: +"Declared type: array."
      • addedInput schema / required
        Added value: +[]
    • Changedextend_video11 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • removedInput schema / properties / extension_duration_seconds / anyOf
        Removed value: -[
        -  {
        -    "const": 6,
        -    "type": "number"
        -  },
        -  {
        -    "const": 10,
        -    "type": "number"
        -  }
        -]
      • changedInput schema / properties / extension_duration_seconds / description
        Previous value: -"Extension duration in seconds."New value: +"Extension duration in seconds. Declared type: integer. Known values: 6, 10."
      • addedInput schema / properties / extension_duration_seconds / type
        Added value: +"integer"
      • changedInput schema / properties / prompt / description
        Previous value: -"Video continuation prompt."New value: +"Video continuation prompt. Declared type: string."
      • removedInput schema / properties / prompt / maxLength
        Removed value: -5000
      • changedInput schema / properties / source_task_id / description
        Previous value: -"Completed prior Grok Imagine video Task ID."New value: +"Completed prior Grok Imagine video Task ID. Declared type: string."
      • changedInput schema / properties / start_seconds / description
        Previous value: -"Source video position in seconds where extension begins."New value: +"Source video position in seconds where extension begins. Declared type: integer."
      • removedInput schema / properties / start_seconds / minimum
        Removed value: -0
      • changedInput schema / properties / start_seconds / type
        Previous value: -"number"New value: +"integer"
    • Changedget_task1 field changed
      • removedInput schema / additionalProperties
        Removed value: -false
    • Changedimage_to_video25 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • removedInput schema / properties / aspect_ratio / anyOf
        Removed value: -[
        -  {
        -    "const": "2:3",
        -    "type": "string"
        -  },
        -  {
        -    "const": "3:2",
        -    "type": "string"
        -  },
        -  {
        -    "const": "1:1",
        -    "type": "string"
        -  },
        -  {
        -    "const": "16:9",
        -    "type": "string"
        -  },
        -  {
        -    "const": "9:16",
        -    "type": "string"
        -  },
        -  {
        -    "const": "auto",
        -    "type": "string"
        -  }
        -]
      • changedInput schema / properties / aspect_ratio / description
        Previous value: -"Output aspect ratio."New value: +"Output aspect ratio. Declared type: string. Known values: \"2:3\", \"3:2\", \"1:1\", \"16:9\", \"9:16\", \"auto\"."
      • addedInput schema / properties / aspect_ratio / type
        Added value: +"string"
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • changedInput schema / properties / duration_seconds / description
        Previous value: -"Output duration in seconds."New value: +"Output duration in seconds. Declared type: integer."
      • removedInput schema / properties / duration_seconds / maximum
        Removed value: -30
      • removedInput schema / properties / duration_seconds / minimum
        Removed value: -6
      • changedInput schema / properties / duration_seconds / type
        Previous value: -"number"New value: +"integer"
      • changedInput schema / properties / enable_safety_checker / description
        Previous value: -"Enable content safety checks."New value: +"Enable content safety checks. Declared type: boolean."
      • changedInput schema / properties / index / description
        Previous value: -"Zero-based source image index; used only with source_task_id."New value: +"Zero-based source image index; used only with source_task_id. Declared type: integer."
      • removedInput schema / properties / index / maximum
        Removed value: -5
      • removedInput schema / properties / index / minimum
        Removed value: -0
      • changedInput schema / properties / index / type
        Previous value: -"number"New value: +"integer"
      • removedInput schema / properties / model / enum
        Removed value: -[
        -  "grok-imagine-image-to-video",
        -  "grok-imagine-video-1.5-fast",
        -  "grok-imagine-video-1.5-preview"
        -]
      • changedInput schema / properties / motion_style / description
        Previous value: -"Video motion style; spicy requires source_task_id."New value: +"Video motion style; spicy requires source_task_id. Declared type: string."
      • removedInput schema / properties / output_resolution / anyOf
        Removed value: -[
        -  {
        -    "const": "480p",
        -    "type": "string"
        -  },
        -  {
        -    "const": "720p",
        -    "type": "string"
        -  },
        -  {
        -    "const": "1080p",
        -    "type": "string"
        -  }
        -]
      • changedInput schema / properties / output_resolution / description
        Previous value: -"Output resolution."New value: +"Output resolution. Declared type: string. Known values: \"480p\", \"720p\", \"1080p\"."
      • addedInput schema / properties / output_resolution / type
        Added value: +"string"
      • changedInput schema / properties / prompt / description
        Previous value: -"Optional video generation prompt."New value: +"Optional video generation prompt. Declared type: string."
      • removedInput schema / properties / prompt / maxLength
        Removed value: -5000
      • changedInput schema / properties / reference_image_urls / description
        Previous value: -"Not accepted by this model."New value: +"Not accepted by this model. Declared type: array."
      • changedInput schema / properties / source_image_url / description
        Previous value: -"Public source image URL; provide this or source_task_id, but not both."New value: +"Public source image URL; provide this or source_task_id, but not both. Declared type: string."
      • changedInput schema / properties / source_task_id / description
        Previous value: -"Prior Grok Imagine text-to-image Task ID; provide this or source_image_url, but not both."New value: +"Prior Grok Imagine text-to-image Task ID; provide this or source_image_url, but not both. Declared type: string."
      • addedInput schema / required
        Added value: +[]
    • Changedsegment_map6 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • changedInput schema / properties / image_url / description
        Previous value: -"Public image URL that the service can fetch."New value: +"Public image URL that the service can fetch. Declared type: string."
      • removedInput schema / properties / model / enum
        Removed value: -[
        -  "grok-imagine-image-2-0"
        -]
      • changedInput schema / properties / source_task_id / description
        Previous value: -"Completed Image 2.0 text-to-image Task ID owned by the same account. Compatibility input; use image_url instead."New value: +"Completed Image 2.0 text-to-image Task ID owned by the same account. Compatibility input; use image_url instead. Declared type: string."
      • addedInput schema / required
        Added value: +[]
    • Changedtext_to_image9 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • removedInput schema / properties / aspect_ratio / anyOf
        Removed value: -[
        -  {
        -    "const": "1:1",
        -    "type": "string"
        -  },
        -  {
        -    "const": "2:3",
        -    "type": "string"
        -  },
        -  {
        -    "const": "3:2",
        -    "type": "string"
        -  },
        -  {
        -    "const": "16:9",
        -    "type": "string"
        -  },
        -  {
        -    "const": "9:16",
        -    "type": "string"
        -  }
        -]
      • changedInput schema / properties / aspect_ratio / description
        Previous value: -"Output aspect ratio."New value: +"Output aspect ratio. Declared type: string. Known values: \"1:1\", \"2:3\", \"3:2\", \"16:9\", \"9:16\"."
      • addedInput schema / properties / aspect_ratio / type
        Added value: +"string"
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • changedInput schema / properties / enable_pro / description
        Previous value: -"Not accepted by this model."New value: +"Not accepted by this model. Declared type: boolean."
      • changedInput schema / properties / enable_safety_checker / description
        Previous value: -"Not accepted by this model."New value: +"Not accepted by this model. Declared type: boolean."
      • removedInput schema / properties / model / enum
        Removed value: -[
        -  "grok-imagine-image-2-0",
        -  "grok-imagine-text-to-image"
        -]
      • changedInput schema / properties / prompt / description
        Previous value: -"Image generation prompt."New value: +"Image generation prompt. Declared type: string."
    • Changedtext_to_video18 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • removedInput schema / properties / aspect_ratio / anyOf
        Removed value: -[
        -  {
        -    "const": "2:3",
        -    "type": "string"
        -  },
        -  {
        -    "const": "3:2",
        -    "type": "string"
        -  },
        -  {
        -    "const": "1:1",
        -    "type": "string"
        -  },
        -  {
        -    "const": "16:9",
        -    "type": "string"
        -  },
        -  {
        -    "const": "9:16",
        -    "type": "string"
        -  },
        -  {
        -    "const": "auto",
        -    "type": "string"
        -  }
        -]
      • changedInput schema / properties / aspect_ratio / description
        Previous value: -"Output aspect ratio."New value: +"Output aspect ratio. Declared type: string. Known values: \"2:3\", \"3:2\", \"1:1\", \"16:9\", \"9:16\", \"auto\"."
      • addedInput schema / properties / aspect_ratio / type
        Added value: +"string"
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • changedInput schema / properties / duration_seconds / description
        Previous value: -"Output duration in seconds."New value: +"Output duration in seconds. Declared type: integer."
      • removedInput schema / properties / duration_seconds / maximum
        Removed value: -30
      • removedInput schema / properties / duration_seconds / minimum
        Removed value: -6
      • changedInput schema / properties / duration_seconds / type
        Previous value: -"number"New value: +"integer"
      • changedInput schema / properties / enable_safety_checker / description
        Previous value: -"Enable content safety checks."New value: +"Enable content safety checks. Declared type: boolean."
      • removedInput schema / properties / model / enum
        Removed value: -[
        -  "grok-imagine-text-to-video",
        -  "grok-imagine-video-1.5-fast",
        -  "grok-imagine-video-1.5-preview"
        -]
      • changedInput schema / properties / motion_style / description
        Previous value: -"Video motion style."New value: +"Video motion style. Declared type: string."
      • removedInput schema / properties / output_resolution / anyOf
        Removed value: -[
        -  {
        -    "const": "480p",
        -    "type": "string"
        -  },
        -  {
        -    "const": "720p",
        -    "type": "string"
        -  },
        -  {
        -    "const": "1080p",
        -    "type": "string"
        -  }
        -]
      • changedInput schema / properties / output_resolution / description
        Previous value: -"Output resolution."New value: +"Output resolution. Declared type: string. Known values: \"480p\", \"720p\", \"1080p\"."
      • addedInput schema / properties / output_resolution / type
        Added value: +"string"
      • changedInput schema / properties / prompt / description
        Previous value: -"Video generation prompt."New value: +"Video generation prompt. Declared type: string."
      • removedInput schema / properties / prompt / maxLength
        Removed value: -5000
      • changedInput schema / properties / reference_image_urls / description
        Previous value: -"Not accepted by this model."New value: +"Not accepted by this model. Declared type: array."
    • Changedupscale_image3 fields changed
      • addedInput schema / additionalProperties
        Added value: +{}
      • changedInput schema / properties / callback_url / description
        Previous value: -"Webhook URL for terminal Task delivery."New value: +"Webhook URL for terminal Task delivery. Declared type: string."
      • changedInput schema / properties / source_task_id / description
        Previous value: -"Completed prior Grok Imagine video Task ID."New value: +"Completed prior Grok Imagine video Task ID. Declared type: string."
  2. 9 tool updatesv0.1.13
    • Changedcheck_pricing2 fields changed
      • changedInput schema / properties / action / enum
        Previous value: -[
        -  "edit_image",
        -  "extend_video",
        -  "image_to_video",
        -  "text_to_image",
        -  "text_to_video",
        -  "upscale_image"
        -]New value: +[
        +  "edit_image",
        +  "extend_video",
        +  "image_to_video",
        +  "segment_map",
        +  "text_to_image",
        +  "text_to_video",
        +  "upscale_image"
        +]
      • changedInput schema / properties / model / enum
        Previous value: -[
        -  "grok-imagine-edit-image",
        -  "grok-imagine-image-to-video",
        -  "grok-imagine-video-1.5-fast",
        -  "grok-imagine-video-1.5-preview",
        -  "grok-imagine-text-to-image",
        -  "grok-imagine-text-to-video"
        -]New value: +[
        +  "grok-imagine-edit-image",
        +  "grok-imagine-image-2-0",
        +  "grok-imagine-image-to-video",
        +  "grok-imagine-video-1.5-fast",
        +  "grok-imagine-video-1.5-preview",
        +  "grok-imagine-text-to-image",
        +  "grok-imagine-text-to-video"
        +]
    • Changededit_image9 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • addedInput schema / properties / aspect_ratio
        Added value: +{
        +  "type": "string"
        +}
      • addedInput schema / properties / mask_indices
        Added value: +{
        +  "description": "Not accepted by this model."
        +}
      • changedInput schema / properties / model / enum
        Previous value: -[
        -  "grok-imagine-edit-image"
        -]New value: +[
        +  "grok-imagine-edit-image",
        +  "grok-imagine-image-2-0"
        +]
      • addedInput schema / properties / poll_interval_ms / maximum
        Added value: +9007199254740991
      • addedInput schema / properties / source_image_urls
        Added value: +{
        +  "items": {},
        +  "type": "array"
        +}
      • addedInput schema / properties / source_task_id
        Added value: +{
        +  "description": "Not accepted by this model."
        +}
      • addedInput schema / properties / timeout_ms / maximum
        Added value: +9007199254740991
      • removedInput schema / required
        Removed value: -[
        -  "source_image_url"
        -]
    • Changedextend_video6 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • addedInput schema / properties / extension_duration_seconds / anyOf
        Added value: +[
        +  {
        +    "const": 6,
        +    "type": "number"
        +  },
        +  {
        +    "const": 10,
        +    "type": "number"
        +  }
        +]
      • removedInput schema / properties / extension_duration_seconds / enum
        Removed value: -[
        -  6,
        -  10
        -]
      • removedInput schema / properties / extension_duration_seconds / type
        Removed value: -"number"
      • addedInput schema / properties / poll_interval_ms / maximum
        Added value: +9007199254740991
      • addedInput schema / properties / timeout_ms / maximum
        Added value: +9007199254740991
    • Changedget_task1 field changed
      • changedInput schema / properties / action / enum
        Previous value: -[
        -  "edit_image",
        -  "extend_video",
        -  "image_to_video",
        -  "text_to_image",
        -  "text_to_video",
        -  "upscale_image"
        -]New value: +[
        +  "edit_image",
        +  "extend_video",
        +  "image_to_video",
        +  "segment_map",
        +  "text_to_image",
        +  "text_to_video",
        +  "upscale_image"
        +]
    • Changedimage_to_video9 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • addedInput schema / properties / aspect_ratio / anyOf
        Added value: +[
        +  {
        +    "const": "2:3",
        +    "type": "string"
        +  },
        +  {
        +    "const": "3:2",
        +    "type": "string"
        +  },
        +  {
        +    "const": "1:1",
        +    "type": "string"
        +  },
        +  {
        +    "const": "16:9",
        +    "type": "string"
        +  },
        +  {
        +    "const": "9:16",
        +    "type": "string"
        +  },
        +  {
        +    "const": "auto",
        +    "type": "string"
        +  }
        +]
      • removedInput schema / properties / aspect_ratio / enum
        Removed value: -[
        -  "2:3",
        -  "3:2",
        -  "1:1",
        -  "16:9",
        -  "9:16",
        -  "auto"
        -]
      • removedInput schema / properties / aspect_ratio / type
        Removed value: -"string"
      • addedInput schema / properties / output_resolution / anyOf
        Added value: +[
        +  {
        +    "const": "480p",
        +    "type": "string"
        +  },
        +  {
        +    "const": "720p",
        +    "type": "string"
        +  },
        +  {
        +    "const": "1080p",
        +    "type": "string"
        +  }
        +]
      • removedInput schema / properties / output_resolution / enum
        Removed value: -[
        -  "480p",
        -  "720p"
        -]
      • removedInput schema / properties / output_resolution / type
        Removed value: -"string"
      • addedInput schema / properties / poll_interval_ms / maximum
        Added value: +9007199254740991
      • addedInput schema / properties / timeout_ms / maximum
        Added value: +9007199254740991
    • Addedsegment_map
    • Changedtext_to_image10 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • addedInput schema / properties / aspect_ratio / anyOf
        Added value: +[
        +  {
        +    "const": "1:1",
        +    "type": "string"
        +  },
        +  {
        +    "const": "2:3",
        +    "type": "string"
        +  },
        +  {
        +    "const": "3:2",
        +    "type": "string"
        +  },
        +  {
        +    "const": "16:9",
        +    "type": "string"
        +  },
        +  {
        +    "const": "9:16",
        +    "type": "string"
        +  }
        +]
      • removedInput schema / properties / aspect_ratio / enum
        Removed value: -[
        -  "2:3",
        -  "3:2",
        -  "1:1",
        -  "16:9",
        -  "9:16"
        -]
      • removedInput schema / properties / aspect_ratio / type
        Removed value: -"string"
      • changedInput schema / properties / enable_pro / description
        Previous value: -"Enable Pro image generation mode."New value: +"Not accepted by this model."
      • changedInput schema / properties / enable_safety_checker / description
        Previous value: -"Enable content safety checks."New value: +"Not accepted by this model."
      • changedInput schema / properties / model / enum
        Previous value: -[
        -  "grok-imagine-text-to-image"
        -]New value: +[
        +  "grok-imagine-image-2-0",
        +  "grok-imagine-text-to-image"
        +]
      • addedInput schema / properties / poll_interval_ms / maximum
        Added value: +9007199254740991
      • removedInput schema / properties / prompt / maxLength
        Removed value: -5000
      • addedInput schema / properties / timeout_ms / maximum
        Added value: +9007199254740991
    • Changedtext_to_video9 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • addedInput schema / properties / aspect_ratio / anyOf
        Added value: +[
        +  {
        +    "const": "2:3",
        +    "type": "string"
        +  },
        +  {
        +    "const": "3:2",
        +    "type": "string"
        +  },
        +  {
        +    "const": "1:1",
        +    "type": "string"
        +  },
        +  {
        +    "const": "16:9",
        +    "type": "string"
        +  },
        +  {
        +    "const": "9:16",
        +    "type": "string"
        +  },
        +  {
        +    "const": "auto",
        +    "type": "string"
        +  }
        +]
      • removedInput schema / properties / aspect_ratio / enum
        Removed value: -[
        -  "2:3",
        -  "3:2",
        -  "1:1",
        -  "16:9",
        -  "9:16",
        -  "auto"
        -]
      • removedInput schema / properties / aspect_ratio / type
        Removed value: -"string"
      • addedInput schema / properties / output_resolution / anyOf
        Added value: +[
        +  {
        +    "const": "480p",
        +    "type": "string"
        +  },
        +  {
        +    "const": "720p",
        +    "type": "string"
        +  },
        +  {
        +    "const": "1080p",
        +    "type": "string"
        +  }
        +]
      • removedInput schema / properties / output_resolution / enum
        Removed value: -[
        -  "480p",
        -  "720p"
        -]
      • removedInput schema / properties / output_resolution / type
        Removed value: -"string"
      • addedInput schema / properties / poll_interval_ms / maximum
        Added value: +9007199254740991
      • addedInput schema / properties / timeout_ms / maximum
        Added value: +9007199254740991
    • Changedupscale_image3 fields changed
      • removedInput schema / additionalProperties
        Removed value: -false
      • addedInput schema / properties / poll_interval_ms / maximum
        Added value: +9007199254740991
      • addedInput schema / properties / timeout_ms / maximum
        Added value: +9007199254740991
  3. 8 tool updatesv0.1.11
    • Changedcheck_pricing1 field changed
      • changedInput schema / properties / model / enum
        Previous value: -[
        -  "grok-imagine-edit-image",
        -  "grok-imagine-image-to-video",
        -  "grok-imagine-text-to-image",
        -  "grok-imagine-text-to-video"
        -]New value: +[
        +  "grok-imagine-edit-image",
        +  "grok-imagine-image-to-video",
        +  "grok-imagine-video-1.5-fast",
        +  "grok-imagine-video-1.5-preview",
        +  "grok-imagine-text-to-image",
        +  "grok-imagine-text-to-video"
        +]
    • Changededit_image5 fields changed
      • addedInput schema / properties / callback_url
        Added value: +{
        +  "description": "Webhook URL for terminal Task delivery.",
        +  "type": "string"
        +}
      • addedInput schema / properties / enable_safety_checker
        Added value: +{
        +  "description": "Enable content safety checks.",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / prompt
        Added value: +{
        +  "description": "Optional image editing instruction.",
        +  "type": "string"
        +}
      • addedInput schema / properties / source_image_url
        Added value: +{
        +  "description": "Public source image URL.",
        +  "type": "string"
        +}
      • addedInput schema / required
        Added value: +[
        +  "source_image_url"
        +]
    • Changedextend_video6 fields changed
      • addedInput schema / properties / callback_url
        Added value: +{
        +  "description": "Webhook URL for terminal Task delivery.",
        +  "type": "string"
        +}
      • addedInput schema / properties / extension_duration_seconds / description
        Added value: +"Extension duration in seconds."
      • addedInput schema / properties / prompt
        Added value: +{
        +  "description": "Video continuation prompt.",
        +  "maxLength": 5000,
        +  "type": "string"
        +}
      • addedInput schema / properties / source_task_id
        Added value: +{
        +  "description": "Completed prior Grok Imagine video Task ID.",
        +  "type": "string"
        +}
      • addedInput schema / properties / start_seconds
        Added value: +{
        +  "description": "Source video position in seconds where extension begins.",
        +  "minimum": 0,
        +  "type": "number"
        +}
      • addedInput schema / required
        Added value: +[
        +  "source_task_id",
        +  "prompt",
        +  "start_seconds",
        +  "extension_duration_seconds"
        +]
    • Changedget_task1 field changed
      • changedInput schema / properties / action / description
        Previous value: -"Endpoint the task was created on."New value: +"Asynchronous endpoint the task was created on."
    • Changedimage_to_video14 fields changed
      • addedInput schema / properties / aspect_ratio / description
        Added value: +"Output aspect ratio."
      • changedInput schema / properties / aspect_ratio / enum
        Previous value: -[
        -  "2:3",
        -  "3:2",
        -  "1:1",
        -  "16:9",
        -  "9:16"
        -]New value: +[
        +  "2:3",
        +  "3:2",
        +  "1:1",
        +  "16:9",
        +  "9:16",
        +  "auto"
        +]
      • addedInput schema / properties / callback_url
        Added value: +{
        +  "description": "Webhook URL for terminal Task delivery.",
        +  "type": "string"
        +}
      • addedInput schema / properties / duration_seconds
        Added value: +{
        +  "description": "Output duration in seconds.",
        +  "maximum": 30,
        +  "minimum": 6,
        +  "type": "number"
        +}
      • addedInput schema / properties / enable_safety_checker
        Added value: +{
        +  "description": "Enable content safety checks.",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / index
        Added value: +{
        +  "description": "Zero-based source image index; used only with source_task_id.",
        +  "maximum": 5,
        +  "minimum": 0,
        +  "type": "number"
        +}
      • changedInput schema / properties / model / enum
        Previous value: -[
        -  "grok-imagine-image-to-video"
        -]New value: +[
        +  "grok-imagine-image-to-video",
        +  "grok-imagine-video-1.5-fast",
        +  "grok-imagine-video-1.5-preview"
        +]
      • addedInput schema / properties / motion_style / description
        Added value: +"Video motion style; spicy requires source_task_id."
      • removedInput schema / properties / motion_style / enum
        Removed value: -[
        -  "fun",
        -  "normal",
        -  "spicy"
        -]
      • addedInput schema / properties / output_resolution / description
        Added value: +"Output resolution."
      • addedInput schema / properties / prompt
        Added value: +{
        +  "description": "Optional video generation prompt.",
        +  "maxLength": 5000,
        +  "type": "string"
        +}
      • addedInput schema / properties / reference_image_urls
        Added value: +{
        +  "description": "Not accepted by this model.",
        +  "items": {},
        +  "type": "array"
        +}
      • addedInput schema / properties / source_image_url
        Added value: +{
        +  "description": "Public source image URL; provide this or source_task_id, but not both.",
        +  "type": "string"
        +}
      • addedInput schema / properties / source_task_id
        Added value: +{
        +  "description": "Prior Grok Imagine text-to-image Task ID; provide this or source_image_url, but not both.",
        +  "type": "string"
        +}
    • Changedtext_to_image6 fields changed
      • addedInput schema / properties / aspect_ratio / description
        Added value: +"Output aspect ratio."
      • addedInput schema / properties / callback_url
        Added value: +{
        +  "description": "Webhook URL for terminal Task delivery.",
        +  "type": "string"
        +}
      • addedInput schema / properties / enable_pro
        Added value: +{
        +  "description": "Enable Pro image generation mode.",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / enable_safety_checker
        Added value: +{
        +  "description": "Enable content safety checks.",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / prompt
        Added value: +{
        +  "description": "Image generation prompt.",
        +  "maxLength": 5000,
        +  "type": "string"
        +}
      • addedInput schema / required
        Added value: +[
        +  "prompt"
        +]
    • Changedtext_to_video12 fields changed
      • addedInput schema / properties / aspect_ratio / description
        Added value: +"Output aspect ratio."
      • changedInput schema / properties / aspect_ratio / enum
        Previous value: -[
        -  "2:3",
        -  "3:2",
        -  "1:1",
        -  "16:9",
        -  "9:16"
        -]New value: +[
        +  "2:3",
        +  "3:2",
        +  "1:1",
        +  "16:9",
        +  "9:16",
        +  "auto"
        +]
      • addedInput schema / properties / callback_url
        Added value: +{
        +  "description": "Webhook URL for terminal Task delivery.",
        +  "type": "string"
        +}
      • addedInput schema / properties / duration_seconds
        Added value: +{
        +  "description": "Output duration in seconds.",
        +  "maximum": 30,
        +  "minimum": 6,
        +  "type": "number"
        +}
      • addedInput schema / properties / enable_safety_checker
        Added value: +{
        +  "description": "Enable content safety checks.",
        +  "type": "boolean"
        +}
      • changedInput schema / properties / model / enum
        Previous value: -[
        -  "grok-imagine-text-to-video"
        -]New value: +[
        +  "grok-imagine-text-to-video",
        +  "grok-imagine-video-1.5-fast",
        +  "grok-imagine-video-1.5-preview"
        +]
      • addedInput schema / properties / motion_style / description
        Added value: +"Video motion style."
      • removedInput schema / properties / motion_style / enum
        Removed value: -[
        -  "fun",
        -  "normal",
        -  "spicy"
        -]
      • addedInput schema / properties / output_resolution / description
        Added value: +"Output resolution."
      • addedInput schema / properties / prompt
        Added value: +{
        +  "description": "Video generation prompt.",
        +  "maxLength": 5000,
        +  "type": "string"
        +}
      • addedInput schema / properties / reference_image_urls
        Added value: +{
        +  "description": "Not accepted by this model.",
        +  "items": {},
        +  "type": "array"
        +}
      • addedInput schema / required
        Added value: +[
        +  "prompt"
        +]
    • Changedupscale_image3 fields changed
      • addedInput schema / properties / callback_url
        Added value: +{
        +  "description": "Webhook URL for terminal Task delivery.",
        +  "type": "string"
        +}
      • addedInput schema / properties / source_task_id
        Added value: +{
        +  "description": "Completed prior Grok Imagine video Task ID.",
        +  "type": "string"
        +}
      • addedInput schema / required
        Added value: +[
        +  "source_task_id"
        +]
  4. 1 tool updatev0.1.6
    • Addedlogin
  5. 8 tool updatesv0.1.0
    • First observedcheck_pricing
    • First observededit_image
    • First observedextend_video
    • First observedget_task
    • First observedimage_to_video
    • First observedtext_to_image
    • First observedtext_to_video
    • First observedupscale_image

TDQS

A3.5/5.0

Scored across 10 tools

Disambiguation5/5

Each generation tool targets a distinct modality/operation (text_to_image, image_to_video, extend_video, upscale_image, segment_map, edit_image), all clearly separated. The auxiliary tools (login, check_pricing, get_task) are likewise unambiguous. No overlapping purposes exist across the set.

Naming Consistency5/5

All names follow a consistent snake_case verb_noun or noun_action pattern: text_to_image, extend_video, check_pricing, get_task, etc. No camelCase or stylistic mixing. The convention is predictable throughout.

Tool Count5/5

10 tools is well-scoped for a media-generation service: six generation operations, plus auth, pricing, and task polling. Every tool earns its place with no redundancy.

Completeness4/5

The lifecycle is well covered: authenticate (login), price check, create tasks across image/video operations, and poll results (get_task). A minor gap is the lack of task cancellation or listing of prior tasks, but core workflows are fully supported.

Maintenance

ActivityActive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers