Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

agent_list

Lists all agents with memory counts to identify which isolated memory namespaces contain stored memories.

Instructions

List all agents with their memory counts. Agents are namespaces that isolate memories.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of agents to return (1-100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose the return contents (agents plus memory counts) and implicitly establishes a read-only enumeration, but it says nothing about ordering, truncation behavior when more than `limit` agents exist, or permissions needed to see other agents' namespaces.

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?

Two short sentences, front-loaded with the action, with the second sentence earning its place by defining the resource for an agent that may not know the namespace concept. No filler.

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 one-parameter read-only listing tool with no output schema and full schema coverage, the description covers purpose, returned fields, and the core concept. Only pagination/ordering behavior is left unstated, which is a minor gap at this complexity.

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% for the single `limit` parameter (range 1-100, default 20), so the schema already fully documents it. The description adds no meaning about paging or whether omitted agents are silently dropped, so the baseline 3 applies.

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?

"List all agents with their memory counts" gives a specific verb (list) and resource (agents), and the second sentence defines what an agent is (a namespace that isolates memories), which is genuinely useful domain context. It does not differentiate itself from siblings like agent_get, so it stops short of 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 Guidelines2/5

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

There is no explicit guidance on when to use this versus agent_get for a single agent, or any mention of prerequisites, pagination strategy, or how to page through results beyond the limit default. Discovery/enumeration use is only implied by the word "List".

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