Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HUBRIS_API_KEYYesBearer API key for Hubris (create one at https://hubris.pw/keys). Required to authenticate with the Hubris gateway.
HUBRIS_MCP_URLNoOptional override for the Hubris MCP endpoint. Defaults to https://api.hubris.pw/mcphttps://api.hubris.pw/mcp

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
models_listA

Walk the whole Hubris catalogue page by page, ordered by model id. Returns every active model with its capabilities, context window and ruble price.

Use this when you need the complete catalogue — to cache it, to count models, or to scan for something no filter covers. When you are looking for a model that fits a task, use models_search instead: it filters by capability, price and context server-side and saves you a few hundred rows.

Paging: read nextCursor from the response and pass it back as cursor. When nextCursor is absent you have reached the end. The catalogue holds roughly 550 models, so a full walk is about 11 calls at the default page size.

models_searchA

Find models that fit a task. Filters by name, capability, price ceiling and context window, and can sort the result. This is the tool to reach for when choosing a model — it does the filtering server-side and returns at most 50 rows.

All filters combine with AND, and every one of them is optional: calling with no arguments returns the first 50 active models.

Two things worth knowing about prices. maxInputPer1MRub keeps only models billed per token, because a ruble-per-million ceiling is meaningless for a model billed per image. The cheap_input and cheap_output sorts push non-token models to the end of the list for the same reason — their token rate reads as zero, which would otherwise put video models at the top of "cheapest".

models_get_pricingA

The full price of one model in rubles — the authoritative answer to "what does this cost".

Prefer this over the pricing embedded in models_list and models_search whenever the model is not billed per token. Those two return "0.00" token rates for such models; only this tool returns perUnit, where the real price per image, per second or per thousand characters lives.

Errors with InvalidParams if the model id is unknown or the model is no longer active.

balance_getA

Current balance of the Hubris account the API key belongs to, in rubles.

Worth checking before a long or expensive run: requests are refused once the balance is spent. The balance can go slightly negative — one operation is allowed to overdraw it, and the next one is refused.

Two representations of the same number come back. Use balanceKopecks for arithmetic and comparisons — it is an exact integer string. Use balanceRub for display.

chat_completeA

Run a chat completion on any model in the Hubris catalogue and get the answer back. Full parity with POST /v1/chat/completions — same request shape, same response shape, including tool calls, structured output and reasoning. Streaming is not available here: MCP tool calls are synchronous, and stream is ignored if you pass it.

This is how you reach a model you cannot reach otherwise — pick an id with models_search, then call it here. Useful for delegating a subtask to a cheaper or a stronger model than the one you are running on.

The call spends real money from the account balance: it is billed per token at the catalogue price, in rubles. balance_get shows what is left.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources