Skip to main content
Glama
server-noonien

server-noonien

Official

Delete Observations

delete_observations
DestructiveIdempotent

Delete specific observations from knowledge graph entities by content, removing every matching occurrence; batch results report deleted counts and entities not found.

Instructions

Delete specific observations from entities in the knowledge graph. Deletion is by content: every occurrence of that content on the entity goes. A batch is not all-or-nothing — the message reports how many were deleted and names the entities that were not found. To replace a content in place use update_observations; to remove the whole entity use delete_entities.

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": {
      "deletions": "<deletions>"
    },
    "name": "delete_observations"
  }
}

Input Schema

NameRequiredDescriptionDefault
deletionsYesOne entry per entity: the entity name and the contents to delete

Output Schema

NameRequiredDescriptionDefault
messageYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.3
    • addedInput schema / properties / deletions / description
      Added value: +"One entry per entity: the entity name and the contents to delete"
  2. First observedv1.0.2

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and openWorld=false, but the description adds genuinely new behavior: matching is by content rather than position, every occurrence of that content is removed, and batches are partial-failure tolerant with a report of deleted counts and entities not found. The only shortfall is that it does not say what happens when content is absent from an existing entity.

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?

Four short sentences, front-loaded with the core action, then semantics, then batch behavior, then routing. No filler and no repetition of the title.

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?

For a destructive single-parameter mutation with full schema coverage and an output schema, the description supplies the missing pieces: content-based matching semantics, partial-success batch behavior, and sibling routing. Nothing needed to invoke it correctly is absent.

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, and the description earns an extra point by resolving real schema ambiguity: 'observations' could be read as indexes, but the description clarifies deletion is by content string. It does not elaborate on the entityName key or ordering, which the schema handles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 specific observations from entities in the knowledge graph') and immediately differentiates itself from update_observations and delete_entities. An agent can route correctly without opening any schema.

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

Usage Guidelines5/5

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

It names two explicit alternatives with the condition that selects each: update_observations for in-place replacement, delete_entities for removing the whole entity. That covers the main misrouting risks for a delete tool in this sibling set.

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