Skip to main content
Glama

Get a Weaviate RBAC role

weaviate_role_get
Read-only

Retrieve a Weaviate RBAC role's details by cluster and role name to inspect permissions and verify access configuration.

Instructions

Get a Weaviate RBAC role

Input Schema

NameRequiredDescriptionDefault
roleYes
clusterYes
namespaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description contributes nothing further: it does not mention error behavior for a missing role, whether namespace scoping changes resolution, or what the returned payload contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single, front-loaded sentence with no wasted words, so it is concise. The problem is under-specification rather than verbosity, which caps this dimension at an adequate-but-thin level.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three parameters, 0% schema coverage and no output schema, the description should explain what is returned and how role/cluster/namespace combine. Instead it offers one bare sentence, leaving the agent to guess at the response shape and scoping semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%; only the referenced NamespaceName definition carries a description, leaving 'role' and 'cluster' documented solely by length/pattern constraints. The description does not explain what 'role' identifies (role name vs. ID) or what 'cluster' selects, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tautological: description restates name/title.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus weaviate_roles_list (list) or weaviate_user_get. The agent must infer that this fetches a single role by name, and nothing is said about prerequisites such as whether the role must already exist.

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