Skip to main content
Glama

Who am I

whoami
Read-only

Check which user or agent a key belongs to. Use it to confirm an API key works before publishing. Never returns the raw key.

Input Schema

NameRequiredDescriptionDefault
api_keyNoOptional slop_ API key. Use this when the client cannot send Authorization: Bearer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world behavior, so the safety profile is covered. The description adds a genuinely useful non-obvious trait: 'Never returns the raw key,' which is a security-relevant guarantee not present in the structured fields.

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

Conciseness5/5

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

Three short sentences, each earning its place: purpose, recommended use, and a return-value constraint. The core function is 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?

For a trivial read-only tool with a fully documented single optional param and no output schema, the description covers purpose, usage, and the key return guarantee. Only a slightly clearer statement of what it does return (identity details) would make it fully complete.

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?

With one parameter and 100% schema coverage, the schema fully documents api_key including the Authorization-header fallback case. The description only refers generically to 'a key' and adds no syntax or format meaning beyond the schema, so baseline 3 applies.

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?

States a specific verb+resource: identify which user or agent owns a key. This identity-check purpose is distinct from every sibling (app CRUD, listing, publishing), so an agent can route to it without ambiguity.

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?

Gives an explicit use case: 'confirm an API key works before publishing.' That is concrete context, but there is no guidance on when not to use it or on alternative identity-check paths.

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