Skip to main content
Glama

memory_timeline

Read-only

Retrieve a chronological window of memories around a specific anchor memory or search query, with filters for project, kind, and visibility.

Instructions

Get a chronological window of memories around an anchor (by ID or query).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoFilter by memory kind
queryNoSearch query to find anchor
projectNoFilter by project scope (matches sessions.project)
scope_idNoFilter by a single sharing domain scope_id
memory_idNoAnchor memory ID
trust_biasNo
visibilityNo
depth_afterNoItems after anchor
depth_beforeNoItems before anchor
personal_firstNo
ownership_scopeNo
exclude_actor_idsNo
exclude_scope_idsNoSharing domain scope_ids to exclude
include_actor_idsNo
include_scope_idsNoSharing domain scope_ids to include
exclude_visibilityNo
include_visibilityNo
exclude_trust_statesNo
include_trust_statesNo
exclude_workspace_idsNo
include_workspace_idsNo
widen_shared_when_weakNo
exclude_workspace_kindsNo
include_workspace_kindsNo
widen_shared_min_personal_scoreNo
widen_shared_min_personal_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.44.2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "body_text": {
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "created_at": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "kind": {
      +            "type": "string"
      +          },
      +          "metadata_json": {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "session_id": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "updated_at": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "kind",
      +          "title",
      +          "body_text"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the behavioral constraint of a chronological window around an anchor, which is useful context beyond the annotations. However, it does not disclose behaviors like default depth (depth_before/depth_after default 3), ordering direction, or how anchor selection resolves when both memory_id and query are provided. No contradiction with 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?

The description is a single 13-word sentence with no filler. It front-loads the core operation ('Get a chronological window') and then adds the key modifier ('around an anchor (by ID or query)'). Every word earns its place, and the structure is immediately scannable.

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?

Despite having an output schema and read-only annotations, this is a highly complex tool (26 parameters, many filters, 0 required). The description fails to explain how to invoke it correctly: whether memory_id or query is required, how they interact, what the default window sizes are, or how filtering parameters shape results. An agent would need substantial external knowledge to call this tool effectively, so the description is not complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 35%, so the description must compensate for the many undocumented parameters (26 total, 0 required). It only clarifies that the anchor can be specified 'by ID or query', which maps to memory_id and query. It says nothing about depth_before/depth_after, filters (visibility, trust, scope, workspace), or the many include/exclude arrays. This is minimal added meaning over the schema and leaves most parameters semantically unexplained.

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?

The description names a specific verb ('Get'), resource ('memories'), and a distinctive scoping concept ('chronological window around an anchor'). It differentiates from siblings like memory_recent and memory_search through the anchor/window framing, though it does not explicitly name any sibling. This is clear but slightly below a 5 because the differentiation is implicit rather than stated.

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 implies when to use the tool: when you need memories around a specific anchor in chronological order. However, it gives no explicit guidance about when to prefer this over alternatives such as memory_search or memory_recent, and no exclusions or prerequisites. Usage context is present only by inference.

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