Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CODE_MODE_HOMENoBase dir for config and workflows.~/.config/maxx
CODE_MODE_CONFIGNoServer list (path to the servers.json config file).~/.config/maxx/servers.json
CODE_MODE_SANDBOXNoSandbox mode: `local` or `docker`.local
CODE_MODE_WORKFLOWSNoSaved scripts directory.$CODE_MODE_HOME/workflows
CODE_MODE_DOCKER_IMAGENoImage for docker mode.python:3.12-slim

Instructions

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

maxx = code mode. When the user says "maxx it", "use maxx" or "code mode", or a task needs 3 or more tool calls (loops over emails, files, rows, events, ...), use the maxx tool instead of calling tools one at a time.

  1. maxx_tools("gmail calendar") returns typed Python stubs for the tools you need. maxx_tools() with no query lists every server and tool name.

  2. maxx(code) runs ONE Python script. Tools are plain functions named __ with keyword args only. Do loops, filtering, joins and math in the script, not in your context. parallel([(fn, {kwargs}), ...]) runs independent calls concurrently. Only print()ed output comes back, so print compact results, not raw dumps.

  3. If the script errors, read the traceback and the [failed tool call(s)] list, fix the script and rerun. [auth] means the user must sign in again: show them the link or message. Tool results are usually text or JSON; print a small sample first if you don't know the shape.

  4. maxx(code, save_as="name") stores a script that worked; maxx_rerun("name") reruns it later without rewriting it.

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
maxx_toolsA

Find tools to call from a maxx script and return their typed Python stubs. Call this before maxx when you don't know the exact function names.

query: words to match against tool names and descriptions, e.g. "gmail search" or "calendar event". Empty query lists every connected server and tool name.

maxxA

Maxx it: run ONE Python script that calls many tools, and return only what it prints.

Use this when the user says "maxx it" / "use maxx" / "code mode", or whenever a task needs 3+ tool calls. It is several times faster and cheaper than calling tools one by one, because the work happens in the script, not in round trips.

Every tool is a function named __ taking keyword arguments (see maxx_tools). Also available: parallel([(fn, {kwargs}), ...]) for concurrent calls, and ToolError. Standard library imports work. The script runs in a sandbox with no credentials; only tool calls reach your accounts. Print only the final, compact result.

save_as: optional name to save this script as a reusable workflow.

maxx_rerunA

Rerun a script saved with maxx(save_as=...). Empty name lists saved workflows.

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

Each tool has a distinct role: maxx_tools is discovery/stub lookup, maxx executes an ad-hoc script, maxx_rerun replays a saved one. The only mild overlap is maxx (with save_as) versus maxx_rerun, since both deal with saved workflows, but the descriptions make the boundary clear enough.

Naming Consistency4/5

All three names share the 'maxx' namespace prefix with predictable suffixes (_tools, bare, _rerun), which is readable and cohesive. The bare 'maxx' as the primary execution verb is slightly less descriptive than a verb_noun form, a minor deviation.

Tool Count5/5

Three tools is exactly right for a script-execution meta-server: discovery, run, and replay. Nothing appears padded or missing at the surface level.

Completeness4/5

The lifecycle of discover-tools -> write/run script -> save -> rerun is covered, and empty-name listing handles workflow enumeration. Minor gaps exist around inspecting or deleting a saved workflow without rerunning it, but agents can work around this.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues