Skip to main content
Glama

list_commands

List named keyboard shortcuts with their source and whether each can discard work, so you can check a shortcut's origin and risk before using it.

Instructions

Named keyboard commands, with where each shortcut comes from and whether it can discard work.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden, but it is a zero-parameter enumeration so the risk surface is small. It contributes real value by disclosing that each entry includes provenance for the shortcut and a flag for work-discarding commands, yet it never states that the call is read-only, whether results are static, or how the list is ordered.

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?

A single tight sentence with zero filler, front-loading the resource and then the per-entry metadata. The fragmentary construction (no verb) is the only structural weakness.

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 trivial, annotation-free, parameterless list tool with no output schema, the description adequately conveys what comes back per item (name, shortcut source, destructive flag). It could go one step further and say the returned names are the identifiers used by command-execution tools, but nothing critical is missing.

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?

The tool takes no parameters, so there is no parameter semantics to explain; baseline 4 applies. Schema coverage is 100% and there is nothing ambiguous left to document.

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?

The description names the resource precisely (named keyboard commands) and states two entry-level attributes (shortcut origin, whether the command can discard work), which clearly separates it from siblings like list_menus or list_catalog. It stops short of a leading verb such as 'List', so the action is implied by the tool name rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of a follow-up tool (e.g. passing a discovered command name to an execution tool), and no exclusions against the other list_* siblings. An agent must infer from the name alone that this is a discovery/enumeration call.

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