Skip to main content
Glama
runwhen-contrib

RunWhen Platform MCP

delete_slx

Soft-delete an SLX from a workspace by tombstoning its row. Removes the SLX and lets the system clean up related runbooks and SLIs.

Instructions

Soft-delete an SLX from the workspace via the v4 short-name endpoint.

Uses DELETE /api/v4/workspaces/{ws}/slxs/{slx_short_name}, which tombstones the SLX row (deleted_by / deleted_at) and lets the corestate reconcile loop clean up the corresponding runbook and SLI rows. This is the same endpoint the UI hits, so behaviour matches what users see in the platform.

Deletion is workspace-global — it is not scoped to a Git branch. The v4 endpoint tombstones the SLX row in PAPI; there is no per-branch variant. Callers previously wired to a Git-oriented delete path should stop passing branch / commit_message (both removed) and rely on the workspace-scoped soft delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slx_nameYesShort name of the SLX to delete (e.g. 'k8s-pod-health').
workspace_nameYesThe workspace to delete from (e.g. 't-oncall').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Despite no annotations, the description discloses key behaviors: it uses the v4 endpoint, tombstones the SLX row, and triggers corestate reconciliation to clean up related rows. It also notes behavior matches the UI. It does not cover auth or rate limits, but the core behavior is well explained.

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?

The description is structured into three paragraphs, each serving a purpose: core action, endpoint details, and usage clarification. It is front-loaded with the main purpose. It could be slightly more concise, but no extraneous content.

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?

Given the input schema is fully covered, output schema exists, and the description covers behavior, usage, and parameter meaning, it is complete for an agent to select and invoke this tool correctly. It addresses potential confusion about Git-branch scoping.

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?

Schema coverage is 100%, so the baseline is 3. The description adds value by providing example short names and workspace names, clarifying that parameters do not include branch/commit_message (removed from prior paths), and emphasizing the short-name format. This goes beyond the schema's simple descriptions.

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?

The description clearly states the tool performs a 'soft-delete' of an SLX from a workspace via the v4 endpoint. It specifies the resource (SLX), action (soft-delete), and scope (workspace). It distinguishes from siblings by clarifying it is workspace-global and not Git-branch-scoped, which differentiates it from potential Git-oriented tools.

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?

The description provides explicit guidance on when to use this tool (for workspace-scoped soft delete) and when not (avoids Git branches). It advises callers previously using a Git-oriented delete path to stop passing branch/commit_message. However, it does not explicitly mention alternative tools or when to use them, though siblings include other delete tools like delete_assistant.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/runwhen-contrib/runwhen-platform-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server