Skip to main content
Glama

whoami

Read-onlyIdempotent

Retrieve the caller's authentication-bound identity—actor, member, workspace, delegation grant, capabilities, and bearer status—so writes are attributed to the correct member.

Instructions

Return the authentication-bound identity: actor_id, member_id, optional delegation_grant_id, workspace_id, capabilities, capability_sets the caller fully holds, and whether the credential is a bearer. Call this first — writes are attributed to member_id.

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 observedv479.0.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already state readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds behavior that those annotations do not cover: the result is bound to the caller's credential, delegation may or may not be present, capability_sets are only those that the caller *fully* holds, and writes get attributed to member_id. It does not describe what happens when the caller is unauthenticated, and with no output schema it could have given one more sentence about the shape of the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence that leads with what is returned and follows with when to call it; there is no filler, and the most important instruction is placed at the end so that it is clear. There is nothing to trim.

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 zero-parameter bootstrap tool with no output schema, the description carries the entire burden of documenting the return values, and it does so field by field, including the subtle distinction between capabilities and capability_sets the caller fully holds. Nothing an agent needs in order to call it correctly or interpret the result 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?

The tool takes zero parameters, so there is nothing for the description to disambiguate, and the baseline for a no-parameter tool applies. The description does not add param meaning, but none is required, and schema coverage is 100%.

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 pairs a specific verb with a specific resource (the authentication-bound identity) and then enumerates exactly which fields come back: actor_id, member_id, delegation_grant_id, workspace_id, capabilities, capability_sets, and bearer status. That is enough to separate it from siblings such as attenuate_token or approval_decide without opening any 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?

'Call this first — writes are attributed to member_id' gives a clear, actionable point at which the tool should be used (startup, before any mutation), plus the reason. What is missing is an explicit exclusion (for example, when a cached or delegated identity would be preferable); there is no mention of alternatives, but for a bootstrap call, the context supplied is strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools