Skip to main content
Glama

check_pricing

Retrieve current RunAPI pricing for any grok-imagine model or endpoint, specifying model slug and action to get exact costs.

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.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"
      +]
  2. 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"
      +]
  3. First observedv0.1.0

TDQS

A3.9/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 burden. It states an action ('look up') implying a read-only operation, but it does not explicitly disclose the absence of side effects, authentication needs, or rate limits. For a simple lookup tool, this is acceptable but not fully transparent.

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 concise sentence, front-loaded with the verb and resource. It contains no filler and conveys the essential purpose 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 tool with two optional params and no output schema, the description is minimal. It does not describe the return format or any prerequisites, potentially leaving an agent unsure what data to expect. However, the simplicity of the lookup operation keeps this from being a major gap.

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%, and the schema already explains both parameters, including their enums and default behaviors. The description adds no additional parameter-specific meaning, meeting the baseline for full schema coverage.

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 uses a specific verb ('Look up') and names the exact resource ('RunAPI pricing for the grok-imagine model line'). It clearly distinguishes from sibling tools like text_to_image and edit_image, which are generation actions rather than pricing lookups.

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?

The phrase 'Look up RunAPI pricing' establishes a clear context: this is the tool for retrieving pricing information for the grok-imagine line. While it does not explicitly name alternatives, the purpose is self-evident and no exclusion is needed since siblings are for different operations.

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