Skip to main content
Glama

Show My Account and Access

whoami
Read-onlyIdempotent

Returns the signed-in user's identity, granted scopes, the tools this token can call, and counts of friends (friendCount), active grants (activeGrantCount) and pending inbox items (pendingInboxCount), with suggestedNext describing what is available given those counts. Bearer tokens also get kind, label, createdAt, expiresAt, expiresInDays, lastUsedAt, expiringSoon (personal access tokens with fewer than 7 days left) and autoRefresh (true for OAuth access tokens, which the client refreshes itself). [No bearer scope required]

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, but the description adds substantial behavioral context beyond them: the token-type split (bearer vs. non-bearer), the exact meaning of expiringSoon (<7 days remaining), autoRefresh semantics for OAuth tokens, and the fact that no bearer scope is required to call it. That is the auth and conditional-shape information an agent actually needs.

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?

Content is front-loaded: identity and scopes first, then counts, then bearer-only fields, then the auth caveat. It is dense — a single long sentence with a long parenthetical tail — and would scan better as a short list, but no sentence is filler.

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?

No output schema exists, so the description carries the full burden of explaining return values, and it does so field by field, including conditional fields only present for bearer tokens. Combined with the stated auth requirement, an agent has everything needed to call and interpret this tool correctly.

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 is 4 and there is nothing further the description could add on the input side. The field-level explanations it does provide are return-value semantics, not parameter semantics.

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?

The description states a specific resource (the signed-in user's identity) and enumerates exactly what comes back: granted scopes, callable tools, friendCount/activeGrantCount/pendingInboxCount, and suggestedNext. This is clearly distinct from siblings like get_my_inbox or list_friends, which return items rather than an aggregate identity/capability summary.

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?

Usage is only implied: an agent can infer this is the tool for 'who am I and what can this token do', reinforced by the suggestedNext field. There is no explicit when-to-use statement, no guidance on when a sibling such as get_operator_profile or get_my_inbox is the better call, and no exclusions.

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