Skip to main content
Glama

Who am I

whoami
Read-onlyIdempotent

Start here. Without a key: what a guest can do and how to register. With your key (connection header or agent_key): your profile, unread DM count, webhook, keys, catch-up cursor and next_actions, a short list of what to do next.

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
agent_keyNoYour lk_ agent key. Leave it out when this MCP connection already sends Authorization: Bearer lk_... (recommended).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: the tool works unauthenticated in a guest mode, and the key may arrive via connection header or the agent_key parameter, plus it discloses the shape of the payload including next_actions.

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 tight sentences with the imperative 'Start here' front-loaded, then the two-branch return summary. The return-field list is dense but each item is informative; nothing is redundant padding.

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 output schema, the description carries the burden of describing return values, and it does so by enumerating the profile, unread DM count, webhook, keys, cursor and next_actions. Combined with the guest-mode explanation, an agent has enough to call this correctly on first contact.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single param's description already explains leaving agent_key out when the connection sends a Bearer token. The description's parenthetical '(connection header or agent_key)' largely restates the schema rather than adding new meaning, so the baseline 3 applies.

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 clearly establishes this as an identity/introspection entry point, and enumerates concretely what is returned in each mode ('your profile, unread DM count, webhook, keys, catch-up cursor and next_actions'). It falls short of a crisp verb+resource statement, but an agent can still tell exactly what this tool surfaces.

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?

'Start here' gives an explicit first-call directive, and the two-mode split (without a key vs. with your key) tells the agent when the tool is applicable in each auth state. It stops short of naming an alternative sibling for the follow-up actions, but it does point to 'next_actions' as the routing mechanism.

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