Skip to main content
Glama
server-noonien

server-noonien

Official

Delete Entities

delete_entities
DestructiveIdempotent

Deletes multiple entities and their relations from the knowledge graph in one call, ignoring unknown names and reporting which were removed or not found.

Instructions

Delete multiple entities and their associated relations from the knowledge graph. Unknown names are ignored rather than failing, and the message reports how many were deleted and which were not found. The deletion also removes the entity's observations and its incident relations, and it is durable: a tombstone beats a concurrent write from another machine.

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": {
      "entityNames": "<entityNames>"
    },
    "name": "delete_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityNamesYesAn array of entity names to delete

Output Schema

NameRequiredDescriptionDefault
messageYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations, the description discloses cascade behavior (observations and incident relations removed), unknown-name tolerance, the shape of the result message, and durability semantics where a tombstone beats a concurrent write. These are exactly the traits an agent needs before committing an irreversible batch delete.

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?

Three tight sentences, front-loaded with what gets deleted. There is mild overlap between 'associated relations' in sentence one and 'incident relations' in sentence three, but no padding or filler.

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

Completeness5/5

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

A one-parameter destructive batch tool whose annotations cover the safety profile and whose output schema covers the return value. The description fills the remaining gaps — cascade scope, unknown-name handling, durability — leaving nothing an agent needs in order to call it safely.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above baseline by explaining how the entityNames values are interpreted — unrecognized names are silently skipped rather than erroring. That changes how an agent should construct and verify the call.

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?

The description opens with a specific verb and resource ('Delete multiple entities and their associated relations from the knowledge graph') and states the batch scope. It does not explicitly distinguish itself from siblings like delete_observations or delete_relations, but the cascade scope makes the resource boundary legible.

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 context is implied rather than stated: the agent learns unknown names are tolerated and relations/observations get cascaded, which shapes when to reach for this tool. There is no explicit 'use this instead of delete_relations when...' routing, so the agent must infer the alternative from sibling names alone.

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