Skip to main content
Glama
PocketBase MCP Server

PocketBase MCP Server

Récupérer un Record PocketBase

pocketbase-fetch-record

Retrieve a specific record from a PocketBase collection by its ID. Use it to fetch a single entry when you know the collection name and the record ID.

Instructions

Récupère un record spécifique d'une collection PocketBase

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>",
      "recordId": "<recordId>"
    },
    "name": "pocketbase-fetch-record"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordIdYesID du record à récupérer
collectionNameYesNom de la collection

Output Schema

NameRequiredDescriptionDefault
recordNo
successYes
recordIdYes
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 bears the full behavioral burden. 'Récupère' implies a read-only operation, which is useful, but nothing is said about permission requirements, error behavior for a missing or malformed recordId, or whether access rules on the collection affect the result — significant omissions for a data-access tool with zero annotation coverage.

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 redundancy. It is efficient, though its brevity is close to under-specification rather than true tightness.

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?

The tool is simple (two required string parameters) and an output schema exists, so return values need not be described. What remains missing is the retrieval-vs-list decision boundary and failure behavior, which leaves the definition adequate but not fully complete.

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%, and both parameters (collectionName, recordId) already carry their own descriptions in the schema. The description's phrase 'd'un record spécifique d'une collection' merely echoes those two fields without adding format, case-sensitivity, or ID-shape guidance, so the baseline 3 applies.

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?

The description states a specific verb ('Récupère') and resource ('un record spécifique d'une collection PocketBase'), making the single-record retrieval operation clear. It does not, however, contrast itself with pocketbase-list-records or explain what makes a 'record' distinct from a collection-level query, so differentiation from siblings is left to the tool 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 explicit guidance on when to use this tool versus pocketbase-list-records for retrieval, nor any stated prerequisites (e.g. that the collection must exist or that the ID must come from a prior list call). The reader must infer usage entirely from the verb and the required parameters.

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