Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIMODELS_API_KEYYesYour API key (sk_...)
APIMODELS_BASE_URLNoAPI base URLhttps://api.apimodels.app/v1
APIMODELS_TIMEOUT_MSNoMax time to poll an async task300000

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsA

List the model ids available on apimodels.app (chat, image, video, audio). Use the returned ids with the other tools. Caveat: a handful of entries are internal names that the generation endpoints reject (e.g. seedance-2-fast, seedance-2, motion-control) — the public alias is the dotted form, e.g. seedance-2.0-fast. If an id comes back "Invalid model", try the dotted variant before giving up.

chatA

Chat / text completion with any LLM on apimodels.app (GPT-5.5, Claude, Gemini, GLM, DeepSeek, Qwen, …). Returns the assistant reply text.

generate_imageA

Generate an image from a text prompt (or edit an input image). Returns the URL(s) of the generated image, valid 7 days, plus a downscaled preview of the image itself when the client can show tool-result images to you. If you cannot see the image in the result, call review_image with the returned URL to get a written critique and a revised prompt, then generate again. Roughly $0.025 per image on the default model; gpt-image-2-lite is $0.008.

review_imageA

Have a vision model look at an image and critique it against a brief. Returns what matches, what is wrong (garbled text, composition, colors, artifacts) and a revised prompt. Use it after generate_image to check the result and decide whether to regenerate — this works in every MCP client, including ones that do not pass tool-result images to you. Costs one small vision chat call (well under $0.01 on the default model).

generate_videoA

Generate a video from a text prompt (and optional reference image). Polls until done and returns the video URL(s), valid 7 days. May take a few minutes. Video is the most expensive modality here — the default model costs roughly $0.30-$0.50 per clip; pass model:"veo-3.1-fast-fhd" for the cheapest option at $0.07 flat.

text_to_speechA

Convert text to speech (MiniMax voices). Returns the audio file URL (valid 7 days). Costs about $0.004 for a short line; billed at $0.04 per 1000 characters.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation5/5

Each tool maps to a clearly distinct modality or action: model listing, text chat, image generation, image critique, video generation, and speech synthesis. There is no meaningful overlap between tool purposes, so an agent should be able to select correctly.

Naming Consistency4/5

Most tools follow a snake_case verb_noun pattern (list_models, generate_image, review_image, generate_video). text_to_speech is a descriptive noun phrase and chat is a single verb, which are minor deviations from the dominant pattern.

Tool Count5/5

Six tools is a well-scoped set for a multimodal model gateway covering chat, image, video, and audio. Each tool is independently useful and there are no redundant additions.

Completeness4/5

The tool surface covers the main generation workflows for all four advertised modalities and includes a helpful image-review loop. Minor gaps exist, such as no video review or audio transcription, but agents can complete core tasks without dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues