Skip to main content
Glama

whoami

whoami
Read-only

[ExoBench server version: 1.4.29]

Returns the current user as JSON. Use this tool when you want information about the currently authenticated user, including their username, how many benchmarks they have left, and when those recharge.

ExoBench server version: 1.4.29. Every tool response includes a serverVersion stamp.

IMPORTANT — ALWAYS SURFACE VERSION AND DIAGNOSTIC MESSAGES:

  • If any tool response shows a serverVersion whose major or minor version differs from 1.4.29, tell the user their tool definitions are stale and they should disconnect and reconnect the ExoBench connector to get updated definitions.

  • If any tool response contains a Note, warning, or diagnostic message about versioning (including "No version provided"), report it to the user IMMEDIATELY in your very first response that receives such a message. Do not silently ignore it.

  • Quote the exact server message so the user can act on it.

GENERAL RULE FOR ALL EXOBENCH TOOL RESPONSES: If ANY tool response includes fields, notes, or messages beyond the primary payload (e.g., lines after a "---" separator, fields named "warning", "note", "diagnostic", or "message"), ALWAYS report them to the user before continuing with the main response. Server-side messages exist because the server operator wants the user to see them. Never silently discard them.

CORRELATION TRACKING (NOT a DB session): every tool response carries a "correlationId". Echo it back on subsequent ExoBench tool calls. It is for tracking ONLY — it does NOT preserve database state. Each tool call provisions a fresh ephemeral DB from the schema you pass in THAT call. Tell the user this if they expect persistence.

WHAT IT RETURNS:

  • User identification: userId, githubUsername, email

  • Authentication tier: Unauthenticated, Authenticated, or Preview

  • Trial status: none, pending, approved, or rejected

  • Benchmark usage statistics:

    • used: Number of benchmarks consumed

    • limit: Maximum benchmarks allowed (null = unlimited)

    • remaining: Benchmarks remaining (null = unlimited)

    • windowDuration: How long until limit resets (e.g., "P7D" for 7 days, null = never resets)

    • resetsAt: Unix timestamp when limit resets (null = never)

  • Account creation timestamp

Tier table and example outputs: getMcpDocs('whoami').

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
correlationIdNo [TRACKING ONLY — does NOT preserve DB state, schema, or settings between calls.] Echo the correlationId from the previous ExoBench response so the ExoBench team can correlate your workflow for analytics. Omitted = a new one is created. Each tool call still provisions a fresh ephemeral DB from its own schema parameter.
exobenchServerVersionNoExoBench server version — copy the X.X.X from the [ExoBench server version: X.X.X] tag at the top of this tool's description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint/destructiveHint/openWorldHint, so the description carries most of the load and does so well: it discloses the full return payload, the three authentication tiers, trial states, null-means-unlimited semantics, and the serverVersion stamp. It also explains that correlationId is tracking-only and does not persist DB state. The main dilution is that a large share of the text is boilerplate version/diagnostic policy repeated across every ExoBench tool rather than behavior specific to whoami.

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

Conciseness2/5

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

The core sentence is front-loaded and efficient, but it is buried under a repeated version tag, an ALL-CAPS versioning policy block, a general rule about reporting diagnostic fields, and a correlation-tracking caveat before the actual return values appear. Roughly half the text is cross-tool boilerplate that does not earn its place in a definition for a zero-required-parameter identity lookup.

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 must describe returns, and it does so exhaustively — identity fields, auth tier, trial status, usage counters with null semantics, reset window, and account creation timestamp. Combined with the parameter documentation, an agent has everything needed to call this correctly and interpret the result.

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?

Schema description coverage is 100% and both parameters (correlationId, exobenchServerVersion) already carry their own descriptions in the schema. The description reinforces the correlationId tracking semantics and the no-persistence caveat, which adds meaning, but it says nothing extra about the version parameter beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

"Returns the current user as JSON" gives a concrete verb and resource, and the follow-up sentence enumerates exactly what that user object contains (username, benchmarks remaining, recharge time). No sibling tool in the catalog does identity lookup, so an agent can select this without ambiguity.

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?

"Use this tool when you want information about the currently authenticated user" states the triggering condition clearly, and it routes to getMcpDocs('whoami') for the tier table and sample output. It stops short of saying when not to use it (e.g., that it does not check quotas for a specific benchmark run), so it is clear but not fully discriminating.

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