Skip to main content
Glama

list_examples

Read-onlyIdempotent

Lists example cs_script_demo scripts for cs2 or deadlock and shows which Source 2 APIs each sample uses, helping you find reference code quickly.

Instructions

List example scripts (Valve's cs_script_demo samples) with the API each one uses.

Input Schema

NameRequiredDescriptionDefault
gameNoGame id: one of cs2, deadlockcs2

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world scope, so the safety profile is covered. The description adds only that the samples are Valve-authored demo scripts; it says nothing about result volume, ordering, or how the 'API used' field is presented beyond the output schema.

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?

One front-loaded sentence with no filler; the scope qualifier follows the core statement rather than burying it.

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?

An output schema exists, so return values need no prose, and the lone parameter is fully documented in the schema. The only real gap is the unstated relationship to get_example, which an agent would have to infer.

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 coverage is 100% and the single 'game' parameter already documents its allowed values (cs2, deadlock) and default. The description adds no meaning about the filter, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb plus resource ('List example scripts') with the source scope named ('Valve's cs_script_demo samples') and what's returned per item ('the API each one uses'). It does not distinguish itself from the sibling get_example, so an agent can't tell from this text alone why to list rather than fetch one.

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 listing purpose implies a discovery-then-fetch workflow, but the description never says to call get_example afterwards or when this tool is preferable to it. No exclusions, prerequisites, or coverage statement (whether the list is complete or paginated).

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