Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COUNCIL_ALLOWNoCIDRs, bare addresses, or names (private, loopback, any) allowed to reach the HTTP server. Required for non-loopback HTTP binding.
COUNCIL_PROXYNoDefault proxy route for all members. Omit to follow HTTP_PROXY/HTTPS_PROXY; use 'direct' for no proxy, a URL for a specific proxy, or 'env' to force the environment proxy.
COUNCIL_CONFIGNoPath to a JSON config file. If set, it is the most explicit configuration source and overrides the roster and default config file.
COUNCIL_MODELSNoComma-separated list of model member IDs. Each ID gets its own variables named after it, e.g. GPT5_BASE_URL. Defaults to 'chatgpt,glm' if omitted.chatgpt,glm
COUNCIL_RETRIESNoDefault number of retries for transient failures. Default 2.2
COUNCIL_TIMEOUTNoDefault per-attempt timeout in seconds. Default 180.180
COUNCIL_ENV_FILENoPath to an environment file to load.
COUNCIL_HTTP_HOSTNoHost and port for the HTTP server, e.g. 0.0.0.0:8000.
COUNCIL_TRUST_PROXYNoReverse proxies whose X-Forwarded-For header may be believed.
COUNCIL_ALLOW_ORIGINNoPermitted browser Origin for HTTP requests. Can be repeated.
COUNCIL_RETRY_BACKOFFNoDefault retry backoff in seconds, doubling after each attempt. Default 1.1
COUNCIL_MATERIALS_ROOTNoThe one directory that 'materials' paths may name over HTTP. Without it, HTTP deployments refuse file paths.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
askA

Ask ONE member of the council a question and return its answer.

model is the member's short id; the schema lists the ones this council has, and list_council describes them.

The member is stateless and cannot see this conversation, so prompt must carry everything it needs — including any other model's answer you want it to critique. Optionally set system to steer its role or output format.

materials hands the council the thing the question is about — a spec, a log, a diff, a screenshot — instead of you pasting it into prompt. Give {path, label} for a file, or {text, label} for something with no file behind it. Prefer a path: the members are then handed the file's exact bytes rather than your reproduction of them, you do not spend a copy of the whole document writing this call, and every member and every round get an identical copy, which is both what makes their answers comparable and what an endpoint's cache can match. Images go this way too, and are the case that matters most: describe a screenshot in prose and every member inherits the same description, so anything you misread is misread by the whole council at once.

ask_allA

Ask several members the SAME prompt in parallel, returning their answers side by side and labeled by model.

By default every configured member answers. Pass models to ask only some of them; the schema lists the valid ids.

rounds (1-3, default 1) runs a real discussion. With rounds=2 the members first answer independently, then each is asked again — this time carrying the question plus every answer from round 1, its own and the others', verbatim — and asked to revise. Members are stateless, so carrying the previous round back to them is the whole mechanism: without it a second round is just the same question asked twice. The transcript returns round by round, so you can see who moved and who held their ground.

One round is a survey of opinion. Two is worth the extra latency and tokens when the answers are likely to disagree and the disagreement is the interesting part.

rounds is chosen before anything has been asked, which is the one thing wrong with it: you commit to a second round without having read the first, and a council that turns out to agree costs exactly what one still arguing would. When you would rather look first, ask with rounds=1 and then call revise with the answers — it runs one more round on demand, as many times as you judge it worth, and it has no ceiling. Reading before you buy is usually the cheaper of the two: one more round is another full call per member, while revise costs you only the answers written back into it.

guests seats answers you already have. If you spawned a subagent on this same question, or formed your own view first, pass it here as {label, text} and it joins the table: it appears in round 1 beside the members, and from round 2 the members are shown it verbatim and argue with it. This is the difference between an answer that is in the discussion and one that is merely next to it — without it, the models never learn your subagent had an opinion. Pass the text verbatim, not a summary; a summary is not what you want critiqued.

A guest speaks once and does not revise, so it appears in round 1 only. The transcript says so, and says it is not a retraction. From round 2 the members are told to answer its strongest point rather than pass over it: a seat that cannot restate itself is the one a discussion drops by default, and dropping it reads in the transcript exactly like answering it.

steelman seats a standing objection. A council mostly agrees, and its agreement is the least informative thing it produces — the strongest case against a plan is not volunteered by members who think the plan is fine. Pass {} and one member writes that case each round, against whatever the table has converged on, and it goes back to everyone as an ordinary anonymous answer:

ask_all(prompt, rounds=3, steelman={})

Note what is and is not assigned. No member is told to argue a side it does not hold, so what the members say is still what they think; the assignment lives in one extra call they are not told about, and they answer it as they answer any other seat. It speaks every round rather than once, because an objection that cannot reply to its own rebuttal is quoted rather than represented, and by the third round the table is arguing with its paraphrase of it. tenure buys fewer rounds than that, and when the seat is retired early the transcript says it was retired by configuration rather than answered — an unexplained silence reads as a position abandoned. You are told what the seat was and who wrote it; the members are not, because a model that knows an argument was commissioned discounts it instead of answering it. Read what it says as the strongest objection this council can produce to order, never as evidence that anyone holds it.

Members may carry different weights — how much this council trusts each one. When they do, every answer is labeled with its weight and the transcript ends with the ranking and how to read it. The members are never told each other's weights; a model told it is outranked stops arguing, and its dissent is what you came for.

materials hands the council the thing the question is about — a spec, a log, a diff, a screenshot — instead of you pasting it into prompt. Give {path, label} for a file, or {text, label} for something with no file behind it. Prefer a path: the members are then handed the file's exact bytes rather than your reproduction of them, you do not spend a copy of the whole document writing this call, and every member and every round get an identical copy, which is both what makes their answers comparable and what an endpoint's cache can match. Images go this way too, and are the case that matters most: describe a screenshot in prose and every member inherits the same description, so anything you misread is misread by the whole council at once. It is carried into every round for you, so a discussion about one document costs you the path once.

reviseA

Run ONE more round of an existing discussion: show every member what was said last round and ask it to revise.

This is ask_all's rounds turned inside out, so that you can drive them. Two reasons to want that.

You would rather decide after reading. ask_all(rounds=2) commits to the second round before the first one exists. Ask with rounds=1, read what comes back, and call this only if the disagreement is worth another call per member — or call it three more times if they are still moving. There is no round ceiling here, unlike ask_all, because every round is one you chose to pay for.

A voice in the discussion is one only you can produce — a subagent you spawned, or your own answer — and you want it to be a full member rather than a one-off: something that answers, reads the others, and revises alongside them.

The loop, in the second case:

  1. ask_all(prompt) — the members answer round 1 ...and you produce your subagent's round-1 answer yourself

  2. revise(prompt, answers=[...]) — pass EVERY round-1 answer, the members' and your subagent's; the members come back revised ...and you re-run your subagent on the same material

  3. repeat as long as it is still moving

Each entry in answers is {text, model} for a member's own answer, or {text, label} for an outside one. Naming the member matters: that is what lets it see its previous answer as its own and revise, instead of answering fresh.

round is which round the answers you are passing came from, so the members are told where they are. Pass answers verbatim, never summarised.

Pass the same materials you passed to ask_all, every round. The members are stateless: a document they were shown last round does not exist for them in this one, and a council revising from memory it does not have will revise from the other answers alone.

revision_promptA

Build the exact prompt a seat should be given for the next round — for the one seat this server cannot ask itself: yours.

revise asks the members. Your subagent is yours to re-run, and how you prompt it decides whether it revises at all: handed the original question again, it will reproduce its previous answer, and nothing in the transcript will show that the seat stopped participating. Handed this, it revises on exactly the terms the members did — same framing, same instruction to hold a position it still believes against the majority, which is the sentence that keeps a council from collapsing into agreement.

Pass the same prompt, answers, round and materials you are passing to revise, plus seat: the label (or member id) of the seat to write for. Cheap and local — makes no network calls, so run it alongside revise rather than after it.

Material is named in the prompt rather than pasted into it, at the position the members were given it. Open those files for your seat before you hand it the rest: a seat that revises without the document is arguing about something it has not read, and the transcript will not show it.

list_councilA

List the council's members: their ids, labels, target models, weights, wire format, endpoint, call budget, and whether each one is ready to answer.

weight is how much this council trusts each member, relative to the others; everyone is 1 unless the roster says otherwise, and ask_all reports it alongside the answers whenever they differ.

tries is how many attempts a call gets and how long each may take, so a member that is slow or that keeps being retried is visible here.

sees is whether this member may be shown an image in materials. The line above the table says whether this server will read materials paths at all, which depends on how its operator runs it.

route is how this member reaches its endpoint — env follows the proxy in the server's environment, direct ignores it, and a URL is a proxy set for that member alone. It appears only when the members can differ; passwords in a proxy URL are masked.

A member may have backups: further endpoints for the same seat, indented under it as ↳ backup 1, ↳ backup 2 and tried in that order when the one above does not answer. They are the same member — same id, same label, one vote — so you never address a backup directly; the seat's id reaches whichever of them is up. Read their model column: a backup is often the same model under a different id, and sometimes not the same model at all, and ask_all names the one that actually answered above each answer.

Cheap and local — makes no network calls. Use this to find out which ids you may pass to ask and ask_all, or to explain a configuration problem.

probe_modelsA

Ask a member's endpoint which model ids it actually exposes, by calling its /models route.

Pass model to probe one member, or omit it to probe every configured member.

Use this when a call fails with an unknown-model error, or to discover what else a provider offers — model ids move fast.

Not every endpoint has that route. A seat that refuses the listing is not thereby a seat that cannot answer — this establishes only the first, and the output says so rather than leaving you to read the second into it.

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/Totti0135/model-council'

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