Skip to main content
Glama

whoami

Read-only

Returns the authenticated user (id, email, plan), the project named by the X-Project-Id header of the current MCP connection (if any), and server time. Useful for clients to verify which API key resolved to which account and which plan it has (MCP access is open from the Free plan, but the plan still limits some actions, such as the number of projects and collaboration invitations). When writing to the bound project is blocked for the account, project.writeLock says so (field ABSENT otherwise): only a human lifts it, with "Unlock writing" in the project.

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
_unusedNoUnused parameter

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _unused / description
      Previous value: -"Paramètre non utilisé"New value: +"Unused parameter"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description goes further: it enumerates the returned fields, explains that project.writeLock is present only when writes are blocked, and notes that only a human can lift the lock via 'Unlock writing'. That conditional-field-presence detail is exactly the kind of behavior annotations cannot convey.

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?

The return values are front-loaded in the first sentence and the writeLock caveat follows logically. The parenthetical about Free-plan limits on projects and invitations is slightly tangential and could be trimmed, but it does explain why the plan field matters.

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 burden of describing return values — and it does, listing user fields, project, server time, and the conditional writeLock field. An agent has everything needed to call it and interpret the result.

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 only parameter is a documented placeholder (_unused), so there is no meaningful parameter semantics to add; the schema already covers it at 100%. Baseline 4 applies for a zero-real-parameter tool.

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 opens with a precise verb+resource: returns the authenticated user (id, email, plan), the project bound via the X-Project-Id header, and server time. This is unambiguously an identity/diagnostic read, clearly separable from the write-oriented siblings such as add_cell or assign_person.

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 states a concrete use case: clients verifying which API key resolved to which account and plan. It doesn't give explicit exclusions or name an alternative tool, but for a self-describing diagnostic endpoint there is little ambiguity about when to reach for it.

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.