Skip to main content
Glama

Read users

users_read
Read-onlyIdempotent

Reads site users and profiles, user groups, group permissions, ranks and profile fields.

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

Input Schema

NameRequiredDescriptionDefault
idNoGroup id.
gidNoGroup id. On group actions it is a synonym for id.
nickNoUser login (nick), 2-25 characters. Synonym: user.
pageNoList page, from 1.
userNoSynonym for nick.
emailNoUser email.
actionYesOperation to run. Each oneOf entry describes one action and lists its parameters.
detailNoRecord form of a paged list. brief (default): id, login, full name, email, group, status (active or banned) and registration date (UTC, ISO 8601). Titles and excerpts are plain text; names, logins, paths, URLs and other identifiers are as the source gives them. full: complete records. A list reply is at most 30 KB and holds every record of its page: a record that does not fit in full comes in brief form, marked detail brief, the reply counts such records in brief_records, and get by id returns the complete record; brief records shorten their excerpts, then keep only their ids and titles. Only a page that does not fit even so is cut: truncated is true and next names the offset to go on from.
offsetNoRecords to skip from the start of a list; overrides page. A list reply cut at its size limit names the offset that follows in next.
site_idNoSite to read: site_id from list_sites. Without it the call reads the site chosen with select_site; pass it when several sites or chats are in use.
user_idNoNumeric user id.
per_pageNoRecords per page: 1-50, 20 by default, larger values count as 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / site_id
      Added value: +{
      +  "description": "Site to read: site_id from list_sites. Without it the call reads the site chosen with select_site; pass it when several sites or chats are in use.",
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "list",
      -    "description": "Lists site users page by page, optionally filtered by login, id or email. Brief users by default; detail=full gives complete profiles, get one complete user. The reply has page, per_page, total, has_more, truncated and next. Optional: page, per_page, offset, detail, nick, user, user_id, email."
      -  },
      -  {
      -    "const": "get",
      -    "description": "Returns one user by id, login or email. Optional: user_id, nick, user, email."
      -  },
      -  {
      -    "const": "groups",
      -    "description": "Lists user groups. Optional: offset."
      -  },
      -  {
      -    "const": "groups_list",
      -    "description": "Lists user groups (same as groups). Optional: offset."
      -  },
      -  {
      -    "const": "groups_rights",
      -    "description": "Lists the permission codes that a group can have. Optional: offset."
      -  },
      -  {
      -    "const": "group_permissions",
      -    "description": "Returns the permissions of one group (group id in id or gid). Optional: id, gid."
      -  },
      -  {
      -    "const": "ranks",
      -    "description": "Lists user ranks. Optional: offset."
      -  },
      -  {
      -    "const": "fields",
      -    "description": "Lists user profile fields. Optional: offset."
      -  }
      -]New value: +[
      +  {
      +    "const": "list",
      +    "description": "Lists site users page by page, optionally filtered by login, id or email. Brief users by default; detail=full gives complete profiles, get one complete user. The reply has page, per_page, total, has_more, truncated and next. Optional: page, per_page, offset, detail, nick, user, user_id, email."
      +  },
      +  {
      +    "const": "get",
      +    "description": "Returns one user by id, login or email. Required: user_id or nick or user or email."
      +  },
      +  {
      +    "const": "groups",
      +    "description": "Lists user groups. Optional: offset."
      +  },
      +  {
      +    "const": "groups_list",
      +    "description": "Lists user groups (same as groups). Optional: offset."
      +  },
      +  {
      +    "const": "groups_rights",
      +    "description": "Lists the permission codes that a group can have. Optional: offset."
      +  },
      +  {
      +    "const": "group_permissions",
      +    "description": "Returns the permissions of one group (group id in id or gid). Required: id or gid."
      +  },
      +  {
      +    "const": "ranks",
      +    "description": "Lists user ranks. Optional: offset."
      +  },
      +  {
      +    "const": "fields",
      +    "description": "Lists user profile fields. Optional: offset."
      +  }
      +]
  3. Changed5 schema fields changed
    • changedInput schema / properties / action / oneOf
      Previous value: -[
      -  {
      -    "const": "list",
      -    "description": "Lists site users page by page, optionally filtered by login, id or email. Optional: page, nick, user, user_id, email."
      -  },
      -  {
      -    "const": "get",
      -    "description": "Returns one user by id, login or email. Optional: user_id, nick, user, email."
      -  },
      -  {
      -    "const": "groups",
      -    "description": "Lists user groups."
      -  },
      -  {
      -    "const": "groups_list",
      -    "description": "Lists user groups (same as groups)."
      -  },
      -  {
      -    "const": "groups_rights",
      -    "description": "Lists the permission codes that a group can have."
      -  },
      -  {
      -    "const": "group_permissions",
      -    "description": "Returns the permissions of one group (group id in id or gid). Optional: id, gid."
      -  },
      -  {
      -    "const": "ranks",
      -    "description": "Lists user ranks."
      -  },
      -  {
      -    "const": "fields",
      -    "description": "Lists user profile fields."
      -  }
      -]New value: +[
      +  {
      +    "const": "list",
      +    "description": "Lists site users page by page, optionally filtered by login, id or email. Brief users by default; detail=full gives complete profiles, get one complete user. The reply has page, per_page, total, has_more, truncated and next. Optional: page, per_page, offset, detail, nick, user, user_id, email."
      +  },
      +  {
      +    "const": "get",
      +    "description": "Returns one user by id, login or email. Optional: user_id, nick, user, email."
      +  },
      +  {
      +    "const": "groups",
      +    "description": "Lists user groups. Optional: offset."
      +  },
      +  {
      +    "const": "groups_list",
      +    "description": "Lists user groups (same as groups). Optional: offset."
      +  },
      +  {
      +    "const": "groups_rights",
      +    "description": "Lists the permission codes that a group can have. Optional: offset."
      +  },
      +  {
      +    "const": "group_permissions",
      +    "description": "Returns the permissions of one group (group id in id or gid). Optional: id, gid."
      +  },
      +  {
      +    "const": "ranks",
      +    "description": "Lists user ranks. Optional: offset."
      +  },
      +  {
      +    "const": "fields",
      +    "description": "Lists user profile fields. Optional: offset."
      +  }
      +]
    • addedInput schema / properties / detail
      Added value: +{
      +  "description": "Record form of a paged list. brief (default): id, login, full name, email, group, status (active or banned) and registration date (UTC, ISO 8601). Titles and excerpts are plain text; names, logins, paths, URLs and other identifiers are as the source gives them. full: complete records. A list reply is at most 30 KB and holds every record of its page: a record that does not fit in full comes in brief form, marked detail brief, the reply counts such records in brief_records, and get by id returns the complete record; brief records shorten their excerpts, then keep only their ids and titles. Only a page that does not fit even so is cut: truncated is true and next names the offset to go on from.",
      +  "enum": [
      +    "brief",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Records to skip from the start of a list; overrides page. A list reply cut at its size limit names the offset that follows in next.",
      +  "type": "number"
      +}
    • changedInput schema / properties / page / description
      Previous value: -"Page number of the user list."New value: +"List page, from 1."
    • addedInput schema / properties / per_page
      Added value: +{
      +  "description": "Records per page: 1-50, 20 by default, larger values count as 50.",
      +  "type": "number"
      +}
  4. Added

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds no behavioral context beyond that: it says nothing about pagination, the 30 KB reply cap, truncation, or how site_id defaults to the selected site. All of that lives in the schema, so the description itself contributes no disclosure value.

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?

One front-loaded sentence with no filler or redundancy. It is arguably too terse for a twelve-parameter, eight-action tool, but nothing in it is wasted.

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

Completeness3/5

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

For a tool with eight actions, twelve parameters and no output schema, the description is minimal: it does not explain the action dispatcher, the page/detail/truncation model, or the site_id versus select_site relationship. The unusually rich schema descriptions compensate for most of this, keeping it at minimum-viable rather than inadequate.

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% and the action enum carries detailed per-action parameter lists, so the schema does all the semantic work. The description mentions none of the twelve parameters, which is acceptable at full coverage but adds nothing.

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 verb 'Reads' plus an enumerated resource list (site users and profiles, user groups, group permissions, ranks, profile fields) tells the agent exactly what domain the tool covers and maps onto the eight action values. It is clearly distinct from users_write and users_delete. It does not, however, signal that this is a single action-dispatched tool rather than a plain read, so the multi-operation nature only becomes visible in the schema.

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 when-to-use guidance, no mention of the natural alternative users_write/users_delete, and no explanation of when to pick one action over another. The agent must infer entirely from the action enum that this tool covers all read paths for users.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.