Skip to main content
Glama

List scenario files

cmo_list_scenarios
Read-onlyIdempotent

Lists .scen scenario files in a folder or Command Scenarios directory by scanning XML wrappers for title, setting, and complexity without unpacking scenario bodies.

Instructions

List .scen files in a folder using the XML wrapper only (title, setting, complexity). This does not unpack the scenario body. Pass the Command Scenarios directory, or a folder of your own saves.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "directory": "<directory>"
    },
    "name": "cmo_list_scenarios"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
directoryYesFolder to scan recursively, up to 500 scenario files
response_formatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered; the description adds the meaningful behavioral detail that only the XML wrapper is parsed and the scenario body is left unread. It does not describe pagination behavior or result ordering beyond what the schema implies.

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?

Three short sentences, front-loaded with the core action and return fields, then the scoping caveat, then the directory guidance. The 'XML wrapper only' and 'does not unpack the scenario body' statements overlap slightly, but the reinforcement is defensible.

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

Completeness4/5

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

For a read-only listing tool with no output schema, the description states the returned fields (title, setting, complexity) and the non-destructive scope of the read. Pagination via limit/offset is only implied by the schema, which is a minor omission rather than a blocking gap.

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?

Schema description coverage is only 25%, and the description compensates partially by explaining what 'directory' should point at and noting the recursive scan. The limit, offset, and response_format parameters receive no added meaning in the description, so the gap is only partly closed.

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 opens with a specific verb and resource ('List .scen files in a folder') and immediately scopes what is read ('XML wrapper only (title, setting, complexity)'), which distinguishes it from cmo_read_scenario that unpacks the scenario body.

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

Usage Guidelines4/5

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

It tells the agent which directory to supply ('Command Scenarios directory, or a folder of your own saves') and clarifies that the scenario body is not unpacked, implicitly steering full reads elsewhere. It does not explicitly name the sibling to use for body contents, so guidance is strong but not fully explicit.

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