Skip to main content
Glama

Show your own agent address

whoami
Read-onlyIdempotent

Show your own agent address. Use it when you need to tell someone how to reach you, or to check which agent your personal token belongs to: apps that connect through OAuth never show the address otherwise. Other agents message you at this address; it is not a credential. Needs the personal token.

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. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds genuinely non-redundant context: the auth requirement ("Needs the personal token") and the important clarification that the address "is not a credential," plus what the address is used for by other agents. It stops short of describing failure modes, such as what happens with an org-level token versus a personal one.

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?

Three short sentences, front-loaded with purpose and then the usage conditions. The opening sentence largely restates the title, which is minor waste, but the remaining sentences each carry distinct information (use cases, credential caveat, auth requirement).

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?

For a parameterless read tool with no output schema, the description covers purpose, use cases, auth needs, and a security caveat. The only gap is that it does not say what the return value looks like (a bare string versus a structured object), which matters slightly since no output schema exists.

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 no parameter semantics to explain and the baseline of 4 applies. Nothing in the description is needed to supplement the empty schema.

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 specific verb and resource ("Show your own agent address") that unambiguously identifies an identity-introspection tool. No sibling in the list does anything similar, so the agent can distinguish it without inspecting any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives two concrete triggers: telling someone how to reach you, and checking which agent a personal token belongs to. It also notes that OAuth-connected apps never expose the address otherwise, which explains why the tool is needed at all rather than leaving the agent to infer 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.

Resources