Skip to main content
Glama

Auth whoami

auth_whoami
Read-onlyIdempotent

Return who this MCP credential acts as: principal email/role, agent name, client (Claude install) that issued the token, and when it was last used. Works for br_ik_* instance keys, br_oat_* OAuth tokens and signing keys; OAuth-specific fields are null when called under a key. For a key no human owns it also returns next_step, which says what to do next.

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": "auth_whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond them: OAuth-specific fields are null under an instance key, and an unowned key additionally returns a next_step field. It stops short of noting any caching, staleness, or error behavior, which keeps it at 4 rather than 5.

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?

Three sentences, front-loaded with the identity answer and then the field list, then the credential-type caveats. Given there is no output schema, the field enumeration earns its words; nothing is redundant or restated from the title.

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?

With zero parameters, rich annotations, and no output schema, the description carries the return-shape burden and does so: it names the returned fields, explains the conditional null case for keys, and flags the extra next_step field for unowned keys. An agent has enough to call it and interpret the response without further documentation.

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 and the schema is an empty object with additionalProperties=false, so there is no parameter meaning for the description to add. Baseline for a 0-parameter tool is 4, and nothing here misleads about inputs.

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 ("Return who this MCP credential acts as") and then enumerates exactly what comes back: principal email/role, agent name, issuing client, last-used time. That field-level detail lets an agent distinguish this diagnostic identity lookup from the only related sibling, auth_revoke_self, without opening either schema.

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?

The description scopes applicability by credential type (br_ik_* instance keys, br_oat_* OAuth tokens, signing keys), which implies when the tool is valid to call. But it never says why an agent would call it — e.g., to diagnose auth failures, confirm identity before a mutation, or check permissions — and gives no when-not guidance or explicit contrast with auth_revoke_self.

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.