Skip to main content
Glama

users

List users or grant/revoke superuser admin access. Changes default to a dry run and require confirm=true to execute.

Instructions

Admin users. action: list (users with superuser flag — or use the read-only list_users tool) | set_superuser (user_id + grant=true/false, confirm required — this grants/revokes FULL admin+MCP access). Unannotated (mixed read/write): list no longer trips a host's destructive-action prompt, set_superuser is still confirm-gated.

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

Input Schema

NameRequiredDescriptionDefault
grantNotrue = grant superuser, false = revoke.
limitNolist: maximum users to return.
actionNoOperation to run: list | set_superuser. The tool description lists what each action needs.list
confirmNofalse (default) = dry run, nothing changes; true = execute.
user_idNoset_superuser: the user to change.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses mixed read/write semantics, that `list` no longer trips destructive-action prompts, that `set_superuser` is confirm-gated, and that granting confers FULL admin plus MCP access. These are the high-impact facts an agent needs before calling a privilege-escalation tool.

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 piped clauses front-load the actions, and the parenthetical about unannotated mixed read/write status is compact. The telegraphic pipe style and meta-commentary on host prompts are slightly cryptic, but nothing is padded.

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 and `limit`, `grant`, `confirm`, and `user_id` are fully documented in the schema, so the description need not restate them. What it covers — action routing, privilege impact, and confirm gating — is the material an agent needs for a mixed read/write, privilege-escalating tool.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; the description earns credit by explaining the real consequence of `grant=true` (FULL admin+MCP access) and tying `confirm` to the `set_superuser` action. It adds meaning beyond the schema's terse `grant` and `confirm` definitions.

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 description names both actions and what each does: `list` returns users with the superuser flag, `set_superuser` grants/revokes full admin access. It also names the sibling `list_users` as the read-only alternative, so an agent can distinguish this tool from it 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?

It explicitly points to `list_users` as the read-only option and states the `confirm` requirement for `set_superuser`, giving clear routing context. It never states when an agent must prefer `list_users` over `users.action=list`, leaving that inference to the caller.

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