Skip to main content
Glama

whoami

Show who this connection is signed in as: user identity, every org they belong to and their role in each, the environments reachable in the current org (or the subset this connection is scoped to), and the org's content locales (the first is the default). Call this first to orient before navigating across orgs/environments.

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.2/5.0
Behavior3/5

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

With no annotations provided, the description must carry the safety profile, and it only implies read-only behavior through the word 'Show'. It does add useful context beyond the name: results are scoped to the connection's current org and possibly a restricted subset, and the first locale is the default. It says nothing about permissions required, error behavior for an invalid/expired connection, or rate limits.

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?

Two sentences, front-loaded with the core purpose and followed by the orienting directive. The parenthetical clarifications ('or the subset this connection is scoped to', 'the first is the default') earn their place but make the first sentence heavy and borderline run-on.

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?

There is no output schema, so the description carries the return-value burden and does so by enumerating each returned field group, including the default-locale ordering rule. For a zero-parameter orientation tool, nothing an agent needs in order to call it correctly 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, which is the baseline-4 case; there is no parameter meaning to explain. The description correctly implies no input is needed and spends its words on output semantics instead.

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 ('show who this connection is signed in as') and then enumerates exactly what comes back: identity, orgs with roles, reachable environments, and content locales. No sibling tool overlaps with this function, so the agent can recognize it immediately as the identity/introspection call.

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?

Gives explicit ordering advice: 'Call this first to orient before navigating across orgs/environments.' That covers the when-to-use case clearly. It does not name a when-not-to-use case, but no sibling here is a plausible substitute for identity lookup, so the omission is low-cost.

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