Skip to main content
Glama

verify_integrity

Verify the integrity of a memory store with Merkle tree verification, optionally targeting a store ID, to detect corruption or tampering.

Instructions

Verify the integrity of the store using merkle tree verification.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "verify_integrity"
  }
}

Input Schema

NameRequiredDescriptionDefault
store_idNoStore ID (default 'main')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/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 does not say whether verification is read-only, whether it repairs corruption, whether it is expensive on a large store, or what happens on failure. 'Merkle tree verification' hints at a read-only check but never confirms it, and there is no output schema to fall back on.

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?

A single, front-loaded sentence with no filler or repetition. It is efficient, though efficiency here shades into under-specification rather than tightness.

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

Completeness2/5

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

With no annotations and no output schema, the description must explain what a verification result looks like and whether it is safe/expensive to run. It provides neither, leaving an agent unable to interpret or act on the outcome of the call.

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?

There is a single parameter with 100% schema description coverage, which already documents store_id and its 'main' default. The description adds no additional meaning about the parameter, so the schema-based baseline of 3 applies.

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 (Verify) and resource (integrity of the store) plus the mechanism (merkle tree verification). This is clearly distinct from sibling tools like create_snapshot, restore_snapshot, or rebuild_indexes, which mutate rather than check. It stops short of a 5 because it doesn't define what 'integrity' means here or how the result is expressed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: no mention of running this after restore_snapshot, rebuild_indexes, or create_fork, and no indication of when-not to use it. The only implied usage is that it checks a store's health, which an agent must infer entirely from the title/name pairing.

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