Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

The user id, credential type, scopes and plan of the credential this connection uses, the billing state (free and credit minutes, how the account is charged), whether plan-count limits are enforced, and the connected alert destinations (Slack, Discord, Telegram, Home Assistant, IFTTT, Microsoft Teams, PagerDuty, SMS, WhatsApp, webhook) with what to do next. Returns no email for API 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

A3.7/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 safety is covered. The description adds genuinely new behavioral context beyond that: which credential is inspected, that billing and limit-enforcement state are exposed, and the notable caveat that API-key credentials receive no email.

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

Conciseness3/5

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

It is a single sentence with no filler, but it is a run-on enumeration with nested parentheticals, and the ten-item list of alert destination vendors is heavy relative to its decision value. The most useful detail (no email for API keys) is buried at the end rather than front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must carry the return-value burden, and it does so broadly — covering identity, plan, billing, limits, and integrations. It stops short of describing the result's shape or field names, which leaves some assembly work for the agent.

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, so there is nothing for the description to disambiguate; the baseline for a 0-param schema is 4. Nothing in the description misdescribes the (empty) input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates exactly what the tool returns about the calling credential — user id, credential type, scopes, plan, billing state, plan-count enforcement, and alert destinations — which makes the introspective purpose unmistakable. It lacks an explicit verb (e.g., 'Returns...') and never contrasts itself with siblings, but 'whoami' plus this field list is clear.

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?

Usage is only implied: an agent can infer it should call this to learn its own identity, plan, or billing/alert configuration. There is no explicit when-to-use statement, no preconditions, and no routing to or away from alternatives such as 'docs' or 'read'.

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.