Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

auth_whoami

Display the current org, API key scopes, and acting user, plus the workspace credential source and local EOA signing keys, to verify your auth context.

Instructions

Show the current org, the API key name and scopes, and the user the key acts as. user.kind is AGENT when the key belongs to an agent. Also reports the workspace the credentials came from (null when SPLITS_API_KEY is set), whether they came from the environment or the local keystore, and the local EOA signing keys saved by browser login, splits auth create-key, or import-key. For each local key registered with the backend, localKeys[].signerId is the id needed by accounts update-signers --add-eoa-signer-ids. This registration id differs from the account-specific id in accounts signers, which is used for removals. A null id means the key is unregistered or the signer lookup failed; check auth signers before registering it again. Also updates the org id and name saved for the workspace, which auth workspaces shows.

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

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 burden and does well: it discloses a non-obvious side effect ('Also updates the org id and name saved for the workspace'), so an agent won't mistake this for a pure read. It also explains null semantics (workspace null when SPLITS_API_KEY is set; null signer id meaning unregistered or a failed lookup) and warns that the registration id differs from the account-specific id in `accounts signers`. It stops short of describing output structure or failure behavior in detail.

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?

Purpose is front-loaded in the first sentence, with credential-source and key-registration detail following. It is dense and slightly overpacked (long compound sentences about signerId and remover vs. adder ids), but nearly every sentence carries operational meaning for a diagnostic tool.

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?

There is no output schema, so the description must explain the return payload, and it does: field-by-field coverage of org, key name/scopes, acting user, credential source, workspace, and localKeys[].signerId. Remaining gaps are modest — no mention of output formatting and only partial treatment of error or empty-key cases.

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?

Schema description coverage is 100% and the single `workspace` parameter is fully documented in the schema, including its precedence over SPLITS_WORKSPACE. The description itself says nothing about the parameter, so it adds no meaning beyond the schema — baseline 3 is appropriate.

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 concrete verb and a specific set of returned facts: org, API key name and scopes, and the acting user. It also scopes the result with real distinctions (agent keys via user.kind, credential source, workspace origin), so an agent can tell it apart from auth_signers and auth_workspaces without opening those schemas.

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 rather than stated: it's clearly a diagnostic/introspection call, and the description routes follow-up work to `auth signers` (before re-registering) and `auth workspaces` (for workspace listing). There is no explicit when-to-use/when-not-to-use framing versus siblings like auth_signers, so the agent must infer that this is the identity/context check.

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

Deploy Server

Other Tools