Skip to main content
Glama
server-noonien

server-noonien

Official

Update Observations

update_observations
Destructive

Replace observation content on existing entities in place, avoiding separate delete and add steps when updating stored knowledge graph memories.

Instructions

Prefer this to delete_observations followed by add_observations: replace observation contents on existing entities in place

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": {
      "updates": "<updates>"
    },
    "name": "update_observations"
  }
}

Input Schema

NameRequiredDescriptionDefault
updatesYesOne entry per replacement: the entity, the content to replace and the new content

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.3
    • addedInput schema / properties / updates / description
      Added value: +"One entry per replacement: the entity, the content to replace and the new content"
  2. Addedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds real value by clarifying the replacement happens 'in place' rather than as a delete-plus-add cycle, implying the entity and its other observations survive. It omits the failure semantics that matter most for a destructive edit: what happens when oldContent does not match any existing observation.

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 sentence with no filler, and the routing guidance is placed first. The purpose statement trails after the colon, so the 'what it does' is slightly back-loaded, but nothing is wasted.

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?

An output schema exists, so return values need no explanation. For a destructive, non-idempotent mutation on a nested array, however, the description leaves out how mismatched oldContent is handled and whether partial application is possible across multiple entries.

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%, with each nested field (entityName, oldContent, newContent) documented inline, so the schema carries the parameter burden. The description only echoes 'one entry per replacement' implicitly and adds the 'existing entities' precondition. Baseline 3 applies.

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 states a specific verb and resource — 'replace observation contents on existing entities in place' — which is precise enough to distinguish it from add_observations and delete_observations. It does not, however, clarify the boundary with update_entities, which handles the entity itself rather than its observations.

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

Usage Guidelines4/5

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

It gives an explicit preference rule: use this instead of 'delete_observations followed by add_observations'. That is concrete routing guidance against a named sibling pattern. It stops short of stating exclusions, e.g. when creating a brand-new observation (add_observations) is the right call.

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