Skip to main content
Glama
PocketBase MCP Server

PocketBase MCP Server

Lister les Collections PocketBase

pocketbase-list-collections

Lists all existing collections in PocketBase to help inspect schema structure and plan migrations via MCP-compatible clients.

Instructions

Liste toutes les collections existantes dans PocketBase

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": "pocketbase-list-collections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
collectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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, and it does convey the important trait that the result covers all existing collections (i.e., no filtering). It does not state whether system/internal collections are included, whether authentication is required, or that the operation is read-only and non-mutating — each of which would matter for an agent operating against a live backend.

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?

One short sentence with no filler, and the resource and scope are front-loaded. Nothing is repeated and nothing extraneous is included.

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?

The tool is a simple zero-parameter read, and an output schema exists so return values need not be explained. The remaining gap is minor but real: the description never clarifies whether internal/system collections appear in the list, which affects how an agent interprets the results.

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 baseline is 4. There is nothing parameter-related the description could add beyond what the empty schema already conveys.

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?

"Liste toutes les collections existantes dans PocketBase" states a specific verb (list) and resource (collections) with an explicit scope of "toutes/existantes". It is clear on its own, but it does nothing to distinguish itself from siblings like pocketbase-view-collection or pocketbase-get-collection-schema, which an agent would have to disambiguate by name alone.

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 guidance on when to choose this tool over the closely related view-collection, get-collection-schema, or list-records tools, and no stated preconditions. The only guidance is the implicit 'enumerate everything' reading of the verb, which the agent must infer.

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