Skip to main content
Glama

list_users

Read-only

Retrieve portal users newest first, including superuser status, with options to limit results or show only superusers. Read-only and safe for auto-approval.

Instructions

Portal users (the user table the portal's sign-in checks, newest first) with their is_superuser flag. Read-only twin of users(action="list") — safe for a host to auto-approve. Grant/revoke with users(action="set_superuser").

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of rows to return.
superusers_onlyNoOnly users with the superuser flag.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description adds meaningful context beyond that: it identifies the backing table, the newest-first ordering, and that the operation is safe for a host to auto-approve. It does not describe how `limit` truncates the result set or any pagination behavior, which is the main remaining behavioral gap.

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?

Three short sentences with zero filler: identity and ordering first, then the sibling equivalence and safety signal, then the mutation alternative. Each clause carries distinct information.

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

Completeness5/5

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

An output schema exists, so return values need not be explained, and both input parameters are fully documented in the schema. For a two-parameter read-only list tool, nothing an agent needs in order to call it correctly is missing.

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 both parameters are already documented, and the default limit of 100 is visible in the schema. The description adds only indirect meaning ('newest first' implies which rows a limit keeps; 'is_superuser flag' gestures at superusers_only), so baseline 3 is appropriate.

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 (portal users from the `user` table), the ordering (newest first), the fields returned (is_superuser flag), and explicitly positions it against the sibling `users` multi-action tool. An agent can distinguish this from `users(action="list")` 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?

Names the equivalent operation (users action=list) and routes the mutation case to users(action="set_superuser"), giving clear context for when to use it and where not to. It stops short of stating when one would prefer the multi-action `users` tool over this twin, but the read-only framing makes the choice largely self-evident.

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