Skip to main content
Glama

nft_pipeline_generate_image

Generate AI images for NFTs from text prompts using free APIs, with selectable models, styles, aspect ratios, quality, and seeds for reproducible results.

Instructions

Generate AI image for NFT using free APIs (Pollinations.ai, FLUX.1, Stable Diffusion)

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": {
      "prompt": "<prompt>"
    },
    "name": "nft_pipeline_generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed for reproducible generation
modelNoSpecific model to use (flux, turbo, etc.)
styleNoArt style for the image
promptYesText description of the image to generate
qualityNoGeneration qualityhigh
aspectRatioNoImage aspect ratio1:1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 add real value by disclosing that generation goes through free third-party APIs, implying no credentials or cost. However it omits critical traits such as latency/async behavior, rate limits, failure modes, and whether the result is a URL, file, or binary payload.

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 or redundancy; the core action and provider set come first. It is arguably too terse rather than bloated, so it loses a point for under-specification rather than verbosity.

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?

Covers the action and enumeration of providers adequately for a six-parameter tool whose schema is fully documented. But with no output schema and no annotations, the description should say what is returned and how long generation takes, and it does not.

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 all six parameters (prompt, seed, model, style, quality, aspectRatio) are already documented in the schema. The description adds only a marginal hint by naming FLUX.1 and Stable Diffusion, loosely mapping to the model parameter, 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 (Generate) and resource (AI image for NFT) and names the underlying providers (Pollinations.ai, FLUX.1, Stable Diffusion). It is clearly distinguishable from siblings like create_metadata or upload_to_ipfs, 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?

No explicit guidance on when to use this tool versus the other pipeline steps, and no prerequisites or ordering notes (e.g. whether this must run before create_metadata/upload_to_ipfs). Usage is only inferable from the name and the word 'NFT'.

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