Skip to main content
Glama

get_memory_impact

Compute the graph impact of a memory to understand its influence. Returns entity count, relation count, cross-namespace info, and an impact score.

Instructions

Compute the graph impact of a memory. Returns the number of entities linked to the memory, the number of relations it evidences, whether it spans multiple namespaces, and an impact_score (entity_count0.4 + relation_count0.4 + cross_namespace*0.2). Requires storage adapter with graph capability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYesThe memory's storage_key (memory_id) to evaluate
Behavior5/5

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

Since no annotations are provided, the description carries full burden and excellently discloses behavior: it lists all return fields and even provides the exact formula for impact_score. It also mentions the requirement for graph capability. No contradictions.

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 two sentences, front-loading the purpose and output details, then adding the prerequisite. Every sentence provides essential information with no waste.

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?

The description covers the output comprehensively given there is no output schema, and the single parameter is well-documented. However, it lacks information about error handling (e.g., memory not found, missing graph capability). For a simple tool, this is mostly 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?

The schema has 100% description coverage for the single parameter 'memory_id'. The description adds only the prerequisite context ('Requires storage adapter...') but does not elaborate on the parameter beyond what the schema already provides. Thus baseline 3.

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 computes the 'graph impact of a memory', specifying the exact metrics returned (entities, relations, cross-namespace flag, impact_score). This differentiates it from sibling tools like 'get_memory_profile' or 'query_graph'.

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

Usage Guidelines3/5

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

The description mentions the prerequisite 'Requires storage adapter with graph capability', but does not provide guidance on when to use this tool versus alternatives like 'get_memory_profile' or 'recall_memories'. No explicit when-not-to-use or alternative naming.

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/lulin70/carrymem'

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