Skip to main content
Glama

Stash — Shared AI Memory

Identify the connected account

whoami
Read-onlyIdempotent

Call whoami({}) to identify the account behind this connection, its display names and verified emails, and the active brain, role, plan, monthly token usage and limits, and memory counts. Includes up to 50 of your brains. If the selected brain is unavailable, its statistics are omitted. Takes no arguments and uses no embedding tokens.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
scopeYes
usageNo
brainsYes
memoryNo
accountYes
identitiesYes
plan_titleNo
next_actionsNo
current_brainYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: a 50-brain listing cap, the caveat that an unavailable selected brain is silently omitted from statistics, and that the call consumes no embedding tokens — the omission caveat in particular prevents misreading a partial result.

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 the purpose, then the returned data, then the caveats — a sensible order with no filler sentences. Minor waste in the literal 'Call whoami({})' invocation syntax, which is redundant for a tool with an empty parameter object.

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 no-argument identity tool this covers everything an agent needs: what it returns, the scope limit on brains, how partial results arise, and the cost profile. An output schema exists, so the field enumeration is supplementary rather than required, and nothing 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 the baseline is 4. The description confirms this explicitly ('Takes no arguments'), which matches the empty schema and leaves nothing to misinterpret.

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 ('identify the account behind this connection') and immediately enumerates what is returned: display names, verified emails, active brain, role, plan, token usage/limits and memory counts. No sibling tool in the list performs identity lookup, so the agent can distinguish it without opening the schema.

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?

The framing ('the account behind this connection', 'the active brain') makes the natural use case clear — checking identity, entitlements, and quota before other operations. It does not explicitly state when-not to call it, but with zero parameters and no competing sibling there is little ambiguity to resolve.

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.

Resources