Skip to main content
Glama

list_sub_accounts

Read-only

List every sub-account of the authenticated account, the primary one included.

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": "list_sub_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
profilesYesThe primary first, then by creation
max_profilesYesHow many sub-accounts the plan allows; -1 for no limit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The readOnlyHint annotation already covers the safety profile, yet the description adds the non-obvious prerequisite: a Proof account plus a specific in-client authentication path (/mcp → Authenticate), and states that start_login does NOT unlock it. That is exactly the kind of operational context annotations cannot convey, though pagination or result-size behavior is unmentioned.

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?

Purpose is front-loaded in one sentence and the access caveat follows in a separate block, which is easy to scan. Slightly wordy ('Authenticate this client... then call this tool again') but nothing is genuinely wasteful.

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?

With no parameters, an output schema present, and readOnlyHint declared, the only real gap was the auth precondition, which is explained with a concrete remedy. Minor incompleteness: no note on result volume or whether large account trees are truncated.

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 the baseline applies and there is nothing for the description to disambiguate. No misleading parameter claims are made.

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?

"List every sub-account of the authenticated account, the primary one included" gives a specific verb (list), resource (sub-accounts), and a scope qualifier that meaningfully separates it from get_sub_account / get_current_sub_account. It stops short of explicitly naming a sibling it replaces, so the differentiation is implied 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?

Usefulness context is implied (enumerate all sub-accounts) and it explicitly rules out start_login as a way to unlock this tool, which is a genuine negative constraint. However, it never says when to prefer this over get_sub_account or get_current_sub_account, leaving the alternative choice to inference.

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.