Skip to main content
Glama

list_slash_commands

Read-onlyIdempotent

Lists a workspace's non-revoked slash commands with handler details and enabled status, helping you inspect registered commands before adding or revoking them.

Instructions

List the workspace's registered slash commands that have not been revoked, ordered by name. Each has id, name, description, handler_kind (http, mcp_tool or wasi), handler_target and enabled; signing secrets are never returned. Add one with register_slash_command and remove one with revoke_slash_command. Requires workspace:read.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "list_slash_commands"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesUUID of the workspace whose slash commands to list. It must be the caller's own workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv479.0.2
    • addedInput schema / properties / workspace_id / description
      Added value: +"UUID of the workspace whose slash commands to list. It must be the caller's own workspace."
  2. First observedv479.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which already declare readOnly/idempotent/non-destructive), the description discloses the revocation filter, the ordering guarantee, the auth scope required, and the security-relevant fact that signing secrets are never returned. That is meaningful behavioral context an agent could not infer from structured fields.

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?

Three tight sentences: behavior and scope first, return fields second, alternatives and permissions last. Nothing is padded, and the parenthetical enumeration of handler_kind values is compactly useful.

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 single-parameter read-only list tool with no output schema, the description supplies everything needed: scope filter, ordering, returned field names, secret-redaction behavior, and the permission prerequisite. No material gap remains for correct invocation.

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?

Only one parameter, and the schema already documents it at 100% coverage, including the constraint that it must be the caller's own workspace. The description adds no syntax or format detail beyond that, so it earns the baseline rather than more.

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 ('List the workspace's registered slash commands') plus the exact scope: not revoked, ordered by name. It is immediately distinguishable from register_slash_command and revoke_slash_command, which it names explicitly.

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 to the sibling tools for the adjacent operations ('Add one with register_slash_command and remove one with revoke_slash_command') and states the prerequisite ('Requires workspace:read'), so the when-to-use and when-to-use-something-else conditions are both covered.

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

Deploy Server

Other Tools