Skip to main content
Glama

insert_belief

Store a user- or document-backed belief with required provenance so Mimir can reuse verified context; avoid it for incident-derived conclusions, which belong to experience records.

Instructions

Add a belief grounded in an explicit user instruction or document independent of a queued incident. Provenance is required and persisted. Incident-derived conclusions must use record_experience and review_experience candidates; a standalone prior plus review feedback would count one incident twice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
projectNoOptional project scope. Beliefs in a project can be bulk-deleted with delete_project when the project is done.
confidenceYes
provenanceYesIdentify the independent source. Do not use this tool for a conclusion derived from an experience.
memory_typeNoFunctional memory type. 'fact' (default): declarative knowledge that decays over time absent reinforcement. 'experiential': a hard-won working lesson (gotcha, corrected approach) — exempt from time-decay, since its truth doesn't erode with elapsed time. 'working': task-local scratch memory, excluded from cross-session query_relevant retrieval.
probabilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that provenance is required and persisted, which is real behavioral context. However, it says nothing about permissions, idempotency/duplicate handling, or what an add returns, leaving meaningful gaps for a mutation tool with zero annotation coverage.

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 sentences, front-loaded with the core action before the provenance requirement and the routing caveat. Every sentence is doing work, though the third sentence is dense and jargon-heavy ('standalone prior plus review feedback would count one incident twice').

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?

For a 6-parameter tool with a nested provenance object and no annotations or output schema, the description covers purpose, provenance duty, and sibling routing but omits meaning for several scalar parameters and any dedup/return behavior. Adequate to call correctly in the common case, incomplete around the edges.

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 50%, so half the parameters rely on the description. The description clarifies provenance semantics (must cite an independent source, not an experience) and the persistence implication, adding value beyond the enum. But it says nothing about probability, confidence, or content semantics, so it only partially compensates for the coverage gap.

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 a belief') and narrows the scope to sources grounded in an explicit user instruction or document. It also differentiates itself from the incident-derived path by naming record_experience and review_experience, so an agent can route without opening another schema. It does not distinguish itself from pattern-related siblings like insert_pattern, but the core action is unambiguous.

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?

Provides a clear when-to-use (independent user instruction/document) and a when-not-to-use with named alternatives ('Incident-derived conclusions must use record_experience and review_experience candidates'). The double-counting warning reinforces the boundary condition. Lacks a positive prerequisite checklist, but the routing guidance is explicit.

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