Skip to main content
Glama

Почати REPL-сесію NyxilumLang

nyxilum_repl_start

Start a persistent sandbox REPL session that keeps variables and functions visible across sequential evaluations for step-by-step exploration; returns a session_id for evaluation and cleanup.

Instructions

Піднімає довготривалу пісочницю-сесію (окремий процес nx REPL, NX_SANDBOX=1), де var/func лишаються видимими між послідовними викликами nyxilum_repl_eval - на відміну від nyxilum_run, де кожен виклик стартує з чистого стану. Корисно для покрокового дослідження ("спробуй, подивись результат, підправ") замість переписування всього скрипта щоразу. Поверне session_id для nyxilum_repl_eval/nyxilum_repl_stop. Максимум 5 сесій одночасно; неактивна 10 хв - завершується сама. ЗАВЖДИ заверши сесію через nyxilum_repl_stop, коли вона більше не потрібна.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nyxilum_repl_start"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and discloses a lot: a separate process, the NX_SANDBOX=1 isolation flag, state persistence semantics, a maximum of 5 concurrent sessions, a 10-minute idle auto-termination, and the returned session_id. The one real gap is failure behavior when the 5-session cap is already reached.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core distinction from nyxilum_run is front-loaded in the first sentence, followed by a use case, return value, limits, and cleanup rule. Every sentence adds distinct operational information with no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter session-starter with no annotations and no output schema, the definition covers everything an agent needs: what gets created, its isolation, how state behaves, how to reference it (session_id), resource limits, timeout, and mandatory teardown. No meaningful omission remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter meaning to add and the baseline of 4 applies. Nothing in the description misrepresents the empty input schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action and resource: it starts a long-lived sandbox session running a separate nx REPL process with NX_SANDBOX=1. It also explicitly distinguishes itself from the sibling nyxilum_run by noting that var/func persist across calls here, whereas nyxilum_run starts clean each time.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete when-to-use scenario (step-by-step exploration: try, inspect, adjust) instead of rewriting a whole script, and names the alternative (nyxilum_run) it replaces for that workflow. It also prescribes mandatory cleanup via nyxilum_repl_stop when the session is no longer needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.