Skip to main content
Glama

revoke_slash_command

DestructiveIdempotent

Disable a slash command so it no longer runs while preserving its record; its name can then be registered again. Find the command ID with list_slash_commands.

Instructions

Revoke a slash command so it no longer runs: the command is disabled and stamped with revoked_at, its row is kept, and its name can be registered again. Returns the revoked command. An unknown or already revoked command is NotFound. Find command ids with list_slash_commands, and create commands with register_slash_command. Requires workspace:write.

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>",
      "command_id": "<command_id>"
    },
    "name": "revoke_slash_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
command_idYesUUID of the slash command to revoke, from list_slash_commands or the register_slash_command result.
workspace_idYesUUID of your own workspace (whoami returns it). A different workspace is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / command_id / description
      Added value: +"UUID of the slash command to revoke, from list_slash_commands or the register_slash_command result."
    • addedInput schema / properties / workspace_id / description
      Added value: +"UUID of your own workspace (whoami returns it). A different workspace is refused."
  2. First observedv479.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations, which only flag destructive/idempotent/non-readOnly. The description explains the soft-delete semantics (row retained, revoked_at stamp, name freed for re-registration), the return value ('Returns the revoked command'), the failure mode (unknown or already revoked → NotFound), and the required scope.

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?

Leads with the action and its effect, then consequences, then failure mode, then sibling routing, then auth. Every clause carries distinct information with no repetition of the tool name or title.

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 two-parameter mutation with no output schema, the definition covers effect, non-destructiveness of the underlying row, idempotency-adjacent behavior, error case, required scope and return shape. An agent has everything needed to call it correctly and to interpret the result.

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%, so both UUIDs are already documented, including the source of command_id and the provenance of workspace_id. The description adds only the enforcement detail that a different workspace is refused, which the schema also states — baseline 3 is appropriate.

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?

Names a specific verb ('Revoke') and resource ('slash command'), then immediately defines the effect: disabled, stamped with revoked_at, row kept, name re-registrable. This distinguishes it cleanly from the other revoke_* siblings, which target delegations, FSM hooks, egress hosts and share tickets.

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

Usage Guidelines4/5

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

Explicitly routes the agent to siblings: list_slash_commands to find ids and register_slash_command to create. It also states the prerequisite scope (workspace:write). What's missing is any explicit when-not guidance, e.g. when to disable versus delete or how this differs from other revoke_* tools in a mixed workflow.

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