Skip to main content
Glama

Act on many accounts

manage_users
Destructive

Approve, hold, suspend, reinstate, or delete multiple user accounts by ID or filter; skipped accounts are reported and cursors handle batches over 50.

Instructions

Admins only: approve, hold, suspend, reinstate or delete many accounts, by ids or every match of filter (as list_users). hold: back to waiting for approval, not told why; suspend: signed out, app, keys and MCP blocked; delete: gone with all projects and files, forever. You and the last admin are skipped with the reason. Up to 50 per call: with a filter, call again with nextCursor until null. Returns { action, changed, unchanged, skipped: [{ id, email, reason }], nextCursor }.

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": {
      "action": "<action>"
    },
    "name": "manage_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoThese account ids (up to 50); omit to act on every match of filter
actionYesapprove a waiting account; hold = send an active account back to waiting for approval (it is not told why; approve undoes it); suspend (signs them out now, keeps their projects); reinstate a suspended one; delete the account and everything it owns, forever
cursorNonextCursor of the previous call with the same filter
filterNoEvery account matching these (the same filter as list_users); used when ids is omitted
reasonNosuspend only: the reason shown to them

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. Changed5 schema fields changedv0.39.1
    • addedInput schema / properties / filter / 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 / filter / 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 / filter / 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 / filter / 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 / filter / properties / signupIp
      Added value: +{
      +  "description": "Only accounts that signed up from exactly this address (203.0.113.7)",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed3 schema fields changedv0.36.0
    • changedInput schema / properties / action / description
      Previous value: -"approve a waiting account; suspend (signs them out now, keeps their projects); reinstate a suspended one; delete the account and everything it owns, forever"New value: +"approve a waiting account; hold = send an active account back to waiting for approval (it is not told why; approve undoes it); suspend (signs them out now, keeps their projects); reinstate a suspended one; delete the account and everything it owns, forever"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "approve",
      -  "suspend",
      -  "reinstate",
      -  "delete"
      -]New value: +[
      +  "approve",
      +  "hold",
      +  "suspend",
      +  "reinstate",
      +  "delete"
      +]
    • addedInput schema / properties / filter / 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"
      +}
  4. Addedv0.33.0

TDQS

A4.4/5.0
Behavior5/5

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

destructiveHint=true is already declared, but the description goes well beyond it: it explains what each action actually does to the account and its data ('suspend: signed out, app, keys and MCP blocked', 'delete: gone with all projects and files, forever'), that hold is silent ('not told why'), that the caller and last admin are skipped with a reason, and that there is a hard 50-per-call limit. These are non-obvious operational constraints an agent cannot get from the annotation alone.

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?

Front-loaded with the admin gate and the verb set, then each action's consequence, then the skip rule, then the pagination rule and return shape — a sensible priority order. It is dense semicolon-chained prose that takes effort to parse, which keeps it off a 5, but no sentence is filler.

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 destructive bulk mutation with a nested filter object and no output schema, the description covers the missing pieces: it spells out the return shape ({ action, changed, unchanged, skipped, nextCursor }), the pagination loop terminator, and the safety skip of self/last admin. Nothing an agent needs to invoke this correctly and safely is absent.

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 the baseline is 3 and the schema already documents every parameter, including the action enum semantics and the nested filter fields. The description restates much of that action semantics ('hold: back to waiting for approval', 'suspend: signed out...') rather than adding syntax or format detail the schema lacks, so it earns the baseline and no more.

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 set (approve, hold, suspend, reinstate, delete) against a specific resource (accounts, in bulk) plus the two selection modes — explicit ids or filter match. The parenthetical '(as list_users)' differentiates it from the read-only sibling, so an agent can tell the bulk-mutation tool apart from the listing tool 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?

Gives concrete routing guidance: 'by ids or every match of filter', and 'with a filter, call again with nextCursor until null' resolves the ambiguity of what to do when the result set exceeds the cap. It also states 'Admins only' as a precondition. It stops short of explicitly naming when NOT to use it or pointing at list_users as a dry-run/preview step, so it is clear context but not full when/when-not/alternatives coverage.

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