Skip to main content
Glama

memory_verify_tool

Records that a memory has been verified by setting verified_at and verified_commit, raising confidence to 1.0. Include a check ID to tie verification to evidence instead of a bare assertion.

Instructions

Record that a memory was verified: sets verified_at and verified_commit.

Verification, not provenance, is what earns confidence 1.0. Pass check_id from memory_check_record_tool for evidence-derived verification; without it the verification is recorded as an assertion.

Args: id: The memory item ID to mark verified method: How it was verified (stored in history) commit: Git commit verified at (defaults to HEAD) confidence: Confidence to set (default 1.0) verified_by_id: Optional memory ID holding the verification artifact check_id: Recorded check ID that justifies the verification project: Optional project root path. Auto-detected from git root if omitted.

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": {
      "id": "<id>"
    },
    "name": "memory_verify_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
actorNo
commitNo
methodNo
projectNo
sessionNo
check_idNo
confidenceNo
request_idNo
operation_idNo
verified_by_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.11.0
    • addedInput schema / properties / check_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Check Id"
      +}
  2. Addedv0.6.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that verification drives confidence to 1.0, the assertion-vs-evidence distinction, that method is stored in history, that commit defaults to HEAD, and that project is auto-detected from the git root. Gaps remain around idempotency (does re-verifying overwrite verified_at?), what happens to existing verification data, and the meaning of actor/session/request_id/operation_id.

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 lead sentence is front-loaded with the action and its writes, and the confidence/assertion rationale follows logically before the Args list. The Args block is dense but every line adds information; only the unexplained plumbing parameters are wasted surface area.

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?

An output schema exists, so return values need not be described, and the description covers the mutation's semantics and defaults well for an 11-parameter tool with zero annotation coverage. The unresolved side is idempotency/overwrite behavior and the four undocumented bookkeeping parameters.

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 0%, so the description must supply all meaning, and it explains the decision-relevant parameters with defaults and purpose: id, method, commit (defaults to HEAD), confidence (default 1.0), verified_by_id, check_id, project (git-root auto-detect). It leaves actor, session, request_id, and operation_id entirely unexplained, which is a real but secondary gap for plumbing-style args.

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 that a memory was verified') and names the concrete side effects (sets verified_at and verified_commit), so the agent knows exactly what state changes. It also references memory_check_record_tool as the source of check_id, which implicitly distinguishes it from that sibling, though it does not explicitly differentiate from memory_revalidate_tool.

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 a clear conditional: pass check_id for evidence-derived verification, omit it and the result is recorded as an assertion. That is a real when/when-not decision rule. It stops short of naming alternatives such as memory_revalidate_tool or stating preconditions for calling this versus re-verifying.

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