Skip to main content
Glama

List User Scripts

user_script_list
Read-onlyIdempotent

Lists scripts managed by the Unraid User Scripts plugin over SSH, returning names only so you can choose one to run or inspect its source before execution.

Instructions

Read-only. Lists the scripts managed by the User Scripts plugin (from /boot/config/plugins/user.scripts/scripts) over SSH. Returns names only: pass one to user_script_run, or review its source first by reading <name>/script in that directory with file_read. Reports clearly when the plugin is not installed (the same error is returned when it has no scripts).

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": "user_script_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.3
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
  2. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, but the description adds substantial behavior beyond them: transport (over SSH), the source directory, that only names are returned, and a genuine quirk — the plugin-not-installed error is indistinguishable from the empty-scripts case. That last disclosure prevents an agent from misinterpreting a failure as a transient fault.

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

Conciseness4/5

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

Front-loaded and dense, with every sentence delivering scope, follow-up routing, or error semantics. The leading 'Read-only.' slightly duplicates the annotations, and cramming location, return shape, and error behavior into one paragraph makes it a touch dense.

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?

There is no output schema, but the description states the return shape (names only), the error cases, and the follow-up actions, so an agent can call it and act on the result without further information.

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

Parameters3/5

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

The single parameter (response_format, enum concise/detailed) is fully documented in the schema at 100% coverage, so the schema carries that burden. The description adds nothing about the parameter, which is acceptable but earns only the baseline.

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 verb and resource (lists the scripts managed by the User Scripts plugin), gives the exact on-disk location over SSH, and bounds the output ('Returns names only'). This clearly separates it from user_script_run (executes) and file_read (reads source).

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 explicit next-step routing: 'pass one to user_script_run, or review its source first by reading `<name>/script` ... with file_read.' Both alternatives are named together with the condition that selects them, so the agent knows exactly what to do after listing.

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