Skip to main content
Glama

List ai memories

list_ai_memories
Read-only

List AI memory notes for the current studio. Called WITH entity_type + entity_id: that entity's notes PLUS all account-wide notes. WITH entity_type only: every note of that kind PLUS account-wide notes. WITHOUT either: only account-wide notes. Each row includes a computed scope (the entity type, or 'account').

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 50).
searchNoFree-text filter on the note title.
entity_idNoUUID of the entity row (requires entity_type).
entity_typeNoEntity kind. One of: participant, instructor, membership_plan, location, room, offering, class_session, user. Omit for account-wide notes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds genuine behavior beyond that by disclosing the union semantics — account-wide notes are always merged into entity-scoped results. It also notes a computed `scope` field per row, useful since there is no output schema. It says nothing about ordering, pagination, or result 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 compact sentences, each carrying distinct information, with the base purpose front-loaded and the three invocation modes stated in parallel form. No repetition of what the schema or annotations already say.

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?

For a zero-required-parameter list tool with full schema coverage and complete annotations, this covers purpose, scope resolution, and output shape adequately. The only gap is operational detail such as result ordering and pagination, which is minor given the tool's simplicity.

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 100%, so the baseline is 3, and the description does not restate enum values or parameter descriptions. It adds real meaning for the entity_type/entity_id interaction — the conditional inclusion of account-wide notes — but leaves `limit` and `search` entirely to the schema.

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 opens with a specific verb and resource — 'List AI memory notes for the current studio' — so the agent knows exactly what it returns. It does not, however, distinguish itself from the sibling list_memories or explain how the two differ, which keeps it below a 5.

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?

It lays out three explicit invocation modes keyed on entity_type and entity_id, making clear which combination produces which result set. What's missing is exclusion guidance: nothing says when to prefer list_memories or another sibling over this tool.

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