Skip to main content
Glama

Delete custom instruction

delete_instruction
Destructive

Removes one custom instruction. The AI stops following it in new reply suggestions. The result contains the removed text, so it can be added again.

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": {
      "brand": "<brand>",
      "instructionId": "<instructionId>"
    },
    "name": "delete_instruction"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
instructionIdYesInstruction id from get_brand_setup.
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

The description adds real value beyond the supplied annotations: it states the scope of the effect (only new reply suggestions), and that the removed text is returned so the change is recoverable by re-adding. That is meaningful detail beyond destructiveHint/non-idempotent. The gap is the unexplained confirmationToken requirement for a destructive operation.

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 short sentences, front-loaded with the action, then effect, then return value. No filler and nothing repeated from the title or annotations.

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?

With no output schema, the description usefully explains the return payload, and it covers the behavioral effect. However, for a destructive 3-parameter tool with low schema coverage, it leaves the brand scoping and confirmation token entirely unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% – instructionId is documented in the schema, but brand and especially confirmationToken are not described anywhere. The description says nothing about any parameter, so it fails to compensate for the coverage gap on an undocumented confirmation parameter.

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?

"Removes one custom instruction" gives a specific verb and resource, and the second sentence clarifies exactly which behavior changes (AI stops following it in new reply suggestions). It is unambiguous against save_instruction, though it never names the counterpart tool explicitly.

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?

The description explains the effect of deletion but gives no when-to-use guidance, no prerequisites, and no caution about verifying the instruction first. Notably, there is no mention of when the confirmationToken is required, which is the most likely source of a failed call.

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