Skip to main content
Glama

Who Am I

whoami
Read-only

Return identity of the user owning the current API token: user_id, email, username, full_name, role, tier, and a count of accessible projects. Use this first when debugging 'Access denied' errors to confirm which account the token belongs to.

Input Schema

NameRequiredDescriptionDefault
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint, destructiveHint=false and openWorldHint=false already declared, the safety profile is covered. The description still adds value by listing the exact fields returned, which matters because there is no output schema. It stops short of documenting error behavior for invalid or expired tokens.

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?

Two sentences, no filler, and the identity payload is front-loaded before the troubleshooting hint. Every clause earns its place.

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-required-parameter, read-only lookup with no output schema and no nesting, the description supplies everything needed: what it returns, why to call it, and the token-ownership scoping. Nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter is the analytics 'context' field, fully documented in the schema at 100% coverage including word count and phrasing rules. The description adds nothing about it, which is acceptable but no better than baseline.

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 uses a precise verb and resource ('Return identity of the user owning the current API token') and enumerates exactly what comes back (user_id, email, username, full_name, role, tier, project count). No sibling tool overlaps with this, so the agent can identify it instantly.

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?

It gives an explicit trigger: call it first when debugging 'Access denied' errors to confirm which account a token maps to. That is a clear context for use, though it does not name any alternative or state when not to call it — minor, since no sibling provides a competing identity lookup.

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