Skip to main content
Glama

delete_message_handler

Delete a component message handler by message type to remove unwanted event logic from Ignition projects, with dry-run preview and confirmation safeguards.

Instructions

Delete a component message handler by message type.

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": {
      "view_path": "<view_path>",
      "component": "<component>",
      "message_type": "<message_type>"
    },
    "name": "delete_message_handler"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
dry_runNo
projectNo
componentYes
view_pathYes
message_typeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure, yet it only says 'delete' and never states irreversibility, permission requirements, or what happens when the target handler is absent. It also never mentions the confirm and dry_run parameters, which are precisely the safety mechanisms an agent needs to know exist for 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, so it is not verbose. However, brevity here reflects under-specification rather than economy, since the sentence has room to add the missing safety and targeting detail at little cost.

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

Completeness2/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 zero annotation coverage, the definition is far too thin: it omits the targeting path semantics, the dry_run/confirm safety contract, and any failure behavior. The existence of an output schema removes the need to describe return values, but that is the only burden lifted.

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 description coverage is 0% across six parameters, so the description must compensate, and it only implicitly touches message_type and component. The three remaining required/optional inputs (view_path, project, confirm, dry_run) get no explanation of format, scope, or effect anywhere in the definition.

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 and resource ('Delete a component message handler') plus a scoping key ('by message type'), so the agent knows exactly what is removed and how it is targeted. It does not distinguish itself from adjacent destructive siblings such as delete_binding or delete_event_script, which share the same surface pattern.

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 stated preconditions (e.g. that a handler must exist at the given view_path/component), and no pointer to set_message_handler or list_message_handlers as the inspection or restoration alternative. The agent must infer that this is the removal counterpart of set_message_handler.

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

Deploy Server

Other Tools