Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

Return the profile for these credentials: opaque id, display name, organization nickname, and this key's scopes. Does not return email. Organization is pinned to the connection. The id stays the same across token refresh and reconnect.

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
idYesOpaque profile identifier, unique within this app and unchanged across token refresh, reconnection, and display-metadata changes. Never reassigned to another profile.
nameNoDisplay name for the authenticated profile.
nicknameNoOrganization name, used to distinguish connected profiles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the annotations: it explicitly excludes email, explains that organization is pinned to the connection, and notes that the id remains stable across token refresh and reconnect. These details help an agent interpret the identity result correctly even though annotations already declare the operation read-only and idempotent.

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?

The description is short, front-loaded with the return purpose, and every sentence adds useful information: field list, email exclusion, organization pinning, and id stability. There is no wasted text.

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 identity tool with rich annotations and an output schema, the description is complete. It covers what is returned, what is intentionally omitted, and key stability semantics an agent would need in order to use the result 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?

There are zero parameters, so the baseline is 4. The description correctly avoids parameter discussion and does not need to compensate for any schema gap.

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: returning the profile for the current credentials, and enumerates the returned fields (opaque id, display name, organization nickname, scopes). It also distinguishes this from a general workspace/profile lookup by noting the organization is pinned to the connection.

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 implied by the name and phrase 'these credentials', but the description does not explicitly say when to call this tool or name an alternative. That is acceptable for a self-evident identity tool, but it leaves the when-to-use guidance implicit.

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