Skip to main content
Glama

generate_image_ai

Creates an image from a prompt using a selected BitPull image model, saves the result to a file, and returns its path for use in your workflow.

Instructions

Generate an image with a proprietary image model offered by BitPull (see list_ai_models, modality "image"). Saves it to a file and returns the path. Requests to these models pass through the BitPull server to the AI provider (Anthropic, OpenAI, Google…): they are NOT end-to-end encrypted. Do not send secrets or personal data the user has not agreed to share. Paid in BitPull credits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>",
      "prompt": "<prompt>"
    },
    "name": "generate_image_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo
modelYes
promptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses the side effect (writes a file to disk), the return value (file path), the trust boundary (requests pass through the BitPull server to third-party providers, not end-to-end encrypted), and the cost model (paid in BitPull credits). It does not cover latency, output format, or failure behavior for unsupported sizes or models.

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?

Front-loads the action, then the return behavior, then the security and billing caveats in three dense sentences with no filler. Each sentence contributes distinct information, though the provider-list parenthetical is slightly incidental.

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 3-parameter, no-output-schema, no-annotation tool, the definition covers the critical unknowns an agent would otherwise guess at: where the model ID comes from, that a file path is returned, that data transits a third party, and that credits are charged. The remaining gap is the size parameter, which is undocumented anywhere.

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 0%, so the description must compensate and only partly does: it explains where valid model values come from (list_ai_models, modality "image") but says nothing about the size parameter or prompt constraints (1–4000 chars). The model param gains real meaning; size is left entirely to a bare maxLength of 20.

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?

Names a specific verb and resource ("Generate an image") and scopes the model source to BitPull's proprietary models, which separates it from the text-oriented ask_ai_model / ask_group_model family by implication. It does not explicitly say what it is not, so sibling differentiation depends on the reader inferring from the sibling name.

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?

Gives a concrete prerequisite step: consult list_ai_models and pick a model with modality "image", which is real when-to-use guidance tied to another tool. It also states a clear do-not (no secrets or unagreed personal data) but never explicitly contrasts against the other ask_* tools.

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