Skip to main content
Glama

Segmind MCP Server

npm version

Model Context Protocol server for Segmind's AI image and video generation API. Access 30+ state-of-the-art AI models including FLUX, Stable Diffusion XL, and more directly from any MCP-compatible AI assistant.

Quick Start

1. Get your Segmind API key

Sign up at segmind.com to get your API key.

2. Configure your MCP client

For Claude Desktop:

Edit your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the Segmind server:

{
  "mcpServers": {
    "segmind": {
      "command": "npx",
      "args": ["-y", "@bratcliffe909/mcp-server-segmind@latest"],
      "env": {
        "SEGMIND_API_KEY": "your_segmind_api_key_here"
      }
    }
  }
}

For Claude Code:

Use the command line to add the MCP server:

claude mcp add segmind -e SEGMIND_API_KEY=your_segmind_api_key_here -- npx -y @bratcliffe909/mcp-server-segmind@latest

For user scope (available across all projects):

claude mcp add segmind -s user -e SEGMIND_API_KEY=your_segmind_api_key_here -- npx -y @bratcliffe909/mcp-server-segmind@latest

Verify the connection:

/mcp

For Other MCP clients:

Check your client's documentation for config location

3. Restart your MCP client

  • Claude Desktop: Restart the application

  • Claude Code: The server connects immediately, verify with /mcp

That's it! The server will automatically download and run when needed. No installation or setup required!

Alternative: Install Globally

If you prefer to install the package globally:

npm install -g @bratcliffe909/mcp-server-segmind

Claude Desktop configuration:

{
  "mcpServers": {
    "segmind": {
      "command": "mcp-server-segmind",
      "env": {
        "SEGMIND_API_KEY": "your_segmind_api_key_here"
      }
    }
  }
}

Claude Code command:

claude mcp add segmind -e SEGMIND_API_KEY=your_segmind_api_key_here -- mcp-server-segmind

Related MCP server: RunComfy MCP Server

Available Tools

🎨 generate_image

Create images from text descriptions using various AI models.

Basic Examples:

"Generate an image of a futuristic city at sunset"
"Create a portrait of a robot in Renaissance style"
"Make an image of a cozy coffee shop interior"

Advanced Examples with Options:

"Generate a high-quality landscape photo of mountains using flux-1-pro"
"Create 3 variations of a cute cat logo with seed 12345"
"Make a 16:9 widescreen image of a space station"

Available Options:

  • model: Choose specific model (sdxl, flux-1-pro, ideogram-3, gpt-image-1, seedream-v3)

  • width/height: Image dimensions (256-2048, must be multiples of 8)

  • num_images: Generate 1-4 variations

  • quality: draft, standard, or high

  • style: Add style modifiers (e.g., "photorealistic", "anime", "oil painting")

  • seed: Use specific seed for reproducible results

🔄 transform_image

Transform existing images using AI models.

Basic Examples:

"Transform this image into a watercolor painting"
"Change the style to cyberpunk"
"Make it look like a sketch"

Advanced Examples:

"Apply subtle oil painting style with strength 0.5"
"Transform to anime style using sd15-img2img"
"Add dramatic lighting and shadows with high strength"

Available Options:

  • model: sd15-img2img (default)

  • strength: 0.0-1.0 (how much to transform, default 0.75)

  • negative_prompt: What to avoid in transformation

  • seed: For reproducible transformations

🎬 generate_video

Create videos from text descriptions or animate static images.

Basic Examples:

"Create a 5-second video of a butterfly emerging from a cocoon"
"Generate a video of waves crashing on a beach"
"Make a video of futuristic cityscape at night"

Advanced Examples:

"Create a 10-second cinematic video using veo-3 model"
"Generate multi-shot video with seedance-v1-lite"
"Animate this landscape photo with gentle movement"

Available Options:

  • model: veo-3, seedance-v1-lite

  • duration: 5-10 seconds

  • aspect_ratio: 16:9, 9:16, 1:1, 4:3

  • quality: standard, high, ultra

  • seed: For reproducible videos

✨ enhance_image

Improve image quality and resolution.

Basic Examples:

"Upscale this image to 4K"
"Remove noise from this photo"
"Enhance and sharpen this old photograph"

Advanced Examples:

"Upscale by 4x using esrgan model"
"Enhance face details using codeformer"
"Upscale image with face enhancement enabled"
"Restore old portrait with codeformer"

Available Options:

  • enhancement_type: upscale, denoise

  • model: esrgan (for upscaling) or codeformer (for face enhancement)

  • scale: 2x or 4x (for upscaling with esrgan)

  • strength: 0.0-1.0 (enhancement intensity)

  • face_enhance: true/false (for esrgan)

🎤 generate_audio

Generate speech from text using advanced TTS models.

Basic Examples:

"Convert this text to speech: Hello world"
"Read this text aloud: Welcome to our presentation"
"Generate speech: The quick brown fox jumps over the lazy dog"

Advanced Examples:

"Create dialogue: [S1] Hello! [S2] Hi there! (laughs)"
"Generate slow speech with speed_factor 0.8: Important announcement"
"Use orpheus-tts with voice emma: Hello everyone"

Controlling Speech Pace:

For slower, more deliberate speech:

"Generate speech: Hello everyone. (pauses) Today we'll discuss... (hesitates) something very important."
"Use speed_factor 0.8: This is an important safety announcement."
"Add pauses: Please listen carefully — (pauses) — this information could save your life."

Available Options:

  • model: dia-tts (multi-speaker, emotions) or orpheus-tts (4 voices)

  • voice: tara, dan, josh, emma (orpheus only)

  • speed_factor: 0.5-1.5 (dia only, default 0.94=normal, try 0.8 for slower, 1.1 for faster)

  • temperature: 0.1-2.0 (expressiveness)

  • max_new_tokens: Control audio length

Pacing Techniques (dia-tts):

  • Use punctuation: periods (.), commas (,), ellipsis (...) for natural pauses

  • Add non-verbal cues: (pauses), (sighs), (hesitates), (breathes deeply)

  • Combine with speed_factor for overall tempo control

🎵 generate_music

Create original music from text descriptions.

Basic Examples:

"Create relaxing piano music for meditation"
"Generate upbeat electronic dance music"
"Make ambient background music"

Advanced Examples:

"Generate 60 seconds of jazz with saxophone using minimax-music"
"Create instrumental lo-fi hip hop beats for studying"
"Make epic orchestral music with duration 45 seconds"

Available Options:

  • model: lyria-2 (instrumental) or minimax-music (with vocals)

  • duration: 1-60 seconds (minimax) or default 30s (lyria)

  • negative_prompt: What to avoid in the music

  • seed: For reproducible music generation

💰 estimate_cost

Check credit costs before generating content.

Examples:

"Estimate the cost of generating 5 images with sdxl"
"Show me the cost for all text-to-image models"
"What would it cost to create a 30-second video with veo-3?"
"List all model costs"

Available Options:

  • model: Specific model to estimate

  • category: Model category to compare

  • num_images: Number of images (1-10)

  • num_outputs: Number of outputs (1-10)

  • list_all: Show all model costs

Supported Models

The server includes 13 verified working models across 7 categories:

Text-to-Image Generation (4 models)

  • sdxl - Stable Diffusion XL: High-quality image generation with SDXL 1.0

  • sdxl-lightning - SDXL Lightning: Fast high-quality image generation (8 steps)

  • fooocus - Fooocus: Advanced image generation with refinement options

  • ssd-1b - SSD-1B: Efficient billion-parameter model for fast generation

Image-to-Image Transformation (1 model)

  • sd15-img2img - SD 1.5 Image-to-Image: Transform existing images with Stable Diffusion 1.5

Image Enhancement (2 models)

  • esrgan - ESRGAN: AI-powered image upscaling (2x-4x) and enhancement

  • codeformer - CodeFormer: AI face restoration and enhancement

Video Generation (2 models)

  • veo-3 - Google Veo 3: Advanced text-to-video with realistic audio synthesis

  • seedance-v1-lite - Seedance V1 Lite: Fast high-quality multi-shot video generation

Text-to-Speech (2 models)

  • dia-tts - Dia: Ultra-realistic multi-speaker dialogue with emotions and nonverbal cues

  • orpheus-tts - Orpheus TTS 3B: Open-source TTS with emotion tags and natural speech

Music Generation (2 models)

  • lyria-2 - Lyria 2: High-fidelity 48kHz stereo instrumental music generation

  • minimax-music - Minimax Music-01: Generate up to 60 seconds of music with vocals

Configuration Options

Set these environment variables in your MCP client config:

{
  "env": {
    "SEGMIND_API_KEY": "required - your API key",
    "LOG_LEVEL": "info",  // error, warn, info, debug
    "CACHE_ENABLED": "true",
    "MAX_IMAGE_SIZE": "10485760",  // 10MB
    "FILE_OUTPUT_LOCATION": "/path/to/save/images"  // Optional, defaults to system temp
  }
}

File Output

Images are automatically saved to your local filesystem (Claude Desktop cannot display images from MCP servers).

  • Default location: System temp directory

  • Custom location: Set FILE_OUTPUT_LOCATION to any directory

  • Override per request: Use save_location parameter in your prompt

Example:

"Generate an image of a sunset"
// Result: Image saved to: /tmp/sdxl-1705783456789.png

"Generate a logo and save to /Users/me/Desktop"
// Result: Image saved to: /Users/me/Desktop/sdxl-1705783456790.png

Working with Local Images

To use your local images with transform_image or enhance_image tools, you need to convert them to base64 format first.

Option 1: Drag & Drop (Easiest)

Simply drag your image file into the Claude chat window.

Option 2: Use the Preparation Script

# Navigate to the package directory
cd node_modules/@bratcliffe909/mcp-server-segmind
# Or if installed globally: cd $(npm root -g)/@bratcliffe909/mcp-server-segmind

# Convert your image
node scripts/prepare-image.js "C:\Users\YourName\Pictures\photo.jpg"

# This creates photo.jpg.base64.txt - copy its contents for use with Claude

Option 3: Online Converter

Use any "image to base64" online converter and copy the result.

See docs/IMAGE_PREPARATION.md for detailed instructions.

Development

If you want to contribute or modify the server:

git clone https://github.com/bratcliffe909/segmind-mcp.git
cd segmind-mcp
npm install
npm run build
npm link

See CONTRIBUTING.md for more details.

Troubleshooting

"MCP error -32000: Connection closed"

This error often occurs due to command execution issues. Try these solutions:

For Windows users:

{
  "mcpServers": {
    "segmind": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@bratcliffe909/mcp-server-segmind@latest"],
      "env": {
        "SEGMIND_API_KEY": "your_segmind_api_key_here"
      }
    }
  }
}

For NVM users:

Install globally instead of using npx:

npm install -g @bratcliffe909/mcp-server-segmind

Then use:

{
  "mcpServers": {
    "segmind": {
      "command": "mcp-server-segmind",
      "args": [],
      "env": {
        "SEGMIND_API_KEY": "your_segmind_api_key_here"
      }
    }
  }
}

General solutions:

  1. Ensure Node.js is installed in your system (not just in WSL)

  2. Restart Claude Desktop after configuration changes

  3. Check npm registry settings in ~/.npmrc

  4. Verify the -y flag is included in the args array

"API key not found" error

Make sure your SEGMIND_API_KEY is set correctly in your MCP client's configuration.

"Command not found" error

Ensure npm's global bin directory is in your PATH, or use the full path to npx.

Images not displaying

Your MCP client should display images automatically. Ensure you're using a client that supports image display.

Security

  • API keys are never logged or stored

  • All requests use HTTPS

  • Input validation on all parameters

  • Rate limiting to prevent abuse

Contributing

Contributions are welcome! Please see our Contributing Guide for details.

License

MIT License - see LICENSE for details.

Documentation

Available Tools

12 tools
check_creditsA

Check remaining API credits

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It implies a read-only operation by using the word 'check', but it does not disclose what the response contains, whether any side effects exist, or whether authentication or rate limits apply. This is minimal behavioral transparency.

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?

The description is a single, front-loaded sentence with no filler. Every word contributes meaning, making it appropriately concise for the tool's simplicity.

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 zero-parameter, read-only tool, the description is largely complete: the agent knows what the tool does and that it requires no arguments. However, since there is no output schema, the absence of any statement about the return format (e.g., a number or object) leaves a minor gap. Overall, it is sufficient for a trivial tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero parameters and 100% schema coverage, so the description does not need to explain parameter semantics. The baseline for 0-parameter tools is 4, and the description adds nothing false or misleading.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Check remaining API credits' states a specific verb ('check') and a specific resource ('remaining API credits'). It is immediately distinct from all sibling tools, which are generation, transformation, or estimation tools, so an agent can identify its purpose without ambiguity.

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 gives no usage context, prerequisites, or alternatives. It does not say when to use this tool instead of estimate_cost or get_model_info, so the agent is left to infer the appropriate timing from the name alone.

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

enhance_imageC

Enhance images with upscaling, restoration, background removal, and more. Accepts file paths directly (e.g. C:\photo.jpg), URLs, or base64. File paths are automatically processed without displaying the base64 string.

ParametersJSON Schema
NameRequiredDescriptionDefault
imageYesInput image as: file path (e.g. C:\photo.jpg or /home/user/image.png), URL, base64 string, or image cache ID. File paths are automatically handled without displaying base64.
modelNoSpecific model to use for enhancement
scaleNoUpscaling factor (for upscale operation)4
operationYesEnhancement operation to perform
batch_sizeNoNumber of images to process
return_maskNoReturn mask for background removal
display_modeNoHow to return the image: display (show image), save (return base64 for saving), both (show image and provide base64)display
face_enhanceNoEnhance faces during upscaling

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden. It only mentions that file paths are automatically processed without displaying the base64 string; it does not disclose whether inputs are modified, how results are returned, or what side effects or limitations exist.

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?

The description is compact and front-loaded with the core action and operations, followed by accepted input formats. It avoids wordiness, though 'and more' is slightly vague and could be replaced with the remaining operations.

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?

The schema covers all parameters in detail, which mitigates the lack of an output schema and annotations. Still, for a tool with 5 operations and 8 parameters, the description does not explain return behavior, operation-specific nuances, or when to use this tool over siblings, leaving meaningful gaps.

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 the schema already explains all 8 parameters. The description adds little beyond restating the image input handling that is already documented in the schema, 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 uses a specific verb ('Enhance') and resource ('images') and lists several concrete capabilities such as upscaling, restoration, and background removal. It is clear about the tool's purpose, though it does not explicitly contrast itself with sibling tools like transform_image.

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 says the tool accepts file paths, URLs, or base64, but gives no guidance on when to use enhance_image versus transform_image or other sibling tools. There are no exclusions, prerequisites, or alternative selection criteria.

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

estimate_costB

Estimate the credit cost and time for image/video generation operations

ParametersJSON Schema
NameRequiredDescriptionDefault
modelNoModel ID to estimate cost for
categoryNoModel category to list costs for
list_allNoList costs for all available models
operationNoType of operation (generate, transform, enhance, etc.)
num_imagesNoNumber of images to generate
num_outputsNoNumber of outputs to generate

TDQS

B3.4/5.0
Behavior3/5

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

Without annotations, the description carries the burden of explaining behavior. 'Estimate' conveys that this tool does not execute generation, which is useful. However, it does not explicitly state that no credits are consumed or that this is a read-only operation.

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, front-loaded sentence that states the tool's core purpose with no filler or redundancy. It is compact and immediately understandable.

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?

With six optional parameters, no required parameters, and no output schema, the description is too sparse. It does not explain how model, category, and list_all relate, what a request with no parameters returns, or what the response structure looks like.

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 the schema already documents all six parameters. The description adds no parameter-level detail, which meets the baseline but does not go beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Estimate') with a clear resource ('credit cost and time for image/video generation operations'). This clearly distinguishes it from sibling generation tools like generate_image and from balance tools like check_credits.

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?

There is no guidance on when to use this tool versus alternatives such as check_credits, list_models, or get_model_info. No exclusions, prerequisites, or decision criteria are provided.

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

generate_audioA

Generate speech audio from text using TTS models

ParametersJSON Schema
NameRequiredDescriptionDefault
seedNoSeed for reproducible generation
textYesText to convert to speech
modelNoTTS model to use (dia-tts or orpheus-tts)
top_pNoControls word variety (0.1-1.0, higher = rarer words)
voiceNoVoice selection for TTS (orpheus: tara, dan, josh, emma)
cfg_scaleNoHow strictly to follow text (1-5, dia only)
input_audioNoBase64 audio for voice cloning (dia only)
temperatureNoControls randomness/expressiveness (0.1-2.0)
display_modeNoHow to return the audio: display (show audio), save (return base64 for saving), both (show audio and provide base64)display
speed_factorNoPlayback speed (0.5-1.5). Default 0.94 = normal speech. Try 0.8 for slower, 1.1 for faster
save_locationNoDirectory path to save the audio. Overrides default save location.
max_new_tokensNoMaximum tokens (controls audio length - higher = longer audio)
cfg_filter_top_kNoToken filtering (10-100, dia only)
repetition_penaltyNoPenalty for repeated phrases (1.0-2.0, orpheus only)

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the core function and does not mention output behavior, default display mode, model-specific caveats, resource usage, or how results are returned to the agent.

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?

The description is a single, front-loaded sentence with no filler or redundancy. It efficiently conveys the purpose without duplicating schema information, which is appropriate given the rich input schema.

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?

The schema covers the parameters thoroughly, and some parameter descriptions (e.g., display_mode, save_location) indirectly address output handling. However, with no annotations and no output schema, the description alone does not provide enough behavioral or workflow context for such a complex generative tool with 14 parameters.

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 14 parameters are already documented with meaningful descriptions and ranges. The description itself adds no parameter-level detail beyond echoing that text is converted to speech, so the baseline score of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('generate'), specific resource ('speech audio from text'), and names the method ('TTS models'). This makes it clearly distinguishable from siblings like generate_image, generate_video, and especially generate_music.

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?

The purpose implies when the tool should be used (text-to-speech), and the sibling list includes generate_music as a contrast. However, there is no explicit statement about when to use this tool over alternatives or exclusions, leaving usage routing to inference.

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

generate_imageB

Generate images from text prompts using various AI models. Returns base64-encoded image data with MIME type information.

ParametersJSON Schema
NameRequiredDescriptionDefault
seedNoSeed for reproducible generation
modelNoModel to use (default: auto-select based on prompt)
styleNoStyle modifier (e.g., "photorealistic", "anime", "oil painting")
widthNoImage width (must be multiple of 8)
heightNoImage height (must be multiple of 8)
promptYesText prompt describing the image to generate
qualityNoQuality presetstandard
num_imagesNoNumber of images to generate
display_modeNoHow to return the image: display (show image), save (return base64 for saving), both (show image and provide base64)display
negative_promptNoWhat to avoid in the generation

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses base64/MIME output, but omits that display_mode defaults to "display" and would show the image rather than return base64, making the only behavioral claim conditional/inaccurate; it also says nothing about credit/cost implications.

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?

Two short sentences, front-loaded with the action and then the output format. There is no fluff; even though the second sentence is imprecise about display_mode, it is structurally efficient.

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?

Given 10 parameters, 11 sibling tools, and no annotations or output schema, the description is too thin for an agent to reliably select and invoke it. It lacks routing guidance, output mode semantics, and cost/credit context.

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% with detailed descriptions for all 10 parameters, so the descriptive burden is already met. The tool description adds no extra parameter meaning beyond tying generation to text prompts and models.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: "Generate images from text prompts", which clearly identifies the tool's core action and separates it from generate_video/generate_audio and from transform/enhance tools. The addition of "various AI models" and return format further clarifies scope.

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?

The phrase "from text prompts" implies the text-to-image use case, but there is no explicit when-to-use vs alternatives or any exclusions. With siblings like transform_image, enhance_image, and generate_video, the agent must infer routing from the resource noun alone.

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

generate_musicC

Generate music from text descriptions

ParametersJSON Schema
NameRequiredDescriptionDefault
seedNoSeed for reproducible generation
modelNoMusic generation model to use
promptYesText description of the music to generate
durationNoDuration in seconds for the music
num_outputsNoNumber of variations to generate
display_modeNoHow to return the audio: display (show audio), save (return base64 for saving), both (show audio and provide base64)display
save_locationNoDirectory path to save the music. Overrides default save location.
negative_promptNoWhat to avoid in the generation

TDQS

C2.9/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full disclosure burden, yet it only restates the core action. It discloses nothing about non-determinism (despite the seed parameter), cost or credit consumption (estimate_cost exists as a sibling), latency, or how generated audio is returned. There is no contradiction, but almost no behavioral context beyond the tool's purpose.

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?

The definition is a single nine-word sentence with zero filler, front-loading the verb and resource. It is efficient, though the brevity reflects under-specification rather than rich compression of information.

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 an 8-parameter generation tool with no annotations and no output schema, this is thin. The description says nothing about output format, the display/save/both behavior of display_mode, model selection, or cost implications, so an agent must infer critical invocation details from the schema alone. A few sentences covering output behavior and model guidance would be needed for completeness.

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 the baseline of 3 applies even though the description adds no parameter detail. The only marginal contribution is mapping 'text descriptions' to the prompt parameter; semantics for model, duration, display_mode, and save_location are entirely delegated to the schema.

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 music' from 'text descriptions' — making the tool's core function unmistakable. It does not, however, distinguish itself from the sibling generate_audio, leaving real ambiguity about whether music or general audio generation is intended.

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 when-to-use guidance is provided whatsoever. The description never mentions alternatives, exclusions, or selection conditions, and given the overlapping sibling generate_audio, the boundary between 'music' and 'audio' is left entirely to the agent's inference. This is simply absent guidance.

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

generate_videoA

Generate videos from text prompts or animate static images

ParametersJSON Schema
NameRequiredDescriptionDefault
fpsNoFrames per second
seedNoSeed for reproducible generation
imageNoInput image for image-to-video generation (base64 or URL)
modelNoModel ID to use for video generation
promptYesText prompt or motion description for video generation
qualityNoVideo quality presethigh
durationNoVideo duration in seconds
aspect_ratioNoVideo aspect ratio16:9
save_locationNoDirectory path to save the video. Overrides default save location.

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the basic operation and does not mention generation time, cost implications, output format, default model behavior, save behavior, or other execution characteristics.

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?

The description is a single concise sentence with no redundant wording. It front-loads the primary purpose and covers the two main generation modes in an efficient manner.

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?

Given the tool has 9 parameters, no output schema, and no annotations, the description is too minimal to fully prepare an agent for invocation. It leaves important context unaddressed, such as what the tool returns, how long generation takes, and what side effects occur.

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 the parameters are already well-documented. The description adds a conceptual link by mentioning text prompts and static images, which maps to the 'prompt' and 'image' parameters, but does not provide deeper semantic meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: generating videos from text prompts or animating static images. This distinguishes it from siblings like generate_image, generate_audio, and enhance_image, which target different media or operations.

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?

The description provides clear context for when to use the tool: for video generation or image animation. It does not explicitly mention exclusions or alternatives, but the core use case is unambiguous given the sibling tool names.

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

get_model_infoA

Get detailed information about a specific model

ParametersJSON Schema
NameRequiredDescriptionDefault
model_idYesModel ID

TDQS

A3.5/5.0
Behavior3/5

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

There are no annotations, so the description carries the burden of conveying behavior. 'Get' and 'detailed information' clearly indicate a read-only lookup, but the description does not disclose what specific details are returned or how errors for invalid model_id values are handled.

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?

The description is a single, front-loaded sentence with no filler. It communicates the operation and the object of the operation efficiently.

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 one-parameter tool, the core call contract is clear. Still, with no output schema and no richer description, the agent cannot know what 'detailed information' includes or how errors/unknown model IDs are handled, so completeness is only adequate.

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 coverage is 100%: model_id is already documented as 'Model ID'. The description adds only that the model is 'specific', so it provides minimal extra semantic value beyond the schema, placing it at baseline.

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 clear verb and resource: it retrieves detailed information for one model. 'Specific model' hints at a contrast with the sibling list_models, but it does not explicitly name that alternative.

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?

The phrasing 'specific model' and the required model_id imply this is the tool to call when the agent already has a model identifier, rather than when listing available models. However, it never explicitly says when to use this tool over list_models or any other sibling.

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

list_modelsB

List available AI models by category

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It fails to state that it is a read-only operation, what 'available' means (e.g., accessible to the user), or whether the result is a list of model identifiers or full metadata. Minimal behavioral context.

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?

The description is a single, concise sentence with no filler. It is front-loaded with the verb and resource, and length is appropriate for a simple list operation.

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 simple one-parameter list tool, the description is adequate but does not clarify the nature of the returned list (e.g., model names vs full details) or point to get_model_info for specifics. Given the lack of an output schema and the presence of a sibling that provides details, a bit more guidance would improve completeness.

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 already describes the category parameter as 'Filter by category' with an enum, so schema description coverage is 100%. The description's 'by category' adds no semantic value beyond what the schema provides. Baseline 3 is appropriate.

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 clear action ('List') on a specific resource ('available AI models') with a scope ('by category'). It is distinguishable from siblings like generate_image or get_model_info, though it does not explicitly name the alternative for detailed info.

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 guidance is given on when to use this tool versus siblings. It does not mention that get_model_info provides per-model details, nor when category filtering is appropriate. The description implies usage but offers no explicit decision criteria.

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

prepare_imageA

RECOMMENDED: Prepare a local image file for use with other tools. Returns a short ID instead of the full base64 string, avoiding display slowdowns. Always use this instead of read_local_image for image transformation tasks.

ParametersJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the image file
max_size_kbNoMaximum size in KB before warning (default: 800KB)

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses key behavior: it returns a short ID, not a base64 payload, to avoid display slowdowns. It does not detail file-system side effects or error behavior, but the disclosed return behavior is concrete and useful.

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?

Three sentences, all front-loaded with the most important information: recommendation, what it does, and the key behavioral benefit. The alternative tool is named early, and no sentence is wasted on filler.

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 simple two-parameter tool with no output schema, the description covers the essential facts: what it takes, what it returns, and when to use it. It does not enumerate accepted image formats or define what 'prepare' entails beyond the ID return, but the core calling context is clear.

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 the schema already documents file_path and max_size_kb clearly. The description adds little parameter meaning beyond the schema, though it does imply max_size_kb's purpose via the point about avoiding display slowdowns. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a clear verb ('prepare') and resource ('a local image file'), and states its purpose: returning a short ID instead of the full base64 string for use with other tools. It also explicitly distinguishes itself from read_local_image, making sibling differentiation immediate.

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

Usage Guidelines5/5

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

The description gives a direct recommendation ('Always use this instead of read_local_image') and specifies the applicable context ('for image transformation tasks'). This tells an agent exactly when to choose this tool over a closely related sibling.

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

read_local_imageA

Read a local image file and convert it to base64. WARNING: Returns the full base64 string which can be very large and slow to display. Use prepare_image instead for better performance.

ParametersJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the image file
return_formatNoFormat to return: base64 string or data URIbase64

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It warns that the output can be 'very large and slow to display', which is a meaningful performance trait. It does not explicitly state that the operation is read-only, but 'read_local_image' and 'Read a local image file' strongly imply no side effects.

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 sentences with no filler. The purpose is stated first, followed by the warning and the alternative recommendation, which is well-structured and efficient.

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 simple two-parameter read tool without an output schema, the description covers the core behavior, the performance caveat, and the alternative. It does not cover error cases or supported file formats, but those are not essential given the schema and the straightforward nature of the operation. Slightly more context about when to use data_uri vs base64 could improve it, but it is largely complete.

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%, with both file_path and return_format clearly described in the input schema. The description adds the base64 conversion context, but this mostly overlaps with the schema's default value. Since the schema already handles parameter meaning, a baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Read a local image file') and the transformation ('convert it to base64'), making the tool's function immediately clear. It also distinguishes itself from the sibling prepare_image by warning about the large output and recommending the alternative.

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

Usage Guidelines5/5

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

The description explicitly names the alternative tool (prepare_image) and gives the condition for choosing it ('for better performance'). This tells an agent when not to use this tool and what to use instead, which is exactly what this dimension requires.

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

transform_imageA

Transform existing images using AI with various control methods. Accepts file paths directly (e.g. C:\photo.jpg), URLs, or base64. File paths are automatically processed without displaying the base64 string.

ParametersJSON Schema
NameRequiredDescriptionDefault
maskNoMask image for inpainting (base64 or URL)
seedNoSeed for reproducible generation
imageYesInput image as: file path (e.g. C:\photo.jpg or /home/user/image.png), URL, base64 string, or image cache ID. File paths are automatically handled without displaying base64.
modelNoModel ID to use for transformation
promptYesTransformation prompt describing desired changes
strengthNoTransformation strength (0=no change, 1=complete change)
control_typeNoControlNet type
display_modeNoHow to return the image: display (show image), save (return base64 for saving), both (show image and provide base64)display
negative_promptNoWhat to avoid in the transformation

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It discloses one genuinely useful behavior: file paths are auto-processed without dumping the base64 string into the conversation. But it does not disclose cost implications of an AI generation call, whether the original image is preserved, latency expectations, or whether upstream preparation (e.g., prepare_image) is needed.

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 sentences with no filler. The core purpose is front-loaded in the first sentence, and the second sentence carries a concrete, actionable behavioral detail. Every clause earns its place.

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 9-parameter, 2-required tool with no annotations and no output schema, the description covers input handling but leaves gaps: no guidance on how transform_image relates to the prepare_image workflow among siblings, no cost expectations, and no output-behavior detail beyond what the schema's display_mode enum already provides. Adequate but not complete.

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%, establishing the baseline of 3 even with no param info in the description. The description reinforces the image parameter's accepted formats (path/URL/base64) and adds the 'without displaying the base64 string' behavioral nuance, but adds nothing about prompt, strength, model, or control_type beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Transform'), resource ('existing images'), and mechanism ('using AI with various control methods'). This clearly distinguishes it from generate_image (creates new images), enhance_image (implies improvement rather than arbitrary transformation), and prepare_image/read_local_image (image I/O utilities). An agent can tell which tool to reach for without inspecting the schema.

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 context is implied — use this when an existing image needs modification rather than generation — and the input-format note gives practical guidance on what it accepts. However, no explicit when/when-not conditions or alternatives are named, and the closest sibling (enhance_image) is never referenced, leaving the selection decision between transform and enhance to inference.

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

TDQS

A3.7/5.0
Disambiguation4/5

Most tools are clearly separated by modality and action: generate_image, transform_image, enhance_image, generate_video, generate_audio, and generate_music all have distinct purposes. The only real overlap is prepare_image versus read_local_image, though the descriptions explicitly differentiate the recommended workflow from the base64-returning alternative.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: generate_*, list_*, get_*, transform_*, enhance_*, estimate_*, check_*, prepare_*, and read_*. The verbs are descriptive and predictable across the entire set.

Tool Count5/5

Twelve tools is well-scoped for a multimodal generation server. The count covers image, video, audio, and music generation, model discovery, image utilities, cost estimation, and credit checking without unnecessary bloat.

Completeness5/5

The tool surface provides a complete workflow for the domain: model discovery, generation across multiple modalities, image transformation and enhancement, local image preparation, and account/cost management. There are no obvious dead ends or missing core operations for the stated purpose.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/bratcliffe909/segmind-mcp'

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