Skip to main content
Glama

list_experiments

Retrieves BehaviorSpace experiments from a NetLogo model file, returning their names, repetitions, metrics, and variables without launching a JVM.

Instructions

List BehaviorSpace experiments saved inside a NetLogo model file.

Reads the <experiments> section of a .nlogox (or .nlogo) without starting a JVM, so it's instant. By default it inspects the model the AI most recently loaded; pass model_path to inspect a specific file.

Returns JSON: {"model_path": ..., "experiments": [<spec>...]} where each spec includes name, repetitions, time_limit, setup_commands, go_commands, metrics, variables (with expanded_size per variable), and total_runs. An empty list means the file has no saved experiments — you can still pass an inline spec to run_experiment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description bears full burden. It discloses that reading is instant (no JVM start), that it reads without side effects, and describes the precise return format. It could be improved by explicitly stating that the tool is read-only, but the description sufficiently conveys the behavioral traits.

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 description is concise and front-loaded with the core purpose. Every sentence adds value: purpose, mechanism, default behavior, parameter usage, and output format. No superfluous text.

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?

Given the tool's simplicity (1 optional parameter, no annotations, but detailed output), the description covers input, default behavior, output format, and edge case (empty list). It also mentions relationship to `run_experiment`, making it contextually complete.

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?

Schema has 0% description coverage, but the description compensates by explaining that `model_path` is optional and defaults to the most recently loaded model. It gives context on when to use the parameter (to inspect a specific file), adding significant meaning beyond the schema alone.

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?

The description clearly states the tool lists BehaviorSpace experiments saved inside a NetLogo model file, specifying it reads the `<experiments>` section. It distinguishes from siblings like `run_experiment` by noting it returns the list of saved experiments and mentions that an empty list means no saved experiments, but inline specs can still be passed to `run_experiment`.

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

Usage Guidelines3/5

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

The description explains default behavior (inspects most recently loaded model) and how to use the `model_path` parameter to inspect a specific file. It implies usage before `run_experiment` but does not explicitly compare to `preview_experiment` or other siblings, nor does it state when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Razee4315/NetLogo-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server