Skip to main content
Glama
mrwyndham

PocketBase MCP Server

confirm_password_reset

Complete password reset process by verifying token and setting new password for user accounts in PocketBase databases.

Instructions

Confirm password reset with token

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesReset token
passwordYesNew password
passwordConfirmYesConfirm new password
collectionNoCollection name (default: users)users

Implementation Reference

  • src/index.ts:453-479 (registration)
    The 'confirm_password_reset' tool is registered in the ListTools response, including its name, description, and input schema.
    {
      name: 'confirm_password_reset',
      description: 'Confirm password reset with token',
      inputSchema: {
        type: 'object',
        properties: {
          token: {
            type: 'string',
            description: 'Reset token',
          },
          password: {
            type: 'string',
            description: 'New password',
          },
          passwordConfirm: {
            type: 'string',
            description: 'Confirm new password',
          },
          collection: {
            type: 'string',
            description: 'Collection name (default: users)',
            default: 'users'
          }
        },
        required: ['token', 'password', 'passwordConfirm'],
      },
    },
  • Input schema for the confirm_password_reset tool, defining required parameters: token, password, passwordConfirm, and optional collection.
    inputSchema: {
      type: 'object',
      properties: {
        token: {
          type: 'string',
          description: 'Reset token',
        },
        password: {
          type: 'string',
          description: 'New password',
        },
        passwordConfirm: {
          type: 'string',
          description: 'Confirm new password',
        },
        collection: {
          type: 'string',
          description: 'Collection name (default: users)',
          default: 'users'
        }
      },
      required: ['token', 'password', 'passwordConfirm'],
    },
Behavior2/5

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

With no annotations, the description carries full burden but only states the action without behavioral details. It doesn't disclose if this is a mutation (implied by 'confirm'), what permissions are needed, whether it invalidates the token, or any rate limits/errors, leaving significant gaps for a security-sensitive operation.

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?

The description is a single, efficient sentence with no wasted words, making it easy to parse. However, it could be more front-loaded with key details (e.g., 'Finalize password reset for a user account'), but it's appropriately sized for its limited content.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a password reset operation (security-sensitive, no annotations, no output schema), the description is incomplete. It lacks details on behavior, error cases, or output expectations, which are critical for safe tool invocation in this context.

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%, so parameters are well-documented in the schema. The description adds minimal value by mentioning 'token', but doesn't explain parameter interactions (e.g., password matching) or the optional 'collection' parameter beyond the schema's default, meeting the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the action ('confirm password reset') and mentions the token parameter, which gives a basic understanding. However, it doesn't specify what resource is being modified (e.g., user account) or differentiate from siblings like 'request_password_reset' or 'confirm_email_change', making it somewhat vague.

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?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., after 'request_password_reset'), exclusions, or how it relates to sibling tools like 'authenticate_user' or 'create_user', leaving usage context unclear.

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/mrwyndham/pocketbase-mcp'

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