Skip to main content
Glama

get_sub_account

Read-only

Get one sub-account by ID, with its full details including theme, custom links, and verification display settings.

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

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": {
      "profile_id": "<profile_id>"
    },
    "name": "get_sub_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
profile_idYesProfile ID

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds the real operational gate — a Proof account plus client authentication — which an agent cannot learn from the annotations. It stops short of describing failure modes (invalid or inaccessible profile_id) but the output schema covers the success shape.

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?

Front-loaded with what the tool returns, then the access constraint, in three short sentences with no filler. The parenthetical Claude Code hint is slightly implementation-specific for a general audience but is practical and brief.

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

Completeness4/5

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

A single-parameter read tool with an output schema and readOnlyHint; the description covers purpose, scope, and the authentication requirement, which is the main thing that could cause a failed call. Only the behavior on a missing or unauthorized ID is left unstated.

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 coverage is 100% for the single profile_id parameter, so the baseline of 3 applies. The description's 'by ID' does not explicitly tie the identifier to profile_id, adding no meaning beyond the schema.

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 ('Get one sub-account by ID') and enumerates the returned content (theme, custom links, verification display settings), which separates it from list_sub_accounts by scope. It does not explicitly name get_current_sub_account as the alternative for 'the caller's own' sub-account, so the distinction is inferable rather than stated.

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 ACCESS block gives a concrete prerequisite and workflow (authenticate the client, then retry, and start_login does not unlock this tool), which is genuinely useful. However, there is no guidance on when to choose this over list_sub_accounts or get_current_sub_account, and no note on what happens with an unknown ID.

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.