Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RUNAPI_API_KEYYesYour RunAPI API key. Get one at https://runapi.ai.

Instructions

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

RunAPI MCP server for the imagen-4 model line.

Each tool creates a RunAPI media task and optionally polls until completion. Behavior:

  1. Use the user's language and be concise.

  2. Confirm before expensive, long-running, or batch requests.

  3. Present results as task ID, status, output URLs, and cost fields when available.

  4. Do not describe generated media as if you inspected it.

  5. On an API key error, call the login tool for interactive browser auth; headless hosts can use RUNAPI_API_KEY or ~/.config/runapi/config.json.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
loginA

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

remix_imageC

Create a Imagen 4 task on RunAPI (remix image). Returns a task id, status, and output URLs.

text_to_imageC

Create a Imagen 4 task on RunAPI (text to image). Returns a task id, status, and output URLs.

get_taskB

Fetch the current status and latest result payload for a imagen-4 task.

check_pricingC

Look up RunAPI pricing for the imagen-4 model line.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 5 tools

Disambiguation4/5

The two creation tools (text_to_image and remix_image) are the only pair with overlapping shape, but their descriptions clearly distinguish text-prompt generation from image remixing. login, check_pricing, and get_task each occupy a clearly separate role. Minor risk that an agent won't know whether get_task also covers listing tasks, but overall boundaries are clear.

Naming Consistency4/5

Four of five tools follow a clean snake_case verb_noun pattern (check_pricing, get_task, remix_image, text_to_image). 'login' is a bare verb without a noun, a small deviation that doesn't hurt readability.

Tool Count4/5

Five tools is a sensible minimal surface for an image-generation API: auth, pricing, task creation (two modes), and task retrieval. It is on the thin side but each tool clearly earns its place with no filler.

Completeness3/5

Core lifecycle is partially covered (create task, poll task, auth, pricing), but there is no way to list tasks, cancel/delete a task, or discover available models/parameters, so agents must guess task IDs and options. These are notable gaps rather than fatal ones.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues