Skip to main content
Glama

Read a scenario

cmo_read_scenario
Read-onlyIdempotent

Unpacks a .scen file to show its sides, missions, unit counts, and events, optionally with Lua action scripts, so you can review a scenario's existing setup before editing it.

Instructions

Unpack one .scen file and return its sides, missions, unit counts, and events. Lua action scripts are included when include_scripts is true. Use this to see what a scenario already does before editing it. Official and saved scenarios are read locally; nothing is uploaded.

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": {
      "path": "<path>"
    },
    "name": "cmo_read_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFull path to a .scen file
unit_limitNo
unit_offsetNo
include_scriptsNoInclude Lua action source. Leave false for a shorter outline.
response_formatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description reinforces that with 'read locally; nothing is uploaded.' It also discloses that Lua scripts are only included conditionally. However, it never mentions that unit data is windowed by unit_limit/unit_offset (default 40), so an agent can silently receive a truncated unit list — an important behavioral omission the annotations cannot cover.

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 sentences, front-loaded with the action and payload, then usage, then a privacy/safety note. Little waste; the closing 'nothing is uploaded' is mildly redundant with 'read locally' but earns its place as reassurance.

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

Completeness3/5

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

With no output schema, the description usefully enumerates the payload shape (sides, missions, unit counts, events), which covers the return-value gap. But for a 5-parameter tool with a default unit cap of 40, omitting any mention of pagination leaves the agent without enough information to interpret or fully retrieve results.

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

Parameters2/5

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

Schema coverage is only 40%, so the description needs to compensate, but it only restates include_scripts, which the schema already documents. The two pagination parameters (unit_limit with a default of 40 and a max of 100, unit_offset) and response_format are left entirely to the schema, so the truncation semantics that matter most for interpretation are unexplained.

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?

Specific verb ('Unpack') plus specific resource ('one .scen file') and an explicit enumeration of the returned content (sides, missions, unit counts, events). Combined with the .scen-file scope, an agent can distinguish this from cmo_read_project and cmo_list_scenarios without opening a schema.

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?

'Use this to see what a scenario already does before editing it' gives a clear situational trigger tied to the editing workflow. It stops short of naming alternatives (e.g. listing scenarios first to obtain a path) or stating when not to use it, so it is clear context rather than full routing guidance.

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