Skip to main content
Glama

Remove Workflow Recipes

remove_workflow_recipe
DestructiveIdempotent

Removes workflow recipes by exact name (name, or several in names) from a playbook the user owns; every recipe with a given name is removed and the result says how many. Each removal writes a new version; earlier content is kept but cannot be restored through this server. playbookId may be omitted only when the user owns exactly one playbook. Acknowledgments for terms that no longer appear are dropped; sensitivity optionally re-declares the level. An unknown or not-owned playbook changes nothing and returns the same note. [Bearer scope: playbook:write]

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": "remove_workflow_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoExact recipe name to remove (matches workflowRecipes[].name). Provide `name` or `names`.
namesNoSeveral exact recipe names to remove in one call (one new version). Provide `name` or `names`.
dotfileIdNoDeprecated alias for `playbookId`.
playbookIdNoPlaybook id (from list_playbooks). May be omitted only when the user owns exactly one playbook; otherwise the error lists their ids and titles. `dotfileId` is a deprecated alias.
sensitivityNoOptional re-declaration of the playbook's sensitivity, for example after removing the recipe that raised it. Applied exactly, even below the stored level, when every remaining sensitive-vocabulary match is acknowledged; otherwise the level rises or stays and the uncovered terms are named.
acknowledgedTermsNoAcknowledged sensitive-vocabulary terms, merged by term with the playbook's already-recorded acknowledgments (remove semantics — acknowledgments for terms the removed recipe carried are dropped automatically). values shaped like secrets are still refused.

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?

Annotations already flag destructive=true and idempotent=true, but the description adds non-obvious behavior: each removal writes a new version, earlier content is kept yet is not restorable through this server, acknowledgments for vanished terms are dropped, an unknown playbook is a silent no-op, and the call requires the `playbook:write` bearer scope. This is exactly the mutation-specific context annotations cannot convey.

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?

Front-loaded with the action and matching rule, then consequences, then fallback/optional behavior, then the auth scope in brackets. Dense and free of filler, though several clauses are packed into single sentences, which slightly burdens scanning.

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 six-parameter destructive mutation with no output schema, the definition covers the return value ('the result says how many'), silent no-op behavior for bad ids, version-creation semantics, irreversibility, and the required auth scope. Nothing an agent needs in order to call it safely appears to be 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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: omission rules for `playbookId`, the fact that `dotfileId` is a deprecated alias, the merge/drop semantics for `acknowledgedTerms`, and that `sensitivity` is applied exactly even below the stored level when all matches are acknowledged. Only minor detail such as the 40-item cap is left to the schema.

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 ('Removes workflow recipes') plus the exact matching rule ('by exact name (`name`, or several in `names`) from a playbook the user owns') and the outcome ('every recipe with a given name is removed and the result says how many'). An agent can distinguish this from playbook-level deletion (delete_playbook) purely from this text.

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 clear operating conditions: use `name` or `names`, and `playbookId` may be omitted only when the user owns exactly one playbook. It also warns that unknown or not-owned playbooks change nothing and return the same note, so the agent knows the call will not fail loudly. It does not explicitly compare against sibling alternatives, keeping it short of a 5.

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.

Resources