Skip to main content
Glama

Delete orchestration

delete_orchestration
Destructive

Delete a workflow (an orchestration). Refused while a workflow agent or a schedule runs it, naming each. Its run history is kept. Cannot be undone: the first call previews what goes (or says what still uses it) and gives a confirm_token; call again with the same arguments and that token to delete.

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": {
      "orch_id": "<orch_id>"
    },
    "name": "delete_orchestration"
  }
}

Input Schema

NameRequiredDescriptionDefault
orch_idYes
confirm_tokenNoLeave out at first: the answer previews what this would do and gives a token. Call again with the same arguments and that token to do it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/readOnlyHint annotations: it discloses that deletion is refused while an agent or schedule uses the workflow (naming each blocker), that run history is preserved, and that the operation is irreversible and gated by a preview-plus-confirm_token sequence. These are exactly the behavioral facts an agent needs before attempting a destructive call.

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, each earning its place: identity of the operation, refusal/side-effect behavior, then the confirmation mechanics. The destructive nature and the confirm flow are front-loaded rather than buried.

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 destructive two-parameter tool with no output schema, it covers safety, blocking conditions, and the confirm flow, which are the essentials. Remaining gaps (where orch_id comes from, permission requirements, what the preview response looks like beyond 'says what still uses it') are minor given the annotations already flag destructiveness.

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?

Explains the two-phase protocol around confirm_token, including the requirement to repeat the identical arguments alongside the token, which is the non-obvious part of this parameter. It adds nothing about orch_id (where to obtain it, format), so with 50% schema coverage the semantics are strong but not complete.

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?

Opens with a specific verb and resource, 'Delete a workflow (an orchestration)', and immediately clarifies the terminology ('orchestration') so it is unambiguous against the many delete_* siblings (delete_agent, delete_schedule, delete_board). The agent knows exactly what object is being removed.

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?

Gives explicit preconditions for use: it is refused while a workflow agent or schedule is running, and it requires a two-call confirm flow. It does not name sibling alternatives (e.g., update/disable instead of delete when something is running), so it stops short of full when-to-use-vs-alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.