Skip to main content
Glama

Delete shader effect

delete_shader_effect
Destructive

Deletes a saved ShaderFX effect so existing layers keep their own copy.

Instructions

Delete a saved ShaderFX effect. Layers already using it keep their own copy.

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": {
      "effect_id": "<effect_id>"
    },
    "name": "delete_shader_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
effect_idYesEffect id to delete.
project_idNoOptional project context.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.4

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds genuinely non-obvious blast-radius information — that layers already using the effect retain their own copy, so deletion does not cascade. It does not state whether the deletion is permanent or undoable, which keeps it from a 5.

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?

Two short sentences, the action front-loaded and the caveat immediately after. Nothing is wasted and nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter destructive tool with full schema coverage and complete annotations, the description is adequate but leaves the key risk question unanswered: is the delete reversible, and what happens to an effect still referenced elsewhere. The blast-radius note helps but does not fully cover the destructive semantics.

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 description coverage is 100%, so both effect_id and project_id are already documented in the schema with their required/optional status. The description adds no meaning beyond that — it does not clarify what project_id scoping changes about the deletion. Baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Delete a saved ShaderFX effect.' An agent can distinguish this from create_shader_effect/apply_shader_effect/list_shader_effects purely on the verb. It stops short of explicitly naming a sibling to disambiguate, but the purpose is unmistakable.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: no preconditions, no mention of how to find an effect_id first (e.g., via list_shader_effects), and no statement of when deletion is appropriate versus just removing an application of the effect. The only sentence present is a consequence note, not usage guidance.

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