whoami
The GitHub identity behind the bearer token, if any.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
The GitHub identity behind the bearer token, if any.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does disclose one meaningful behavioral trait: the result is conditional ("if any"), so an empty/absent result is possible when the token is missing or invalid. It does not say what the identity payload contains, whether the call requires a valid token, or what error behavior looks like.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with no filler, and the key qualifier ("if any") is placed where it is read. Nothing could be trimmed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter, no-annotation tool with no output schema, the description covers what the tool returns conceptually but not its shape — it does not indicate which identity attributes come back, nor the failure mode when no token is present. Adequate but with clear gaps for an auth-probing tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing to document and the baseline of 4 applies. The description correctly implies the token is supplied out-of-band rather than as an argument.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific resource (the GitHub identity) and its binding condition (the bearer token), which is enough to distinguish it from siblings like get_repo or list_repos. It is a noun phrase rather than a verb+resource statement, so it falls just short of the top score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer this is for verifying which account a token belongs to, commonly as an auth check. There is no explicit when-to-use framing, no exclusions, and no named alternative among the siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.