Skip to main content
Glama

get_current_user

Read-only

Retrieves the authenticated user, workspace context, detected Docmost version, and read-only session status so clients can verify identity and permissions before acting.

Instructions

Get the authenticated user and workspace context, detected Docmost version, and whether this session is read-only.

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

Input Schema

NameRequiredDescriptionDefault
verboseNoFull metadata

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Consistent with readOnlyHint=true, and it adds disclosure the annotation does not: the call reports the detected Docmost version and whether the current session is read-only, which is operationally important for deciding whether write tools will succeed. It does not describe response shape or any caching/auth-failure behavior, keeping it below a 5.

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?

One sentence, front-loaded with the primary result (authenticated user and workspace context), with supporting details trailing. No filler or repetition of the tool name.

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?

This is a low-complexity, zero-required-parameter read tool with no output schema, and the description pre-declares the three main returned facts, which is enough to call it correctly. The only gap is what 'verbose' changes in the response, which the schema covers only minimally.

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?

The single parameter 'verbose' is fully documented in the schema as 'Full metadata', so schema coverage is 100% and the baseline applies. The description adds nothing about what the verbose flag actually expands, so it neither compensates nor detracts.

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?

States a concrete verb (Get) and a concrete resource (the authenticated user), then enumerates what comes with it: workspace context, detected Docmost version, and read-only session status. That is far more specific than a tautology, though it never explicitly contrasts itself with identity-adjacent siblings such as list_workspace_members.

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?

There is no explicit when-to-use or when-not-to-use statement and no named alternative. Usage is only implied by the content: an agent infers this is the session/identity probe used before attempting writes (since the response reports whether the session is read-only).

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