Skip to main content
Glama

modx_virtualpage_delete_event

Deletes a VirtualPage event by ID or name and removes its associated routes, keeping VirtualPage routing data clean after event removal.

Instructions

Delete a VirtualPage event by id or name (removes its routes too, per the VP schema).

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

Input Schema

NameRequiredDescriptionDefault
idNo
nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a meaningful side effect: deleting the event also removes its routes. However, it omits permissions required, reversibility, and what happens if both id and name are supplied or neither is.

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?

A single front-loaded sentence with no wasted words; the cascade side effect is parenthetically attached. Efficient, though the parenthetical 'per the VP schema' is slightly opaque.

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 mutation tool with no annotations, no output schema, and 0% parameter coverage, the description covers the core action and the cascade effect but leaves identifier precedence, required-input behavior, and permission requirements unaddressed.

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 coverage is 0%, so the description must compensate. It adds that either id or name can identify the event, which is useful, but does not state precedence when both are given, whether one is required, or the expected formats.

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 (Delete) and resource (VirtualPage event) plus the identifier options, which clearly distinguishes it from sibling delete tools like modx_virtualpage_delete_route or modx_virtualpage_delete_handler. It stops short of explicitly naming those siblings, so a 4 rather than 5.

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 phrase 'by id or name' hints at two lookup paths but gives no guidance on when to prefer one, no prerequisites, and no exclusions relative to the route/handler delete siblings. An agent must infer usage entirely.

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