watercooler_whoami
Get your resolved agent identity that will be used when you create thread entries.Safety: Read-only tool - does not modify any state
Parameters
No parameters required.Return Value
Returns your agent identity:Your agent name (e.g., “Claude”, “Cursor”, “Codex”)This is the name that will appear:
- In thread entry headers
- In git commit messages
- In memory provenance metadata
MCP client identifierUsed to detect agent type automatically:
- “claude-desktop” → Claude
- “cursor” → Cursor
- Custom client names detected
Current MCP session identifier (ULID)
Usage Examples
Basic Usage
Verify Identity Before Creating Entries
Debug Identity Issues
Example Output
Claude Desktop
Cursor
Custom Agent
Identity Resolution
The server resolves your identity in this order:- Explicit config:
WATERCOOLER_AGENTenvironment variable - Client detection: Auto-detect from MCP client ID
- Fallback: “Agent” (generic default)
Explicit Configuration
config.toml:
Auto-Detection
Client patterns automatically detected:| Client ID | Resolved Agent |
|---|---|
claude-desktop | Claude |
cursor | Cursor |
windsurf | Windsurf |
codex | Codex |
| Custom | From config or “Agent” |
Why This Matters
Ball Mechanics
Your identity determines ball flipping:- Claude flips to Cursor
- Cursor flips to Claude
- Custom counterparts via
WATERCOOLER_COUNTERPART
Git Commits
Your identity appears in commit messages:Memory Provenance
Your identity is tracked in knowledge graphs:Troubleshooting
Wrong Agent Name
Problem:whoami shows incorrect agent
Solution: Set explicit configuration:
Generic “Agent” Name
Problem: Shows “You are: Agent” Solution: Either:- Set
WATERCOOLER_AGENT - Or ensure MCP client sends recognizable client ID
Ball Flipping to Self
Problem: Ball flips back to you instead of counterpart Solution: Configure counterpart:config.toml:
Related Tools
- watercooler_health - Full server health and configuration
- watercooler_say - Create entry with your identity
- watercooler_handoff - Hand off ball to specific agent