Skip to main content
Glama

get_current_sub_account

Read-only

Get the current sub-account record: with a sub-account key, that key's own sub-account; otherwise the account's primary sub-account. The first call creates a primary sub-account if the account has none (never for a sub-account key, which gets profile_not_found). Returns profile details, theme, custom links, and public proof display settings. Its write twin is update_public_page (the same record). In the dashboard, the Profile page (https://proof.holdings/profile) edits whichever sub-account is selected there.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login 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_sub_account"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
idYesMongoDB ObjectId
bioNo
themeYesProfile theme customization
usernameNoAbsent until a username is claimed
is_publicYes
avatar_urlNoA URL or a data URI; null once cleared
created_atYes
is_primaryYes
profile_idYesThe public id used in profile URLs
updated_atYes
view_countYes
email_themeYesTheme of this sub-account's emails; null when unset (read as `dark`).
is_businessYes
name_reviewYesWhy a typed name is left out of the public reads: it reads as a protected brand's own, until a domain of that brand is checked. Null when nothing is held.
proof_orderYesWho decided the order of a profile's proofs. `default`: domain, social account, Telegram bot, email, phone, wallet, then each proof's `display_order`. `owner`: the owner's `display_order` alone — send it when the owner reorders. The first shown proof that is not hidden leads the profile's preview card, share tags and badge. Omitted on an update, the profile keeps its current setting.
custom_linksYes
display_nameNo
business_nameNo
name_headlineYesWhy a published name may not lead the page (it carries a protected brand word); it leads only when an OV/EV certificate names it. Null when not demoted.
public_proofsYesThe shown proofs, in the order the public profile shows them
support_emailYesSupport address shown in this sub-account's messages; null when unset.
show_delegationsYes
channels_completeYesThe owner's statement that the channels listed are all of theirs.
verification_levelYesAlways 'basic'; no levels are computed; removed in the next major.
show_proof_channelsYes
username_is_defaultNoThe username was given automatically (from the domain the profile shows, else its short id); the owner may replace it once with a name of their choice.
show_verification_datesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior2/5

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

The description is unusually rich about behavior: first-call creation side effect, the profile_not_found outcome for sub-account keys, the authentication requirement, and the returned sections. However, the disclosed 'first call creates a primary sub-account' is a write side effect that conflicts with readOnlyHint=true, so an agent trusting the annotation for auto-approval or caching would be misled.

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 core resolution rule and side effect are front-loaded in the first two sentences, and the structure separates behavior from access. The dashboard URL and the parenthetical Claude Code hint are marginally useful padding, keeping it just short of ideal.

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?

Covers identity resolution, side effects, error mode, authentication, related write tool, and a summary of the payload, with an output schema available for return details. Nothing an agent needs in order to call this correctly is missing.

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?

Zero parameters, so there is nothing for the description to disambiguate beyond the implicit input — the sub-account key carried by the client's credentials, which the description does clarify. Baseline 4 is appropriate for a parameterless 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 and immediately disambiguates the two resolution modes (sub-account key vs. account primary), plus names its write counterpart update_public_page. An agent can distinguish it from get_sub_account and list_sub_accounts on the strength of the text alone.

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?

Explicitly covers when it applies (with a sub-account key vs. without), names the write twin to use for edits, and even excludes a tempting alternative by noting start_login does not open this tool. The dashboard note further orients the agent to the same record edited elsewhere.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.