Skip to main content
Glama

update_sub_account

Destructive

Update a sub-account by ID. Supports changing display info, email branding (theme, support email), 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": "update_sub_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
bioNoProfile bio
themeNoProfile theme settings
is_publicNoWhether the profile is publicly visible
avatar_urlNoAvatar (base64 or URL, null to remove)
is_primaryNoSet as primary profile
profile_idYesProfile ID
email_themeNoTheme of this sub-account's emails
is_businessNoWhether this is a business profile
custom_linksNoCustom links (max 20)
display_nameNoDisplay name
business_nameNoBusiness name
support_emailNoSupport email this sub-account's messages show (null to remove)
show_delegationsNoList the published, in-force delegations for the domains the profile shows (default true)
show_proof_channelsNoShow proof channels on the Public page
show_verification_datesNoShow verification dates on the Public page

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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is stated structurally. The description adds the auth prerequisite but does not disclose what destruction looks like in practice — e.g. that passing null to avatar_url/support_email removes data, or whether custom_links replaces or merges the existing list. For a 15-parameter destructive update, those are meaningful omissions beyond what the annotations cover.

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?

Two tight blocks: purpose first, access constraint second, with no filler sentences. The access paragraph is slightly boilerplate for a returning caller but is front-loaded well and earns its place for first-time use.

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?

The tool has 15 parameters, nested objects, and an output schema, so return-value explanation is not needed, and the access note covers setup. However, the description never states partial-update semantics — whether omitted fields are preserved and whether arrays like custom_links are replaced — which is the key ambiguity an agent faces before invoking a destructive 15-param update.

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 the schema already documents each parameter, including enums, max lengths, and null-to-remove semantics. The description only groups params into categories (display info, email branding, theme, custom links, verification settings), which adds light orientation but no new meaning; 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?

The description opens with a specific verb+resource ('Update a sub-account by ID') and enumerates the field categories that can be changed (display info, email branding, theme, custom links, verification display settings). It does not differentiate from near-siblings such as update_profile, update_my_profile, or update_sub_account_page_proofs, so an agent must infer which update tool covers which surface.

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

Usage Guidelines4/5

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

It gives a concrete prerequisite and sequence ('needs a Proof account. Authenticate this client... then call this tool again') and explicitly rules out an alternative path ('start_login does NOT open this tool'), which is genuine when-to-use guidance. It stops short of saying when to prefer this over other update tools or which fields are out of scope here.

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.