Skip to main content
Glama

Get a Weaviate database user

weaviate_user_get
Read-only

Fetch a Weaviate database user's account details—name, user type, active status, roles, and creation/last-use timestamps—without the API key, using a name from the users list.

Instructions

Get a Weaviate database user

Returns account name, userType, active state, roles and available creation/last-use timestamps, without the API key. Obtain the nonempty name string from weaviate_users_list; unsupported engines return 409 and missing clusters return 404.

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

Input Schema

NameRequiredDescriptionDefault
userYesNonempty account-name string from weaviate_users_list; use the exact returned name, not an API key or password.
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
rolesYes
activeYes
userTypeYes
createdAtNo
lastUsedAtNo
operationIdNo

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: +"Nonempty account-name string from weaviate_users_list; use the exact returned name, not an API key or password."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "active": {
      +      "type": "boolean"
      +    },
      +    "createdAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "lastUsedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    },
      +    "roles": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "userType": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "userType",
      +    "active",
      +    "roles"
      +  ],
      +  "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 declare readOnlyHint=true and destructiveHint=false, so safety is covered structurally; the description goes beyond them by disclosing that the API key is omitted from the response (a security-relevant behavior) and by mapping engine/cluster failure modes to 409 and 404. It does not explain rate limits or whether the returned roles list is expanded, leaving some behavioral surface unstated.

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?

Two compact sentences with the return contents and the identifier-provenance rule front-loaded, and no filler. The opening line duplicates the title verbatim, which is mild waste but not harmful.

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?

An output schema exists, so the brief return summary is sufficient rather than required, and error codes plus the required source of the user identifier cover the main call-time pitfalls. The namespace parameter carries substantial conditional semantics that the description leaves entirely to the schema, which is a minor completeness gap for a tool whose route resolution depends on it.

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 all three parameters are already documented, including the provenance and nonempty constraint on 'user'. The description largely restates that same constraint and says nothing about 'cluster' or the namespace resolution rules, so it adds little meaning beyond the schema baseline.

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 specific verb and resource ("Get a Weaviate database user") and immediately enumerates the returned fields, so the agent knows exactly what comes back. It also distinguishes itself from the list sibling by pointing to weaviate_users_list as the source of the identifier, which separates a single-object fetch from a collection listing.

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?

Gives an explicit prerequisite workflow: obtain the nonempty name from weaviate_users_list and pass the exact returned name. It also documents failure routing (409 for unsupported engines, 404 for missing clusters). It stops short of stating when not to use this tool or naming a preferred alternative for other lookup shapes.

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