Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

List scripts

list_scripts
Read-onlyIdempotent

Lists the names of saved Python scripts so you can find one to read, run, or delete.

Instructions

List the names of the saved Python scripts. Use when: looking for a script to read, run or delete. Instead: read_script for a source; get_script_api for the API. Requires: --mcp-allow-scripts (stdio only); not in paranoid mode. Behavior: read-only; the server's script folder, not the MCP root. Time limit: 15 s. Returns: {scripts: [name, ...]}, sorted, without '.py'.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
scriptsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations, which already declare readOnly/idempotent/non-destructive: it discloses the enabling flag (--mcp-allow-scripts, stdio only), that it is unavailable in paranoid mode, that it reads the server's script folder rather than the MCP root, and a 15 s time limit. This is exactly the operational context annotations cannot carry.

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?

Labeled lines (Use when / Instead / Requires / Behavior / Returns) make it scannable and front-loaded. Every line carries distinct information; nothing is padding, though the 'Returns' line partially duplicates the existing output schema.

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 tool, the definition covers gating prerequisites, scope of the search root, timeout, and ordering of results. Combined with the available output schema, an agent has everything needed to decide to call it and interpret the result.

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?

Zero parameters, so the baseline is 4 and there is no parameter semantics to add. The description usefully clarifies the return shape (names sorted, '.py' stripped), which is adjacent but not a parameter concern.

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: 'List the names of the saved Python scripts,' which is precise about what is returned (names, not sources). It is clearly distinguishable from siblings like read_script and get_script_api, which the description explicitly separates out.

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?

Explicit 'Use when: looking for a script to read, run or delete' plus an 'Instead:' line naming both alternatives (read_script for source, get_script_api for API). Both the positive trigger and the routing away from siblings are stated, leaving nothing to inference.

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