Skip to main content
Glama

whoami

Read-onlyIdempotent

Who this token is: the person it was minted by, and whether it is an agent token. Work done with an agent token is authored as the agent on behalf of that person and held for their review; nothing here can change that.

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

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so the safety profile is covered. The description adds value beyond them by explaining the consequence of the agent-token flag: work is authored as the agent on behalf of the person and held for their review, and this tool cannot alter that. It does not cover error cases (e.g., an invalid or expired token), which keeps it from a 5.

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?

Two sentences, front-loaded with the identity definition and followed by the one behavioral fact that matters (attribution and review of agent-authored work). The closing clause "nothing here can change that" is slightly redundant but reinforces immutability, so the text stays lean overall.

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?

With no parameters and no output schema, the description has to carry the return semantics, and it does name the two things returned (the minting person and the agent-token status). Exact field names or shape are not given, but for a trivial introspection call this is sufficient to use the tool correctly.

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 schema has zero parameters, which sets the baseline at 4, and there is nothing for the description to disambiguate. It correctly spends no words on argument semantics and instead describes the conceptual output.

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?

"Who this token is: the person it was minted by, and whether it is an agent token" names the exact resource (the current token's identity) and the two fields it resolves to (minting person, agent flag). It is precise enough that an agent knows exactly what question this tool answers, though it is phrased as a definition rather than a verb+resource statement.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative, but the purpose strongly implies the context: check identity or agent status before acting. For a zero-parameter, single-purpose introspection tool the implied usage is close to self-evident, so a middle score is appropriate rather than a low one.

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