Skip to main content
Glama
PocketBase MCP Server

PocketBase MCP Server

Lister les Records d'une Collection

pocketbase-list-records

Lists records from a PocketBase collection with pagination, filtering, and sorting so you can browse and query stored data.

Instructions

Liste tous les records d'une collection PocketBase avec pagination

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "collectionName": "<collectionName>"
    },
    "name": "pocketbase-list-records"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoNuméro de page (défaut: 1)
sortNoTri (ex: "-created" pour décroissant)
filterNoFiltre au format PocketBase (ex: "title~'test'")
perPageNoNombre de records par page (défaut: 50)
collectionNameYesNom de la collection

Output Schema

NameRequiredDescriptionDefault
pageYes
perPageYes
recordsYes
successYes
totalItemsYes
totalPagesYes
collectionNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only that results are paginated — a fact that largely follows from the schema's page/perPage parameters — and says nothing about read-only safety, required permissions, ordering defaults, or what happens with invalid collection names.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity is closer to under-specification than to disciplined conciseness.

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

Completeness3/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 not be explained, and the tool is a simple read operation. However, for a no-annotation tool the description leaves gaps around permissions, sort/filter interplay, and total-count/pagination behavior that an agent would want before calling it.

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%, with each parameter (page, perPage, filter, sort, collectionName) individually documented including examples and defaults. The description adds no further parameter meaning, which is acceptable at this coverage level.

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?

States a specific verb and resource: listing all records of a PocketBase collection, with the scope word 'tous' hinting at bulk retrieval rather than a single record. It does not explicitly contrast with sibling pocketbase-fetch-record or pocketbase-create-record, so the differentiation relies on the reader's inference.

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 statement of when to use this tool versus pocketbase-fetch-record or the create/update record siblings, and no mention of prerequisites such as collection existence or auth. Only the word 'pagination' implies a bulk-listing use case.

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