Skip to main content
Glama

Generate an image

generate_image

Creates images from a prompt using a selected TaoDock model, uses account quota, and saves the result locally.

Instructions

Generates an image with a TaoDock model, consumes account quota, and saves the result locally.

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

Input Schema

NameRequiredDescriptionDefault
modelYesImage model ID returned by list_models.
promptYesImage instruction.
parametersNoModel-specific request fields. Use the TaoDock model guide for supported values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, and the description adds two traits that annotations cannot express: it consumes account quota and it writes the result to local disk. That is meaningful cost/side-effect disclosure. It remains silent on latency, failure handling, and whether a repeat call with the same prompt re-bills quota despite idempotentHint=false.

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 sentence that front-loads the action, then the side effects in order of importance (quota cost, local save). No hedging, no restatement of the title, nothing that could be cut.

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?

There is no output schema and the description does not say what the call returns — whether a local path, a URL, or nothing but a success flag — which matters for an agent that must then act on the file. For a quota-consuming, non-idempotent generation tool with a nested free-form parameter object, more behavioral detail is warranted than one sentence provides.

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 parameters are already documented in structured form, and the description adds no syntax, format, or defaulting detail beyond them. The nested free-form 'parameters' object (additionalProperties with only a vague pointer to a model guide) is the one place extra prose would help, and it gets none.

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 gives a specific verb and resource ('Generates an image') plus the model family ('TaoDock model'), so the agent can distinguish it from create_video purely on modality. It stops short of naming a sibling or stating an explicit contrast condition, which keeps it off a 5.

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?

There is no explicit when-to-use or when-not-to-use statement, but 'with a TaoDock model' combined with the schema note that model must come from list_models implies a prerequisite lookup step. Usage is therefore inferable rather than stated, and no alternative (e.g., create_video) is discussed.

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