Skip to main content
Glama

list_beliefs

List stored beliefs with optional project, memory-type, and limit/offset filters to review persistent AI agent reasoning memory.

Instructions

List beliefs. If project is given, restricts to that project's beliefs plus untagged (global) beliefs; omit to list everything. Use limit and offset for bounded, oldest-first pages; without limit the legacy full array is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoReturn a page of at most this many beliefs, ordered by created_at then id. When present, the result is an object with beliefs, total, offset, and next_offset.
offsetNoZero-based position in the filtered, oldest-first result. Requires limit; use next_offset from the previous page.
projectNoRestrict to this project's beliefs plus untagged (global) beliefs. Omit to list everything.
memory_typeNoRestrict to this memory type. Useful for orphan cleanup of leftover Working beliefs from an interrupted prior session — NOT a substitute for tracking the IDs of Working beliefs your own session wrote, since this filter has no session-identity concept and cannot distinguish your in-flight Working beliefs from a concurrent session's on a shared DB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the two distinct return modes (legacy full array vs paged object) and oldest-first ordering — valuable behavioral context. It stops short of describing permissions, error conditions, or the concurrency caveats that the memory_type param hints at.

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 tight sentences, front-loaded with the core action and scope, then the paging modes. Every sentence carries meaning, though the project sentence overlaps the schema description.

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 list tool with 100% parameter coverage and no output schema, the description supplies the key missing piece — the dual array-vs-paged return behavior. It is adequate, with only minor gaps around auth and error conditions.

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 schema already documents all four parameters, including the project and paging semantics. The description largely restates the project and limit/offset behavior rather than adding syntax or edge-case meaning beyond what the schema provides, so 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?

The opening verb+resource 'List beliefs' is unambiguous and the following sentences define the listing scope (project-filtered vs everything). It does not explicitly differentiate from siblings like get_belief or query_relevant, 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 Guidelines3/5

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

It gives real contextual guidance for the parameters — 'omit to list everything', and 'use limit and offset for bounded, oldest-first pages'. However it never names an alternative tool or states when to prefer this over get_belief/query_relevant, so usage is implied rather than routed.

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