Skip to main content
Glama

memory_get

Read-onlyIdempotent

Retrieve a user memory from the authorized local device without cloud persistence.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "memory_id": "<memory_id>"
    },
    "name": "memory_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idNo
memory_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and a closed-world scope, so the safety profile is covered. The description adds one genuinely new behavioral fact — that reads happen on the local device with no cloud persistence — but says nothing about failure modes when the memory is absent locally or not yet synced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler and the key property (no cloud persistence) placed prominently. It is efficient, though its brevity leaves the gaps noted elsewhere rather than wasting words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (two params, read-only, no nested objects), so a short description is defensible. However, with no output schema and no parameter documentation anywhere, the definition leaves the agent guessing what a returned memory contains and how to specify device_id.

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 0% for two parameters, so the description must compensate and does not. Neither memory_id (the only required field) nor device_id (which defaults to an empty string, hinting at a current-device fallback) receives any explanation of format, source, or default behavior.

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?

States a specific verb and resource: 'Retrieve a user memory,' plus the scope 'from the authorized local device.' An agent can infer this is a single-item fetch by id rather than a search, but the description never names memory_search or memory_list to sharpen that distinction.

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?

Usage is only implied: needing one memory by identity selects this tool over memory_search/memory_list. There is no explicit when-to-use, no statement about prerequisites such as an approved device pairing, and no exclusions.

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