Skip to main content
Glama

List scopes

memory_scopes
Read-onlyIdempotent

List every project and topic scope with its entry count to discover valid scope values for other tools. Read-only, no arguments.

Instructions

List every known project/topic scope with its number of entries.

Use it first to discover valid scope values for the other tools, or to see which projects have memory at all. For the total count and the database location use memory_stats; to browse the entries of one scope, memory_list. Read-only, takes no arguments. A scope-locked connection only sees its own scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds a genuine behavioral constraint beyond structured data: a scope-locked connection only sees its own scope, which affects what results an agent should expect.

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?

Front-loaded with the core action, then routing guidance, then the visibility caveat — each sentence earns its place. Minor redundancy: 'Read-only' restates the readOnlyHint annotation.

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

Completeness5/5

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

An output schema exists, so return values need no explanation. Combined with explicit routing to siblings and the scope-lock caveat, an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the schema-description baseline is 4. The description correctly reinforces this ('takes no arguments') without needing to explain any argument semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List every known project/topic scope') plus the returned payload ('with its number of entries'). It is immediately distinguishable from its siblings like memory_stats and memory_list, which it names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly says to use it first to discover valid `scope` values for other tools, and names the alternatives with their selecting conditions: memory_stats for totals/location, memory_list for browsing one scope's entries. Both when-to-use and when-not-to-use are covered.

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