Skip to main content
Glama

hive_whoami

Retrieves the current key's agent identity, status, trust level, and read/write scopes so agents can verify permissions before accessing Hivemind shared memory.

Instructions

This key's kind (agent/org/admin/legacy), the agent's name, status (pending/active/revoked), trust level and home fleet, and what it may read (can_read) and which scopes it may write (can_write_scopes), plus inherits_from: agents whose memories you own. An empty can_write_scopes means you cannot write yet; an empty can_read means searches come back empty. The key is fixed per session (to switch: hivemind-switch skill).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.18.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and discloses non-obvious semantics: empty can_write_scopes means writes are unavailable, empty can_read means searches return nothing, and the key is fixed per session. It also points to the hivemind-switch skill for changing keys, which is helpful context beyond the schema.

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?

The description is compact and front-loads the returned fields, then adds caveats about empty permissions and session-fixed keys. The first sentence is dense with field names, but every sentence contributes actionable meaning and there is no obvious filler.

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?

Given zero parameters, no annotations, and no output schema, the description does the necessary work by enumerating the returned fields and explaining how to interpret empty permission values. It stops short of describing error behavior or all possible trust-level values, but it is complete enough for an identity-check tool.

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 has zero parameters, so there is no parameter semantics to explain. The baseline for 0 params is 4, and the description appropriately avoids spending space on nonexistent inputs.

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 identifies this as an identity/permission introspection tool: it reports the current key's kind, agent name, status, trust level, fleet, can_read, can_write_scopes, and inherits_from. That is a specific verb+resource, though it does not explicitly distinguish itself from sibling tools such as hive_get or hive_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied through interpretation of the returned fields, especially the empty can_write_scopes and can_read meanings and the note that the key is fixed per session. However, it does not explicitly say when to call this versus alternatives or give when-not-to-use guidance.

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