Skip to main content
Glama

memory_check_supersedes

Determine if a newer memory should replace an older one by analyzing validation history for consistent success where previous attempts failed.

Instructions

Check if a memory should supersede another based on validation history.

A newer memory supersedes an older one when it consistently succeeds where the older one failed on similar topics.

Args: memory_id: ID of the (potentially newer) memory to check create_edge: Whether to create SUPERSEDES edge (default: True)

Returns: Result with superseded memory ID if applicable

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYes
create_edgeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses key behavioral traits: the tool evaluates supersedence based on validation history and can optionally create a SUPERSEDES edge. However, it lacks details on permissions, rate limits, error conditions, or what 'consistently succeeds' means quantitatively, leaving gaps in behavioral understanding.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by a clarifying explanation, then a structured Args/Returns section. Every sentence adds value without redundancy, making it efficient for an AI agent to parse.

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?

Given the tool's moderate complexity (2 parameters, no annotations, but has output schema), the description is mostly complete. It covers purpose, usage, parameters, and return value, but lacks details on behavioral nuances like error handling or validation criteria. The output schema existence reduces the need to explain return values, but some operational context is missing.

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 description coverage is 0%, so the description must compensate. It adds meaningful semantics for both parameters: 'memory_id' is explained as 'ID of the (potentially newer) memory to check', and 'create_edge' as 'Whether to create SUPERSEDES edge (default: True)'. This clarifies purpose beyond the schema's basic types, though it doesn't detail edge creation mechanics or ID format.

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?

The description clearly states the tool's purpose with specific verb ('Check if a memory should supersede another') and resource ('based on validation history'), distinguishing it from siblings like memory_detect_contradictions or memory_validate_tool by focusing on supersedence evaluation rather than contradiction detection or validation itself.

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?

The description provides clear context for when to use the tool ('when a newer memory consistently succeeds where the older one failed on similar topics'), but does not explicitly mention when not to use it or name specific alternatives among the sibling tools, though the context implies it's for supersedence checks rather than other memory operations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/blueman82/recall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server