Skip to main content
Glama
Pseudogiant-xr

PseudoLife-MCP

Official

memory_fact_set

Insert, confirm, or correct a fact in persistent memory. Conflicting values are flagged for resolution, while history is preserved.

Instructions

Assert a canonical fact — insert, confirm, or correct a slot.

A new value at an existing slot supersedes the old (history kept). A conflicting write parks as a contender (action="contested", winner under current) — check with the human, settle via memory_fact_resolve.

authority / distortion_tolerance inherit the slot's labels unless restated.

Returns: {action: inserted|confirmed|superseded|contested, ...record}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesThe value that is canonical NOW.
entityYesThe slot's subject; the (entity, attribute) match is case- and separator-insensitive.
originNoWho asserted it: "user" = the human told you; otherwise "action"/"agent". Omitted records "agent".
episodeNoEpisode handle for attribution.
attributeYesThe slot's attribute.
authorityNoSpeech act of the source: "directive" / "quoted" (doc or third party) / "observation"; "auto" infers.auto
confidenceNoHow sure you are, 0..1.
freshness_classNoHow fast the value rots. "auto" infers the decay rate from the entity kind.auto
distortion_toleranceNo"constraint" = verbatim, pinned in recall; "auto" infers only that.auto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.15.0
    • addedInput schema / properties / attribute / description
      Added value: +"The slot's attribute."
    • addedInput schema / properties / authority
      Added value: +{
      +  "default": "auto",
      +  "description": "Speech act of the source: \"directive\" / \"quoted\" (doc or third party) / \"observation\"; \"auto\" infers.",
      +  "enum": [
      +    "auto",
      +    "directive",
      +    "observation",
      +    "quoted"
      +  ],
      +  "title": "Authority",
      +  "type": "string"
      +}
    • addedInput schema / properties / confidence / description
      Added value: +"How sure you are, 0..1."
    • addedInput schema / properties / distortion_tolerance
      Added value: +{
      +  "default": "auto",
      +  "description": "\"constraint\" = verbatim, pinned in recall; \"auto\" infers only that.",
      +  "enum": [
      +    "auto",
      +    "constraint",
      +    "procedural",
      +    "belief",
      +    "preference",
      +    "episodic"
      +  ],
      +  "title": "Distortion Tolerance",
      +  "type": "string"
      +}
    • addedInput schema / properties / entity / description
      Added value: +"The slot's subject; the (entity, attribute) match is case- and separator-insensitive."
    • addedInput schema / properties / episode / description
      Added value: +"Episode handle for attribution."
    • addedInput schema / properties / freshness_class / description
      Added value: +"How fast the value rots. \"auto\" infers the decay rate from the entity kind."
    • addedInput schema / properties / origin / description
      Added value: +"Who asserted it: \"user\" = the human told you; otherwise \"action\"/\"agent\". Omitted records \"agent\"."
    • addedInput schema / properties / value / description
      Added value: +"The value that is canonical NOW."
  2. First observedv0.11.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it delivers: it discloses that new values supersede old ones with history kept, that conflicting writes park as contenders with action='contested', that authority and distortion_tolerance inherit slot labels unless restated, and it states the return shape. This goes well beyond a simple mutation one-liner.

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?

The description is front-loaded with the core purpose, followed by two short behavior paragraphs and a return line. Every sentence carries distinct information; there is no filler or repetition of schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with an output schema and no annotations, the description covers the key behavioral edge cases (supersede vs contest), the resolution path, and the return enum. It could be slightly more explicit about what triggers a 'contested' classification (e.g., conflicting values on the same slot), but overall it is sufficient for an agent to invoke and interpret the tool.

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. The description adds extra meaning to authority and distortion_tolerance by explaining the inheritance behavior, and it clarifies the semantic of 'value' as the canonical NOW. Other parameters are already well-described in the schema.

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: 'Assert a canonical fact — insert, confirm, or correct a slot.' It clearly defines the operation and its three modes, and distinguishes itself from the related resolver by naming memory_fact_resolve as the settlement path for contested writes.

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 provides a clear context for use — asserting or correcting a canonical slot — and gives an explicit alternative when a write comes back contested: 'check with the human, settle via memory_fact_resolve.' It does not, however, state when to prefer this over nearby siblings like memory_store, memory_supersede, or memory_set_add, so it falls short of full when/when-not guidance.

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