Skip to main content
Glama

record_observation

Record a new observation into a vault with automatic provenance filling. Specify claim, evidence, confidence, and type; extra properties can be added via the properties field.

Instructions

Record a new memory observation under the labeled MemorySink for a vault. Required provenance properties (source, confidence, evidence, status, observed_at, type, superseded_by) are auto-filled from arguments; properties is an escape hatch for contract-allowed extras and overrides any sugar default (D-02 — caller-last merge). Writes route through DeliveryAdapter.write() and pass through the centralized provenance validator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vaultYesVault name (registered in [vaults] config block)
claimYesShort natural-language statement of the observation (becomes title + body)
evidenceYesDocIds or quoted source spans supporting the claim; empty array allowed
confidenceYesHow the agent arrived at this claim
typeYesObservation type per the sink contract (e.g. 'observation', 'hypothesis', 'decision')
sinkNoMemory sink name OR full obsidian-fs://… handle. Defaults to the vault's default sink.
propertiesNoEscape-hatch: contract-allowed extra properties; merged AFTER sugar args (caller wins)
Behavior3/5

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

No annotations are provided, so the description must carry full behavioral disclosure. It mentions that writes route through DeliveryAdapter.write() and pass through a centralized provenance validator. It also describes the auto-filling of provenance properties and caller-last merge for properties. However, it does not disclose idempotency, error handling, or whether the operation is synchronous or asynchronous. Some internal details are provided, but gaps remain.

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?

The description consists of two sentences. The first sentence clearly states the purpose. The second sentence provides important technical details about auto-fill and merging, but is dense and may be confusing. It is concise but could be better structured (e.g., bullet points for clarity). It remains functional without being overly verbose.

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?

Given 7 parameters (5 required), a nested object, no output schema, and no annotations, the description covers purpose, auto-fill logic, routing, and provenance validation. However, it lacks information about return values (e.g., does it return the created observation or just a success status?) and does not mention persistence guarantees. Completeness is adequate but not thorough.

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?

The schema covers all 7 parameters with descriptions, achieving 100% coverage (baseline 3). The description adds significant value by explaining that provenance properties (source, confidence, evidence, status, observed_at, type, superseded_by) are auto-filled from arguments, and that the `properties` parameter is an escape hatch with caller-last merge (D-02 rule). This clarifies the behavior beyond what the schema alone provides.

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 clearly states the action: 'Record a new memory observation under the labeled MemorySink for a vault.' It specifies the resource (memory observation) and the location (labeled MemorySink, vault). This distinguishes it from sibling tools like write_note (which writes a note) and recall (which retrieves memories).

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?

The description explains how to use the properties escape hatch and that provenance properties are auto-filled, but it does not provide explicit guidance on when to use this tool versus alternatives (e.g., write_note). No exclusions or context for when not to use it are given. Usage is implied but not clearly delineated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/owrede/vault-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server