Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGNES_API_KEYYesYour Agnes API key from https://www.agnes-ai.cn
AGNES_OUTPUT_DIRNoAbsolute path to output directory for generated images and videos

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
agnes_image_generateB

Generate an image with Agnes Image 2.1 Flash and save returned image data when possible.

Supports text-to-image and image-to-image (via image_urls). Size accepts exact pixel dimensions such as '1024x768', '1024x1024', or '768x1024'.

agnes_image_generate_v2A

Generate an image with Agnes Image 2.1 Flash optimized for high-information-density visuals.

Supports text-to-image and image-to-image (via image_urls). Size accepts tier values '1K', '2K', '3K', '4K' combined with ratio ('1:1', '3:4', '4:3', '16:9', '9:16', '2:3', '3:2', '21:9'). Legacy exact sizes like '1024x768' are also accepted.

agnes_image_editB

Edit or compose images through Agnes img2img using URLs or local files.

Uses agnes-image-2.1-flash by default. Pass image_paths as public URLs or local file paths. Multiple images enable multi-image composition.

agnes_video_submitB

Submit an Agnes video task and return its video id for status polling.

Supports text-to-video, image-to-video (via image URL), and keyframe animation (via extra_body with mode='keyframes'). num_frames is aligned to the 8n+1 rule automatically.

agnes_video_statusB

Fetch the current status for an Agnes video task by video_id.

agnes_video_waitB

Poll a video task by video_id until it completes, fails, or times out.

agnes_video_generateA

Submit an Agnes video task and wait for completion.

Combines submit + wait into a single call. Returns the final video URL and optionally downloads the video file locally.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/Ryderey/agnes-mcp-studio'

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