Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

Return who this token acts as: the workspace (id, name), its plan and limits, and the role. Call it first when unsure what the token may do: viewer only reads; member also edits prompts, personas and competitors; admin also runs scans and manages AI keys.

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

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

Annotations already cover readOnly, idempotency, closed-world and non-destructiveness, so the safety profile is settled. The description adds genuine value beyond them by disclosing the shape of the response (workspace id/name, plan, limits, role) and the permission tiers that determine what the agent may attempt next.

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 with zero filler. The return contents are front-loaded in sentence one and the actionable 'call this first' routing advice follows immediately.

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?

No output schema exists, and the description compensates by naming the returned fields and the role values. For a zero-parameter introspection tool with full annotation coverage, 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?

Zero parameters, so the baseline of 4 applies; the description correctly implies no inputs are needed and spends no words on nonexistent arguments.

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 token acts as', then enumerates the returned fields (workspace id, name, plan and limits, role). No sibling tool does identity/introspection, so it is unmistakably distinct from list_projects or get_dashboard.

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 a concrete trigger: 'Call it first when unsure what the token may do', followed by a role-to-capability map (viewer reads, member edits prompts/personas/competitors, admin runs scans and manages AI keys). It doesn't name a competing tool to avoid, but since it is the only identity tool, that omission costs little.

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