Skip to main content
Glama

check_pricing

Look up RunAPI pricing for Seedream models and actions like text-to-image, image editing, or layer decomposition before running tasks.

Instructions

Look up RunAPI pricing for the seedream 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: -[
      -  "seedream-5-pro-layer-decomposition",
      -  "seedream-4.5-edit",
      -  "seedream-5-lite-edit",
      -  "seedream-5-pro-edit",
      -  "seedream-v4-edit",
      -  "seedream-4.5-text-to-image",
      -  "seedream-5-lite-text-to-image",
      -  "seedream-5-pro-text-to-image",
      -  "seedream-v4-text-to-image"
      -]
  2. Changed2 schema fields changedv0.1.9
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "edit_image",
      -  "text_to_image"
      -]New value: +[
      +  "decompose_layers",
      +  "edit_image",
      +  "text_to_image"
      +]
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "seedream-4.5-edit",
      -  "seedream-5-lite-edit",
      -  "seedream-5-pro-edit",
      -  "seedream-v4-edit",
      -  "seedream-4.5-text-to-image",
      -  "seedream-5-lite-text-to-image",
      -  "seedream-5-pro-text-to-image",
      -  "seedream-v4-text-to-image"
      -]New value: +[
      +  "seedream-5-pro-layer-decomposition",
      +  "seedream-4.5-edit",
      +  "seedream-5-lite-edit",
      +  "seedream-5-pro-edit",
      +  "seedream-v4-edit",
      +  "seedream-4.5-text-to-image",
      +  "seedream-5-lite-text-to-image",
      +  "seedream-5-pro-text-to-image",
      +  "seedream-v4-text-to-image"
      +]
  3. Changed1 schema field changedv0.1.7
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "seedream-4.5-edit",
      -  "seedream-5-lite-edit",
      -  "seedream-v4-edit",
      -  "seedream-4.5-text-to-image",
      -  "seedream-5-lite-text-to-image",
      -  "seedream-v4-text-to-image"
      -]New value: +[
      +  "seedream-4.5-edit",
      +  "seedream-5-lite-edit",
      +  "seedream-5-pro-edit",
      +  "seedream-v4-edit",
      +  "seedream-4.5-text-to-image",
      +  "seedream-5-lite-text-to-image",
      +  "seedream-5-pro-text-to-image",
      +  "seedream-v4-text-to-image"
      +]
  4. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/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. 'Look up' implies a safe read, but the description never confirms it has no side effects, doesn't mention auth requirements, caching, or billing context, and says nothing about the shape of the pricing returned.

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 scope appear immediately, which is exactly what a lookup tool needs.

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 two-optional-parameter tool with no annotations and no output schema, the description is adequate but thin. It doesn't clarify what the pricing response contains or how 'model line' maps to the model/action parameters, leaving the agent to infer the return shape.

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 (model, action) are documented in the schema, including their defaults and the action enum. The description's reference to 'the seedream model line' loosely aligns with the model parameter but adds no new syntax or format guidance. 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 ('look up') and resource ('RunAPI pricing') scoped to the seedream model line. It's clear what the tool returns, though it doesn't explicitly contrast itself with the sibling action tools (decompose_layers, edit_image, text_to_image), which is understandable given they're a different class of operation.

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 indication of when to call this versus alternatives, no prerequisites, and no mention of whether it should precede a priced action. The agent gets the what but not the when.

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