Skip to main content
Glama

list_runbooks

List saved multi-step runbooks in the client workspace, including steps, variables, tags, and visible hosts, so you can review the user's defined operation before running it.

Instructions

Lists the runbooks in this client's workspace: multi-step operations the user wrote down in ShellVibe, each with its steps, the variables it asks for and the hosts it is usually run on. Prefer a runbook to improvising the same work with run_command: it is exactly what the user has already decided the operation is. A step is a command, a snippet (shown by title) or an approval gate (shown by its message). Variables list their type, whether they are required and, for a choice, the options; a "secret" variable cannot be passed by you: the user types it in the approval window. "defaultHostIds" are only hosts you may see. To run one, call run_runbook, which always asks the user.

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

Input Schema

NameRequiredDescriptionDefault
tagNoOnly runbooks carrying exactly this tag.
queryNoOnly runbooks whose title, description, tags or step text contain this, ignoring case.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does most of it: it discloses that secret variables cannot be passed by the agent (the user types them into the approval window), that defaultHostIds are limited to hosts the agent may see, and that run_runbook always prompts the user. It does not mention result-size limits or pagination on what could be a large listing, which is the main remaining gap.

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?

Front-loaded with the core list action, then detail on the returned shape. Every sentence carries information, though the step/variable/host breakdown runs long and could be tightened without losing meaning.

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?

No output schema exists, so the description must describe what comes back — and it does: steps as command/snippet/approval gate, variable types and requiredness, choices with options, and defaultHostIds visibility scoping. That is exactly the return-shape detail an agent needs to consume the results correctly.

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 100% — both tag and query are fully documented in the schema, including the case-insensitive match fields for query. The description adds nothing about either filter, so baseline 3 applies.

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 the runbooks in this client's workspace") and then defines what a runbook actually is — multi-step operations with steps, variables and hosts. That definition is what lets an agent separate this from list_snippets or run_command without opening any schema.

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 routes the agent: "Prefer a runbook to improvising the same work with run_command" and "To run one, call run_runbook, which always asks the user." Both the read path and the execution path are named with the condition that selects each.

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