Skip to main content
Glama

mtgx_remove_entities

Delete entities by ID from a .mtgx archive and automatically remove all incident links, keeping graph data consistent after entity cleanup.

Instructions

Remove one or more entities by ID from a .mtgx archive and cascade-delete all incident links.

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": {
      "path": "<path>",
      "entity_ids": "<entity_ids>"
    },
    "name": "mtgx_remove_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to .mtgx archive
entity_idsYesNon-empty array of entity IDs to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 behavioral burden. It does disclose the important non-obvious trait that incident links are cascade-deleted, but it omits whether the deletion is permanent/irreversible, whether the archive is modified in place, and what happens when an ID is missing.

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?

A single sentence with zero filler; the destructive cascade behavior is front-loaded alongside the core action, so nothing needs to be re-read.

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 destructive two-parameter mutation with no annotations and no output schema, the description covers the essential effect but leaves gaps on reversibility, partial-failure behavior across multiple IDs, and return value. Adequate as a minimum-viable definition but not complete.

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% for both parameters, so the schema already documents path and entity_ids. The description reinforces the ID-based targeting and the multi-entity nature of the array but adds no format, validation, or ordering semantics beyond the schema.

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 (remove) and resource (entities by ID) scoped to a .mtgx archive, and adds the cascade side effect. It is distinguishable from add-side siblings by the verb, but it never explicitly contrasts with mtgx_update_entity or mtgx_query_graph, so it stops just short of full sibling differentiation.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the deletion path for entities in an archive, but there is no explicit when-to-use versus update/query alternatives and no preconditions (e.g., archive must exist and be writable). No exclusions or warnings are offered.

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