Skip to main content
Glama

list_decks

Read-onlyIdempotent

Discover deck files and return their slugs, paths, slide counts, languages, and aspect ratios, so you can pass the exact deck path to plan, diagnose, critique, or render actions.

Instructions

Entry point for discovering deck files: lists decks/*.json with slug, file path, slide count, language and aspect ratio. Read-only and idempotent. Call it first to get the exact deck path that plan_video_pack, deck_doctor, critique_deck and render_deck expect. Returns {decks: [...]} where each item has file, slug, lang, aspect and slides (or error for an unreadable file).

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_decks"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
decksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "decks": {
      +      "items": {
      +        "properties": {
      +          "aspect": {
      +            "type": "string"
      +          },
      +          "error": {
      +            "type": "string"
      +          },
      +          "file": {
      +            "type": "string"
      +          },
      +          "lang": {
      +            "type": "string"
      +          },
      +          "slides": {
      +            "type": "integer"
      +          },
      +          "slug": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "file"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "decks"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint false and openWorldHint false, so "Read-only and idempotent" adds no new information. The genuinely additive details are the failure mode ("or error for an unreadable file") and the shape of the result, though the existence of an output schema dilutes the latter.

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 tight sentences ordered as purpose, call-order, return shape, with the discovery role front-loaded. The only wasted clause is the read-only/idempotent restatement that duplicates annotations.

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 read tool with annotations and an output schema, nothing an agent needs is missing: it knows what is listed, when to call it, what comes back, and how failures surface.

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 there is no per-parameter meaning to convey; describing the field set of the returned entries is the relevant substitute and it is done unobtrusively.

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 decks/*.json") plus the exact fields returned (slug, file path, slide count, language, aspect ratio), and frames itself as the discovery entry point, which separates it cleanly from siblings like render_deck and critique_deck that consume its output.

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?

Explicitly says "Call it first" and names the four downstream tools (plan_video_pack, deck_doctor, critique_deck, render_deck) that expect the path it returns, so an agent knows both the ordering and the reason to pick this tool over jumping straight to a sibling.

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