Skip to main content
Glama

List accounts

list_users
Read-only

Lists user accounts for admins, pending first then newest, with status, role, verification, abuse flags, plan and usage. Filter by name, email, status, flags or sign-up IP; sort, paginate or group by flag or shared IP.

Instructions

Admins only: accounts, pending first then newest, with status, role, emailVerified, abuse flags, plan, last active and all-time usage. Filter with q (name or email), status, verified, flagged, flag (one reason), signupIp or sharedIp; sort and dir order every match. Returns { items, nextCursor, total }; pass nextCursor (same filter and sort) for more. groupBy returns sections instead: flag = one per reason then the unflagged; ip = one per shared sign-up address. Hosted non-admins are refused.

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
qNoName or email words, typo-tolerant (every word must match)
dirNoasc or desc; default asc for name and status, desc for the rest. Only with sort
flagNoOnly accounts flagged for this reason: shared_ip (3+ sign-ups from one address in 7 days), signup_burst (5+ in an hour), disposable_email (temporary-address domain)
sortNoOrder every matching account by: name (name, else email), status, lastActive, created, or a usage number: projects, sourceMinutes, clipsRendered, storedBytes order by the row's usage.* field of that name (all time; usage.projects counts every project made, deleted ones too, unlike the top-level projects). Omitted = pending first, then newest (a search: best match first)
groupNoOnly the accounts in one section of list_users groupBy, on top of the other fields: by flag, key = shared_ip, signup_burst, disposable_email or none (not flagged). Each group list_users returns carries its own filter with this set
limitNoPage size (1-100, default 50)
cursorNonextCursor from the previous page, with the same filter and sort (ignored with q and no sort: a search returns its best 100 in one page)
heldByNoOnly accounts a sign-up rule held for approval, by the rule as list_signup_rules shows it (kind and pattern: "ip 203.0.113.0/24"), whatever their status now
statusNopending = waiting for approval, active, suspended
flaggedNoOnly accounts the hourly abuse pass flagged, for any reason
groupByNoSplit the matching accounts into sections instead of one page: flag = one per abuse reason, then none (not flagged), and an account with two flags is in both; ip = one per sign-up address shared by more than one account (key = the address, most accounts first, up to 100; moreSections says how many were left out), then rest. Combine ip with flag shared_ip to see which accounts share which address. Returns { by, total, moreSections, groups: [{ key, label, help, total, filter, items, nextCursor }] }: limit accounts per section; pass a section's filter fields to list_users with its nextCursor for more, or its filter to manage_users to act on that section
sharedIpNotrue = another account signed up from the same address; false = the only account from its address, or no address recorded (the rest section of groupBy ip)
signupIpNoOnly accounts that signed up from exactly this address (203.0.113.7)
verifiedNotrue = email address confirmed, false = not confirmed yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed3 schema fields changedv0.43.0
    • changedInput schema / properties / cursor / description
      Previous value: -"nextCursor from the previous page (ignored with q: a search returns its best 100 in one page)"New value: +"nextCursor from the previous page, with the same filter and sort (ignored with q and no sort: a search returns its best 100 in one page)"
    • addedInput schema / properties / dir
      Added value: +{
      +  "description": "asc or desc; default asc for name and status, desc for the rest. Only with sort",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "description": "Order every matching account by: name (name, else email), status, lastActive, created, or a usage number: projects, sourceMinutes, clipsRendered, storedBytes order by the row's usage.* field of that name (all time; usage.projects counts every project made, deleted ones too, unlike the top-level projects). Omitted = pending first, then newest (a search: best match first)",
      +  "enum": [
      +    "name",
      +    "status",
      +    "projects",
      +    "sourceMinutes",
      +    "clipsRendered",
      +    "storedBytes",
      +    "lastActive",
      +    "created"
      +  ],
      +  "type": "string"
      +}
  3. Changed6 schema fields changedv0.39.1
    • addedInput schema / properties / flag
      Added value: +{
      +  "description": "Only accounts flagged for this reason: shared_ip (3+ sign-ups from one address in 7 days), signup_burst (5+ in an hour), disposable_email (temporary-address domain)",
      +  "enum": [
      +    "shared_ip",
      +    "signup_burst",
      +    "disposable_email"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / flagged / description
      Previous value: -"Only accounts the hourly abuse pass flagged"New value: +"Only accounts the hourly abuse pass flagged, for any reason"
    • addedInput schema / properties / group
      Added value: +{
      +  "description": "Only the accounts in one section of list_users groupBy, on top of the other fields: by flag, key = shared_ip, signup_burst, disposable_email or none (not flagged). Each group list_users returns carries its own filter with this set",
      +  "properties": {
      +    "by": {
      +      "const": "flag",
      +      "description": "flag: the sections of list_users groupBy flag (an address section of groupBy ip filters with signupIp or sharedIp instead)",
      +      "type": "string"
      +    },
      +    "key": {
      +      "description": "The section: an abuse flag, or none for the accounts with no flag",
      +      "enum": [
      +        "shared_ip",
      +        "signup_burst",
      +        "disposable_email",
      +        "none"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "by",
      +    "key"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / groupBy
      Added value: +{
      +  "description": "Split the matching accounts into sections instead of one page: flag = one per abuse reason, then none (not flagged), and an account with two flags is in both; ip = one per sign-up address shared by more than one account (key = the address, most accounts first, up to 100; moreSections says how many were left out), then rest. Combine ip with flag shared_ip to see which accounts share which address. Returns { by, total, moreSections, groups: [{ key, label, help, total, filter, items, nextCursor }] }: limit accounts per section; pass a section's filter fields to list_users with its nextCursor for more, or its filter to manage_users to act on that section",
      +  "enum": [
      +    "flag",
      +    "ip"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sharedIp
      Added value: +{
      +  "description": "true = another account signed up from the same address; false = the only account from its address, or no address recorded (the rest section of groupBy ip)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / signupIp
      Added value: +{
      +  "description": "Only accounts that signed up from exactly this address (203.0.113.7)",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. Changed1 schema field changedv0.36.0
    • addedInput schema / properties / heldBy
      Added value: +{
      +  "description": "Only accounts a sign-up rule held for approval, by the rule as list_signup_rules shows it (kind and pattern: \"ip 203.0.113.0/24\"), whatever their status now",
      +  "maxLength": 240,
      +  "type": "string"
      +}
  5. Addedv0.33.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, but the description adds the admin-only gate and that hosted non-admins are refused, how pagination behaves, that cursor is ignored in q searches, and how groupBy produces per-section filters and nextCursor plus moreSections when sections are dropped. That is substantial behavioral context well beyond the annotation.

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?

It is front-loaded with the access constraint and orders the rest into filtering, ordering, paging and grouping. It is dense but nearly every clause carries information; the semicolon chaining makes it harder to scan than a bulleted structure would.

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?

For a 14-parameter tool with nested objects and no output schema, it describes the return shapes explicitly ({ items, nextCursor, total } and the groupBy { by, total, moreSections, groups } form) and covers auth, paging and section semantics. Nothing essential to correct invocation is missing.

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 coverage is 100% so the baseline is 3, but the description adds meaning the schema does not: how sort/dir affect every match, that groupBy returns sections instead of a page, how to combine ip with flag shared_ip, and how to page within a section. Those cross-parameter interactions genuinely add value.

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

Purpose4/5

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

The description names the resource (accounts), its access scope (Admins only), the default ordering (pending first then newest) and the fields returned, so an agent knows exactly what it retrieves. It even routes write actions toward manage_users, giving partial sibling differentiation, though the core list verb itself is carried mostly by the name and title.

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 gives concrete when-to conditions: for filtering use q/status/verified/flagged/flag/signupIp/sharedIp, for a single section use groupBy with its key, for paging pass nextCursor with the same filter and sort, and to act on a section use manage_users. It states an exclusion for cursor with q and no sort (search returns best 100 in one page) but does not broadly contrast with other listing tools.

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