Skip to main content
Glama

Read a Neo4j Community user

neo4j_user_get
Read-only

Retrieve a Neo4j Community user's name and passwordChangeRequired flag without exposing the password; use a username from the user list, since unknown or reserved names are rejected.

Instructions

Read a Neo4j Community user

Returns the user's name and passwordChangeRequired flag, never a password. Every Community user has full administrative privileges. Use a name from neo4j_users_list; an unknown user returns 404 and reserved names such as neo4j are rejected.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cluster": "<cluster>",
      "user": "<user>"
    },
    "name": "neo4j_user_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesCommunity account name matching [A-Za-z][A-Za-z0-9_.-]{0,63}; use name from neo4j_users_list. The managed neo4j administrator is reserved.
clusterYesManaged cluster name; the RBAC object is namespace/cluster.
namespaceNoNamespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter.

Output Schema

NameRequiredDescriptionDefault
nameYes
operationIdNo
passwordChangeRequiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs / NamespaceName
      Removed value: -{
      -  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      -  "maxLength": 32,
      -  "minLength": 2,
      -  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      -  "type": "string"
      -}
    • addedInput schema / $defs / NamespaceName_depth16
      Added value: +{
      +  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +  "maxLength": 32,
      +  "minLength": 2,
      +  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +  "type": "string"
      +}
    • addedInput schema / properties / cluster / description
      Added value: +"Managed cluster name; the RBAC object is namespace/cluster."
    • changedInput schema / properties / namespace / $ref
      Previous value: -"#/$defs/NamespaceName"New value: +"#/$defs/NamespaceName_depth16"
    • addedInput schema / properties / namespace / description
      Added value: +"Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter."
    • addedInput schema / properties / user / description
      Added value: +"Community account name matching [A-Za-z][A-Za-z0-9_.-]{0,63}; use name from neo4j_users_list. The managed neo4j administrator is reserved."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "description": "A Neo4j Community user. Every user has full administrative privileges.",
      +  "properties": {
      +    "name": {
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    },
      +    "passwordChangeRequired": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "passwordChangeRequired"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, and the description adds genuinely new context: the exact returned fields (name and passwordChangeRequired), the guarantee that no password is ever returned, the fact that every Community user holds full administrative privileges, and the 404/reserved-name error behavior. It stops short of a perfect 5 only because it says nothing about pagination or rate limiting, though neither is relevant to a single-object GET.

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?

Three tight sentences with the return contract and error semantics front-loaded before the usage hint. The opening clause restates the title verbatim, a small redundancy, but nothing else is wasted.

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 single-object read with an output schema, full annotation coverage, and fully described parameters, the description supplies the security-relevant facts an agent needs (no password returned, admin privileges, 404 semantics). Cluster/namespace selection is left entirely to the schema, which is acceptable given its richness.

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%, so the schema already explains the user, cluster, and namespace parameters in detail. The description reinforces the user-name sourcing rule but adds nothing about cluster or namespace scoping beyond what those schemas already state, which is the expected baseline when the schema carries the load.

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 title and opening line pair a specific verb with a specific resource ('Read a Neo4j Community user'), and the description immediately narrows the scope versus the sibling tool ('Use a name from neo4j_users_list'), so an agent can distinguish it from the list tool without opening either schema.

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?

The description gives explicit prerequisites (obtain the name from neo4j_users_list) and failure conditions (unknown user returns 404, reserved names like neo4j are rejected). It lacks an explicit 'when not to use' statement or a named alternative for bulk retrieval, keeping it below a 5.

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