Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DECISIONS_MODELNoThe model to use. Default is `gpt-6-luna` (openai) or `typesafe/jev-1.14` (jev, OpenRouter naming). Set `jev-latest` for TypeSafe's native API.
DECISIONS_API_KEYYesAPI key, sent as `Authorization: Bearer <key>`.
DECISIONS_BASE_URLYesThe base URL of the decision model API. No default. Examples: `https://api.openai.com/v1`, `https://api.typesafe.ai/v1/systemone`, `https://openrouter.ai/api`. Data only goes to the base URL you configure.
DECISIONS_PROVIDERYesThe decision model provider. Valid values are `openai` or `jev`.
DECISIONS_TIMEOUT_SECONDSNoRequest timeout in seconds. Default `30`.30

Instructions

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

Use decide for quick, cheap judgments that need no written output: choosing the next step from a known set of options (e.g. a workflow's possible transitions), estimating whether a claim is true given evidence, or rating something on an ordered scale. Batch every question about the same evidence into one call.

Do not use it when the answer needs explanation, generated content, multi-step reasoning, or information not present in the evidence. Put all facts the decision depends on into evidence; the decision model sees nothing else.

Treat answers as probabilities. If they are uncertain (the top choice's or top level's probability below 0.6, or a predicate between 0.35 and 0.65), fall back to your own judgment or ask the user.

Data sent goes to the configured decision provider; don't include secrets.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
decideA

Answer typed questions about some evidence with a fast decision model. Returns probabilities, not text. Batch all questions about the same evidence into one call.

Question types:

  • predicate: yes/no. Returns probability that the condition holds. e.g. {"name": "ready_to_merge", "type": "predicate", "instructions": "Do the facts show that all required checks passed?"}

  • choice: pick one option. Returns choice, probabilities per option and confidence. e.g. {"name": "next_state", "type": "choice", "instructions": "Which state should the workflow move to next?", "choices": [{"value": "review", "description": "A human must look at it."}, {"value": "approve"}, {"value": "reject"}, {"value": "other", "description": "None of the above fits."}]}

  • score: place it on an ordered scale. Returns label (most likely level), score (probability-weighted 0-based level index), probabilities per level and confidence. e.g. {"name": "urgency", "type": "score", "instructions": "How urgent is this issue?", "levels": [{"label": "low"}, {"label": "medium"}, {"label": "high"}]}

Writing good questions:

  • instructions is one specific question or condition.

  • Choices are mutually exclusive and cover every case; add an "other" or "none" choice when the set may be incomplete. Give each a one-line description when the value alone is ambiguous.

  • Levels are ordered from low to high (2-10 of them).

  • name is unique per call (letters, digits, _ or -); answers are keyed by it.

evidence is plain text or a JSON object with everything the decision depends on.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of misselection against a sibling tool. The three internal question types (predicate, choice, score) are clearly discriminated within the description, and the tool handles them through one uniformly shaped batch call.

Naming Consistency5/5

A single lowercase verb name `decide` matches the server's purpose (decisions-mcp) and reads as a clean action verb. The `name` field convention for individual questions (letters, digits, `_`, `-`) is also documented explicitly.

Tool Count4/5

The domain is a single stateless inference endpoint, so one tool is the honest surface rather than a thin wrapper hiding missing operations, and batching mitigates the one-call limit. It is slightly under-gunned only in that there is no introspection or capability/model-listing call.

Completeness4/5

The surface covers the stated purpose well: three question types plus batching cover most decision queries over evidence. Gaps are minor — no way to request rationales/explanations, no model or version metadata, and no calibration feedback loop.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues