Skip to main content
Glama

validate_memory

Read-onlyIdempotent

Validate one source manifest hash and report stale/conflicting memories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoOptional scope filter
source_idNoIdentifier of the source entity being validated
workspaceNoWorkspace to inspect memories withindefault
current_source_hashNoFresh cryptographic hash of the current source content

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkedYesNumber of memories evaluated
source_idYesSource identifier that was validated
stale_idsNoList of memory IDs whose hash differs from current
tenant_idYesTenant identifier
workspaceYesTarget workspace name
api_versionYesAPI version of the memory server
stale_countYesTotal count of stale memories
conflict_idsNoList of memory IDs with fact conflicts
conflict_countYesTotal count of conflicting memories
current_source_hashYesCurrent expected content hash

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description adds the stale/conflicting reporting behavior but does not disclose additional operational traits such as scope handling, hash comparison details, or required permissions. It does not contradict annotations.

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?

A single front-loaded sentence communicates the action, scope, and result with no filler or repetition. Every word contributes.

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?

With a full input schema, explicit annotations, and an output schema present, the description provides the essential intent. It could mention what 'stale' or 'conflicting' means or how scope/workspace affect validation, but those are not critical gaps given the structured metadata.

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 coverage is 100%, so the description need not repeat parameter details. The phrase 'one source manifest hash' maps loosely to current_source_hash, but the description adds little interpretive value beyond 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?

Description uses a specific verb ('Validate'), identifies the resource ('one source manifest hash'), and states the resulting output ('report stale/conflicting memories'). This clearly separates it from siblings like remember, forget, and search.

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?

No explicit guidance on when to choose this tool over siblings, nor any exclusions or prerequisites. The purpose implies validation after source updates, but the description never states a use case or alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources