Skip to main content
Glama
@proof-holdings/mcp-server

@proof-holdings/mcp-server

Official

get_current_user

Read-only

Get the signed-in user's account details, plan and settings. Needs a login session: call start_login, then wait_for_login until it reports success.

Instructions

Get the signed-in user's account details, plan and settings. Needs a login session: call start_login, then wait_for_login until it reports success. An API key alone cannot read this — for the key's own account use get_self_api_key or get_settings.

ACCESS: needs a Proof account, signed in: call start_login, show the user its challenge, then wait_for_login, then call this tool again. An API key alone does NOT open this tool.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_current_user"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idYesMongoDB ObjectId
tenantYes
deletionYesWhere the account stands with deletion; the dashboard routes a locked session to the lock page from it.
avatar_urlYesThe primary sub-account's avatar, else any sub-account's; null when none has one.
created_atYes
login_emailNoThe email this session signed in with; absent for a phone sign-in.
login_phoneNoThe phone this session signed in with, else the account's login phone; absent for an account with neither.
display_nameNo
phone_numberNoThe account's login phone, when it has one.
last_login_atNo
login_channelYes
verification_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv1.12.0
    • addedOutput schema / description
      Added value: +"The signed-in account, as `GET /auth/me` answers it."
    • addedOutput schema / properties / avatar_url
      Added value: +{
      +  "description": "The primary sub-account's avatar, else any sub-account's; null when none has one.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / created_at / type
      Added value: +"string"
    • addedOutput schema / properties / deletion
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Where the account stands with deletion; the dashboard routes a locked session to the lock page from it.",
      +  "properties": {
      +    "hold_reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "scheduled_for": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "state": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "scheduled_for",
      +    "hold_reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / display_name
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / emails
      Removed value: -{}
    • addedOutput schema / properties / id / type
      Added value: +"string"
    • addedOutput schema / properties / last_login_at
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / login_channel
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / login_email
      Added value: +{
      +  "description": "The email this session signed in with; absent for a phone sign-in.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / login_phone
      Added value: +{
      +  "description": "The phone this session signed in with, else the account's login phone; absent for an account with neither.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / phone_number
      Added value: +{
      +  "description": "The account's login phone, when it has one.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / phone_numbers
      Removed value: -{}
    • addedOutput schema / properties / tenant
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "plan": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "plan"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / verification_count
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / required
      Added value: +[
      +  "id",
      +  "avatar_url",
      +  "login_channel",
      +  "verification_count",
      +  "created_at",
      +  "tenant",
      +  "deletion"
      +]
  2. Changed1 schema field changedv1.7.2
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "created_at": {},
      +    "emails": {},
      +    "id": {
      +      "description": "MongoDB ObjectId"
      +    },
      +    "phone_numbers": {}
      +  },
      +  "type": "object"
      +}
  3. First observedv1.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds the non-obvious behavioral fact that authentication is session-based, not key-based, and that the correct sequence is start_login → show challenge → wait_for_login → retry. That is genuine value beyond the annotations. It stops short of noting rate limits or what happens if the session expires mid-flow, keeping it at 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is well front-loaded, but the definition says the same thing twice: the opening paragraph already instructs "call start_login, then wait_for_login until it reports success," and the ACCESS block repeats the identical sequence. The duplicated auth paragraph could be merged into one, costing roughly a third of the text for no new information.

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

Completeness5/5

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

For a parameterless read tool with an output schema handling the return shape and readOnlyHint covering the safety profile, the only real unknown an agent faces is authentication, and that is covered thoroughly. Alternatives for the unauthenticated case are named, so no dead end remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline is 4. The description correctly avoids inventing parameter detail and instead spends its words on the auth prerequisite, which is the only thing that can vary in a call to this tool.

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?

States a specific verb and resource ("Get the signed-in user's account details, plan and settings") and immediately distinguishes itself from two named siblings, get_self_api_key and get_settings, which cover the API-key-scoped equivalents. An agent can route between these three without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the explicit positive condition (must have a login session, obtained via start_login then wait_for_login) and the explicit negative condition (an API key alone cannot read this), plus the alternative tools to use in that case. Nothing about when to select or skip this tool is left to inference.

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

Deploy Server

Other Tools