Skip to main content
Glama
PocketBase MCP Server

PocketBase MCP Server

Voir les Détails d'une Collection

pocketbase-view-collection

Retrieves and displays a PocketBase collection's fields and rules, letting you inspect schema details by collection name.

Instructions

Affiche les détails d'une collection PocketBase (champs, règles, etc.)

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-view-collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionNameYesNom de la collection

Output Schema

NameRequiredDescriptionDefault
collectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Affiche' implies a read-only, non-destructive operation, which is useful behavioral signal, but the description says nothing about permissions required, behavior when the collection name does not exist, or error handling. An output schema exists, so return-value explanation is not required.

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?

One short sentence with the resource front-loaded and no filler; the parenthetical hint about fields and rules earns its place. It is appropriately sized for a simple single-parameter read tool.

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?

For a one-parameter read operation with a full schema and an output schema, the description is minimally sufficient. Its real gap is not complexity but disambiguation: with siblings like pocketbase-get-collection-schema and pocketbase-list-collections, an agent has no textual basis to choose correctly.

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?

There is a single parameter, collectionName, and schema description coverage is 100%, so the schema already documents it fully. The description adds no extra meaning such as format conventions, case sensitivity, or whether system collections are accepted, 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?

States a specific verb and resource ('Affiche les détails d'une collection PocketBase') and enumerates what the details comprise (champs, règles). However, it never distinguishes this from the sibling pocketbase-get-collection-schema, which by name appears to return overlapping schema information, so an agent cannot tell the two apart from the description alone.

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 purpose implies when the tool is useful (inspecting a collection's configuration), but there is no explicit when-to-use, no when-not-to-use, and no naming of the closely related pocketbase-get-collection-schema or pocketbase-list-collections alternatives. Usage is only inferable from the verb.

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