Skip to main content
Glama

wanyra_generate_image

Generate an image from a text prompt with any Wanyra image model and optional size settings. Create visuals through the OpenAI-compatible API using your WANYRA_API_KEY.

Instructions

Generate an image using any Wanyra image model via POST /v1/images/generations. Requires WANYRA_API_KEY.

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": "wanyra_generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoOptional size e.g. 1024x1024.
modelYesImage model ID (query with wanyra_list_models endpoint="image").
promptYesImage generation prompt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden and does add useful context: the required WANYRA_API_KEY credential and the HTTP endpoint being wrapped. However, it says nothing about cost, latency/async behavior, moderation constraints, or what the response contains (URL vs. base64), which matter for an image generation call.

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?

Two short sentences with no filler; the capability is front-loaded and the auth requirement follows immediately. Nothing here is redundant or padded.

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 three-parameter tool with no output schema and no annotations, the description covers the endpoint and auth but leaves the agent guessing about return shape, timing, and cost implications of generation. Adequate to invoke, but thin for an operation that is typically slow and billable.

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 model, prompt, and size are all documented in the input schema, including the cross-reference to wanyra_list_models. The description adds no meaning beyond that, so the baseline of 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?

The description states a specific verb and resource ('Generate an image') and even names the underlying endpoint POST /v1/images/generations, so an agent knows exactly what the tool does. It does not explicitly compare itself to siblings like wanyra_generate_video or wanyra_chat, but the image/video distinction is clear from the name and text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the purpose statement; there is no explicit guidance on when to choose this over wanyra_chat or wanyra_generate_video, nor any prerequisites beyond the API key. The pointer to wanyra_list_models for model IDs lives in the schema, not the description.

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