Skip to main content
Glama

check_pricing

Look up RunAPI pricing for grok-imagine models and endpoints to estimate costs for image and video generation.

Instructions

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • 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"
      -]
  2. Changed2 schema fields changedv0.1.13
    • 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"
      +]
  3. Changed1 schema field changedv0.1.11
    • 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"
      +]
  4. First observedv0.1.0

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.