Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PARISM_TIMEOUT_MSNoTime limit for a single run, in milliseconds (equivalent to the guard.timeout_ms configuration key).
PARISM_ALLOWED_PATHSNoScope for working directories and path arguments (equivalent to the guard.allowed_paths configuration key).
PARISM_ALLOWED_COMMANDSNoCommands that may be executed (equivalent to the guard.allowed_commands configuration key).

Instructions

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

Parism runs shell commands without a shell and returns parsed JSON.

  1. run({command: "ps aux | grep node | head -5"}) takes one command line. Quotes, globs, ~ and a leading "cd dir &&" work. Pipe stages grep, head, tail, wc, sort, uniq, cut run inside Parism: on parsed rows when possible, otherwise on text. Redirection, ;, &&, || and $(...) are refused with a suggestion.

  2. Test runners, compilers and linters (vitest, jest, tsc, eslint, cargo, go test, pytest) return every failure with file and line, plus attribution: whether the failing line was changed in the working tree.

  3. Large results return the first rows, a result_id and a _hint. Read the rest with query_result(result_id, where/select/sort_by/limit/aggregate) instead of running again.

  4. On refusal, result.failure has kind, reason, message and often hint.args or suggestion: rerun as suggested. describe(cmd) lists allowed subcommands and flags; describe({command}) checks a command without running it.

Results start with "[cwd] " and a blank line, then JSON. stdout.raw is left out when parsing succeeded; pass include_raw: true to get it. Long commands: mode "task"; servers: mode "service" with ready_pattern or ready_port, then run({task_id}) to read or cancel.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
runA

Run a command without a shell and get parsed JSON. Pass the whole line as command (pipes to grep/head/tail/wc/sort/uniq/cut work). Large results return a preview, result_id and _hint; continue with query_result. Commands pass an execution guard. mode starts tasks and services; task_id reads or stops them.

query_resultA

Read a kept result again WITHOUT re-running the command: filter, sort, limit, pick fields or aggregate the full rows; or explain a value (pointer), read the next page (cursor), or compare with another result (compare_with). An expired or unknown id is an error and is never re-executed.

describeA

Without arguments: allowed commands, parsers, guard, side effects, version. With cmd: that command's allowed subcommands, flags, parser formats, side effect and examples. With command (or cmd+args): check whether it would pass the guard without running it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 3 tools

Disambiguation5/5

The three tools have clearly distinct roles: run executes commands, query_result operates only on previously kept results without re-execution, and describe provides metadata or guard checks. Although query_result is related to run's output, the split between execution and post-processing is explicit and unlikely to be confused.

Naming Consistency4/5

All names are lowercase snake_case, which is consistent. However, the pattern is not a strict verb_noun convention: run and describe are bare verbs while query_result is verb_noun, a minor stylistic deviation.

Tool Count5/5

Three tools are well-scoped for a command-execution server: one to execute, one to query saved results, and one to describe capabilities or test the guard. Each tool has a clear purpose and no tool feels redundant or missing at this surface level.

Completeness4/5

The surface covers the core lifecycle: execute commands, inspect/filter/compare kept results, and discover allowed commands or test guard behavior. Minor gaps remain, such as no explicit tool to list all active tasks or all retained result IDs, though run's task_id and describe partially mitigate this.

Maintenance

ActivityActive
ResponsivenessNo recent community issues