Skip to main content
Glama

Stash — Shared AI Memory

Browse namespace

ls
Read-onlyIdempotent

Browse a namespace — lists child namespaces and memory entries with pagination. Use this to explore structure, find what's already stored, and understand the full shape of memory before writing or searching. Great for discovering namespaces you didn't know existed.

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

Input Schema

NameRequiredDescriptionDefault
pathNoNamespace path. Defaults to /./
limitNoOptional page size. Defaults to 50, max 200.
cursorNoOptional cursor from a previous response.
namespaceNoAlias for 'path'.

Output Schema

NameRequiredDescriptionDefault
pathYes
itemsYes
next_cursorNo
next_actionsNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: results are a mix of child namespaces and memory entries, and listing is paginated. It does not discuss ordering or result size behavior, which is a minor gap.

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?

Three short sentences with the core listing behavior and pagination front-loaded. The closing line, 'Great for discovering namespaces you didn't know existed,' is promotional filler that doesn't add operational information.

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 complete annotations, full schema coverage, and an output schema, the description only needs to convey purpose and usage — and it does. Nothing critical is missing for correct invocation, though the alias ambiguity between path and namespace is left entirely to the schema.

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 description coverage is 100%, so the path, limit, and cursor parameters are already documented in the schema and the baseline is 3. The description adds no parameter-level meaning — notably it never addresses the 'namespace' alias for 'path', which is the one genuinely ambiguous input an agent might mishandle.

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 — 'Browse a namespace — lists child namespaces and memory entries' — which tells an agent exactly what comes back. It does not explicitly contrast with sibling tools such as tree, grep, or get, so differentiation is left to inference.

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 gives a clear situational cue: 'Use this to explore structure, find what's already stored, and understand the full shape of memory before writing or searching.' That establishes when the tool is appropriate, but there is no explicit when-not guidance or named alternative (e.g., use grep for content search).

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