Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Use list_tools to find tools, then run_plan to run several calls in one go.

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
list_toolsA

Find tools on the connected servers.

    No query: every tool name with a one-line description. When there are many tools,
    only the names, grouped by server: then search with a query.
    With a query (words): the tools that match all words in name or description, or else
    the best partial matches, with full input and output schemas (at most 15).
    'plan_ok' says whether the tool may run inside run_plan and call.
    'output_schema_learned': the tool declares no output schema; this one was learned from
    its earlier results. Any field may be missing; field names come from tool results.
    
callA

Call one tool ('server.tool') and return its result as JSON data.

    Use it to see the real shape of a tool's output before you write a plan.
    The same timeout and result size limit as run_plan apply.
    
run_planA

Run a multi-step plan of tool calls in ONE call and get back only the final value. Use it when a job needs several calls, loops or conditions. Find tool names and their output shapes with list_tools first. Only read-only (or allow-listed) tools may run in a plan.

Plan = {"start": "", "steps": {"": , ...}, "input": , "limits": {"max_steps", "max_calls", "timeout_s"} (optional, can only lower)} Step ids: lowercase letters, digits, underscore. Each step result is stored under its id.

Step kinds (each step is exactly one): call {"call": "server.tool", "args": {...}} for_each {"for_each": "", "as": "item", "call": "server.tool", "args": {... "{{item.id}}" ...}, "parallel": 4, "max_items": 100} -> list of results, in the same order as the items Several steps per item: use "do": {"start": "", "steps": {...}} instead of call/args. The sub-plan sees outer results and the loop variable; its step ids are new and local; the item's result is its return (or last value). retry goes on its steps. Nest at most 2. Inside do, next/goto reach only its own steps; ids must not reuse an outer id or the loop variable. parallel and on_error apply per item; sub-steps count toward the limits. {"for_each": "s.ids", "as": "c", "do": {"start": "f", "steps": {"f": {"call": "mail.search", "args": {"q": "{{c}}"}, "next": "g"}, "g": {"call": "mail.get_thread", "args": {"id": "{{f[0].id}}"}}}}} paginate {"paginate": "server.tool", "args": {...}, "cursor_in": "", "cursor_out": "", "collect": "", "max_pages": 10} -> all collected items joined into one list return {"return": ""} ends the plan with this value Optional on call/for_each/paginate: "on_error": "stop" (default) | "skip" (skip: a failed call gives null, a failed for_each item gives {"error": ...}), "retry": 0-5 (default 0) tries a failed call again after 1 s, 2 s, 4 s ... (per item or page). Use retry for tools that fail for a short time; on_error applies when the retries are used up. Do not retry errors that will not change (bad arguments, not found), or tools that write.

Flow: "next": "" or "next": [{"if": "", "goto": "", "wait_s": 0}, ..., {"else": ""}] A branch may point back to an earlier step (a loop); global limits stop runaway plans. No next and no return: the plan ends with the last step's value.

Expressions are JMESPath over {"input": ..., "": result, "": item}. length(s1.items) == 0 s2[?total > 100].name s1.items[0].id Literals: numbers and booleans in backticks (0, true), strings in single quotes ('draft'). In args, "{{expr}}" is replaced by the value (a whole-string template keeps its type).

Example: {"start": "find", "steps": { "find": {"call": "mail.search", "args": {"q": "invoice"}, "next": [{"if": "length(find.messages) == 0", "goto": "none"}, {"else": "read"}]}, "read": {"for_each": "find.messages", "as": "m", "call": "mail.get_thread", "args": {"id": "{{m.thread_id}}"}, "parallel": 4, "retry": 2, "next": "out"}, "out": {"return": "read[].{subject: subject, from: from}"}, "none": {"return": "'no invoices'"}}}

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation4/5

The three tools map to a clean discover/invoke/orchestrate triad: list_tools finds tools, call runs one, run_plan runs many. The only soft boundary is that call and run_plan overlap for trivial single-step jobs, but the descriptions make the intended division clear (call is for inspecting real output shapes before planning).

Naming Consistency4/5

All names are snake_case and short verb-oriented forms (list_tools, call, run_plan). 'call' is a bare verb where the others are verb_noun, a minor deviation, but the convention is still predictable and readable.

Tool Count4/5

Three tools is minimal but well-matched to a meta-orchestration server: discovery, single invocation, and multi-step execution are the natural primitives. Nothing feels redundant, though the surface is on the thin side of the 3-15 range.

Completeness4/5

Coverage is strong for the domain: discovery with schema learning, single calls, and plans with loops, pagination, branching, retries, and error policy. Minor gaps exist, such as no explicit server listing, plan dry-run/validation, or async/cancel support for long plans.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues