Skip to main content
Glama
total-agent-memory

total-agent-memory

memory_eval_locomo

Read-onlyIdempotent

Evaluate memory retrieval against a LoCoMo dataset in an isolated store, returning evidence recall and per-question results without LLM or network calls.

Instructions

Evaluate retrieval on a downloaded LoCoMo dataset in an isolated temporary store. Requires dataset_path; no LLM or network. Returns evidence recall, per-question rows and local embedding mode. Not an answer-generation accuracy benchmark.

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": "memory_eval_locomo"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofast
limitNoMaximum questions to evaluate.
top_kNo
dataset_pathNoPath to LoCoMo locomo10.json.
scenarios_pathNoDeprecated alias for dataset_path; requires LoCoMo format.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv15.0.0
    • addedInput schema / properties / dataset_path
      Added value: +{
      +  "description": "Path to LoCoMo locomo10.json.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Cap how many scenarios to run."New value: +"Maximum questions to evaluate."
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "fast",
      -  "balanced",
      -  "deep"
      -]New value: +[
      +  "fast"
      +]
    • changedInput schema / properties / scenarios_path / description
      Previous value: -"Optional override path."New value: +"Deprecated alias for dataset_path; requires LoCoMo format."
    • addedInput schema / properties / top_k / minimum
      Added value: +1
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety bar is met; the description still adds real context: the evaluation runs in an isolated temporary store with no LLM or network calls, i.e. it is offline and sandboxed. It does not say whether the temp store is cleaned up afterward, how long evaluation takes, or anything about dataset size limits.

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?

Four short sentences, front-loaded with the action and scope, then requirements, then return value, then the disambiguation. No filler and nothing repeated from the schema or annotations verbatim.

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 five parameters, no output schema, and a somewhat specialized evaluation workflow, the description covers prerequisites, isolation, offline behavior, and a summary of return values. It is slightly thin on the optional knobs and on cleanup/state behavior, but an agent can invoke it correctly from this text.

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 60%, so baseline is 3. The description adds that dataset_path is required and that local embedding mode is involved, but it never explains mode, limit, or top_k semantics beyond what the schema already states, and it does not mention the deprecated scenarios_path alias.

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?

States a specific verb and resource ('Evaluate retrieval on a downloaded LoCoMo dataset') plus its execution context ('isolated temporary store'). The closing clause 'Not an answer-generation accuracy benchmark' actively disambiguates it from benchmark-style siblings such as memory_answer and benchmark.

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 clear preconditions and exclusions: 'Requires dataset_path; no LLM or network' and explicitly rules out answer-generation accuracy benchmarking, which routes the agent toward retrieval-oriented siblings. It stops short of naming a concrete alternative tool or saying when to prefer memory_eval_recall or memory_eval_long_context instead.

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