Skip to main content
Glama
@prompthub/mcp
by LionelHao

PromptHub: who am I

prompthub_whoami

Verify your configured PromptHub token and return the authenticated user's handle and name to confirm which account your prompts will be published under.

Instructions

Verify the configured PromptHub token and return the authenticated user's handle and name. Use this to confirm which account prompts will be published under.

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": "prompthub_whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It implies a non-mutating check and discloses the two returned fields, but says nothing about what happens on an invalid or expired token, what error surfaces, or whether the call has any side effects or rate limits. Adequate but incomplete for a tool whose whole job is validation.

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?

Two short sentences, front-loaded with the action and outcome, followed by the motivating use case. Every clause earns its place with no repetition of the tool name or title.

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 zero-parameter, non-destructive identity check, the description covers what it does, what it returns, and why. With no output schema present, the explicit mention of handle and name is valuable; the only real gap is failure-mode behavior on a bad token.

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 the schema has nothing to document and the baseline is 4. The description correctly implies no inputs are needed — everything depends on pre-configured token state.

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 names a specific verb and resource — verify the configured PromptHub token — and states exactly what comes back: the authenticated user's handle and name. No sibling tool performs an identity/token check, so an agent can tell this apart from the publish, upload, and repo tools purely from the text.

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?

It supplies a concrete use case: confirming which account prompts will be published under. That is clear context for when to reach for it, but there is no explicit exclusion or pointer to an alternative (e.g., what to do if verification fails).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.