Skip to main content
Glama

list_scopes

Read-onlyIdempotent

List all knowledge scopes, including shared and per-project, to locate the project scope to target in context searches or bundle compilation.

Instructions

List the knowledge scopes this server holds — the shared 'domain' and 'conventions' scopes plus one 'projects/' per project — with document, section and token counts. Read-only, no input. Use it to discover the project scope to pass to search_context or compile_bundle; by default those search only the shared scopes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds beyond that by explicitly saying 'Read-only, no input' and by disclosing the structure of what will be returned (shared scopes, per-project scopes, and counts), which gives the agent useful behavioral expectations.

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?

A single sentence front-loads the core purpose ('List the knowledge scopes this server holds') and then packs every remaining clause with useful detail: scope composition, counts, read-only nature, and downstream usage. There is no filler.

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?

Given zero parameters, an output schema, and annotations already covering idempotence/read-only behavior, the description is fully adequate. It explains what is returned, how to use it, and why it matters for sibling tools, leaving no important gap for an agent invoking it.

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?

There are zero parameters, so the baseline is 4. The description reinforces this by stating 'no input,' which is useful confirmation even though the empty schema already implies it. No further parameter documentation is needed.

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?

The description names a specific resource ('knowledge scopes'), spells out exactly what it lists (shared 'domain'/'conventions' scopes plus 'projects/<name>' scopes), and mentions the accompanying counts. This clearly differentiates it from sibling tools like search_context and compile_bundle, which operate on scopes rather than listing them.

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?

The description explicitly states when to use this tool: 'Use it to discover the project scope to pass to search_context or compile_bundle.' It also explains a key behavioral consequence of those downstream tools—they search only shared scopes by default—which tells an agent why listing scopes first matters.

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