Skip to main content
Glama

set_provenance

Record where one or more memories came from, marking them as asserted, retrieved, or concluded so recall shows accurate provenance without changing ranking.

Instructions

Record where one or more memories came from.

Use it when the human vouches for a memory ('asserted'), when a memory turns out to be a copy of an external source ('retrieved'), or when something recorded as stated was actually your own inference ('concluded'). Facts extracted from a reclassified memory follow it. Provenance is reported on recall and never changes ranking.

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": {
      "provenance": "<provenance>",
      "keys": "<keys>"
    },
    "name": "set_provenance"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysYes
provenanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does real work: it discloses a downstream side effect ('Facts extracted from a reclassified memory follow it') and the effect on output ('Provenance is reported on recall and never changes ranking'). That tells the agent this is a mutation with observable consequences but no ranking impact. It does not state overwrite semantics, persistence, or required permissions, so a 4 rather than 5.

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?

Front-loaded with a one-line purpose, then a compact three-case decision list, then two sentences of consequences. Every sentence earns its place. Minor looseness from the parenthetical quoting of each value in prose rather than a tighter list.

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 two-parameter mutation tool with no annotations and no output schema, the description covers intent, value semantics, and downstream effects well. Still missing for correct invocation: what a 'key' is and how to obtain one, and whether recording provenance replaces or accumulates with prior provenance.

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 0%, so the description must compensate. It effectively documents the 'provenance' parameter by enumerating its three values in context, which is the most important semantic. However, the 'keys' parameter is never explained — the phrase 'one or more memories' only implies that keys identify memories, without saying what form they take or where they come from.

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: 'Record where one or more memories came from.' An agent can immediately tell this is a metadata-annotation operation on memories, distinct from retrieval tools like recall or recall_detail. No sibling is named as an alternative, so it falls short of a 5.

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?

Gives three concrete trigger conditions tied to the values: human vouching ('asserted'), a memory being a copy of an external source ('retrieved'), and a stated fact actually being your own inference ('concluded'). This is strong when-to-use guidance. It stops short of a 5 because it never says when not to use it or what to do instead if provenance is already set.

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