Skip to main content
Glama

trust_memory

Clears the untrusted mark on a goal memory that a run wrote after reading outside content, letting a human re-approve it. For the Quarterdeck goals plugin only.

Instructions

Clears the untrusted mark on a goal memory a run wrote after reading outside content, for the human. For the quarterdeck-goals plugin only: agents and the model must not call this.

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": {
      "goal_id": "<goal_id>",
      "memory_id": "<memory_id>"
    },
    "name": "trust_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
goal_idYes
memory_idYes
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.9/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 disclose the security-relevant traits: this mutates trust state, is restricted to a human caller, and only applies to memories written by a run after reading external content. It does not say whether the action is reversible, audited, or what happens if the memory is not currently marked untrusted.

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?

Two short sentences, action stated first and the caller restriction immediately after, with no filler or restatement of the name.

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 security-sensitive mutation with no annotations and no output schema, the definition covers purpose and who may call it, which is the most important part. It leaves gaps around failure behavior, reversibility, and two of three parameters, so it is adequate rather than complete.

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 only 33%, so the description should compensate, and it partially does by tying the operation to a goal memory produced by a specific run (the same concept run_scope encodes). It adds no meaning for goal_id or memory_id beyond their names, and says nothing about the expected identifier format.

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 precise verb+resource: clearing the 'untrusted' mark on a goal memory that a run wrote after reading outside content. That is specific enough to separate it from siblings like delete_memory or restore_memory, which act on memory existence rather than a trust flag. It stops short of a clean one-line statement because the audience restriction is woven into the same sentence.

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 an explicit when-not: 'agents and the model must not call this', scoped to the quarterdeck-goals plugin, and identifies the intended caller as the human. What is missing is what an agent should do instead when it encounters an untrusted memory (e.g., surface it to the human), so the exclusion is clear but the alternative path is not spelled out.

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