Skip to main content
Glama
2234839

Martin MCP Toolbox

by 2234839

generate_image

Turn text descriptions into images with CogView-4. Control size and quality, then save the output to a local path.

Instructions

Generate an image from text prompt using CogView-4 model

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoImage size. Default: 1024x1024
promptYesText description of the image to generate
qualityNoImage quality. hd: higher quality but slower (20s), standard: faster (5-10s). Default: standard
save_pathNoLocal path to save the generated image
Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure, but it only states the basic generation action. It does not mention output format, return behavior, saving semantics, costs, rate limits, or any side effects. The timing/quality trade-off is present in the schema, but the description itself adds no behavioral context beyond the obvious.

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 with no fluff, front-loaded with the core action and resource. It is appropriately sized for a tool whose parameters are fully documented in the schema, and every word contributes to meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a generation tool with no output schema, the description should clarify what the tool returns or saves (e.g., path, URL, base64). The presence of a save_path parameter implies saving, but the description does not confirm this or mention the return value. Combined with sibling ambiguity, the description is incomplete for an agent to invoke it correctly and handle the result.

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?

The input schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds no new parameter meaning beyond schema, but it does not mislead either. The model name ('CogView-4') is context not directly tied to parameters, but does not enhance parameter understanding.

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 clearly identifies a text-to-image generation tool using the CogView-4 model, with a specific verb ('generate') and resource ('image from text prompt'). However, it does not distinguish itself from the sibling tool pollinations_generate_image, which also generates images, so it lacks explicit sibling differentiation.

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?

The description provides no guidance on when to use this tool versus the alternative image generation tool or other siblings. It does not mention preferred use cases, exclusions, or conditions that would make this tool the right choice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/2234839/mcpserver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server