Skip to main content
Glama

Add Observations

add_observations
Idempotent

Add observation content to existing entities within a specified namespace so agents can persist extra facts across chats.

Instructions

Add new observations to existing entities in the knowledge graph

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": {
      "namespace": "<namespace>",
      "observations": "<observations>"
    },
    "name": "add_observations"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYesThe namespace to operate in (required). It must already exist: create it with create_namespace, and list the existing ones with list_namespaces. Namespaces are isolated from each other: the same entity name can exist in several, and a relation only connects entities in its own namespace.
observationsYes

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the mutation/safety profile is covered. The description adds only the existing-entity constraint and is silent on the behaviors that actually matter here: whether an unknown entityName errors or auto-creates, and whether repeated contents are deduplicated (idempotentHint suggests so, but that is schema-side, not explained).

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, though the brevity borders on under-specification rather than tightness.

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 and the annotations carry the safety profile, so return values need no explanation. Still, for a mutation tool whose central failure mode (entity not found) is left unaddressed, the description is only minimally adequate.

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?

With 50% schema coverage, the schema itself already documents the namespace lifecycle and the nested entityName/contents fields. The description adds no meaning about batching, duplicate handling, or ordering for the contents array, so it does nothing beyond what structured fields provide.

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 and resource ("Add new observations to existing entities") and scopes it to the knowledge graph. The qualifier "existing" hints at a boundary versus create_entities, but the sibling is never named, so an agent must infer the split.

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?

"Existing entities" implies a precondition (the entity must already be present), which is useful, but the description never says what to do when it isn't — e.g., call create_entities first — nor routes removal to delete_observations. Usage is implied rather than stated.

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