Skip to main content
Glama
yhauxell

pocketbase-mcp-server

by yhauxell

pb_list_records

Retrieve paginated records from a collection with support for filters, sorting, and expanded relations.

Instructions

Retrieve a paginated list of records from a collection with optional filtering, sorting, and relations expansion

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoThe page number to fetch (1-indexed)
sortNoPocketBase sort expression (e.g. '-created,id')
expandNoComma-separated relations to expand (e.g. 'user,category')
filterNoPocketBase filter expression (e.g. 'status = "active" && created > "2022-01-01"')
perPageNoNumber of records per page
collectionIdOrNameYesThe name or ID of the collection
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It mentions pagination and optional filtering/sorting/expand but omits details like authentication requirements, error handling, response structure, or side effects. It provides adequate but not comprehensive transparency.

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?

The description is a single sentence (14 words) with no wasted words. It is front-loaded with the core action and efficiently lists optional features.

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?

Given the tool has 6 parameters and no output schema or annotations, the description covers the essential behavior (list, paginate, filter, sort, expand) but lacks details on response format, error conditions, or usage context. It is minimally complete for a list tool.

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 baseline is 3. The description adds minimal extra meaning beyond summarizing the parameter purposes (e.g., 'optional filtering, sorting, and relations expansion'), which is already covered by parameter descriptions. No new semantics added.

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 clearly states the action ('Retrieve') and the resource ('paginated list of records from a collection'), and it distinguishes this tool from siblings like pb_view_record (single record) and pb_list_collections (list of collections) by focusing on records and listing.

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?

The description implies usage for fetching lists with optional features but does not explicitly state when to use this tool vs. alternatives or provide exclusion criteria. It lacks guidance on when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yhauxell/pocketbase-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server