Skip to main content
Glama

Datadog MCP Server

by brukhabtu

ListRoleUsers

Retrieve and manage users assigned to a specific role in Datadog MCP Server by inputting the role ID, with options to filter, sort, and paginate results for efficient user management.

Instructions

Gets all users of a role.

Path Parameters:

  • role_id (Required): The unique identifier of the role.

Query Parameters:

  • page[size]: Size for a given page. The maximum allowed value is 100.

  • page[number]: Specific page number to return.

  • sort: User attribute to order results by. Sort order is ascending by default. Sort order is descending if the field is prefixed by a negative sign, for example sort=-name. Options: name, email, status.

  • filter: Filter all users by the given string. Defaults to no filtering.

Responses:

  • 200 (Success): OK

    • Content-Type: application/json

    • Response Properties:

      • data: Array of returned users.

      • included: Array of objects related to the users.

    • Example:

{ "data": [ "unknown_type" ], "included": [ "unknown_type" ], "meta": "unknown_type" }
  • 403: Authentication error

    • Content-Type: application/json

    • Response Properties:

      • errors: A list of errors.

    • Example:

{ "errors": [ "Bad Request" ] }
  • 404: Not found

    • Content-Type: application/json

    • Response Properties:

      • errors: A list of errors.

    • Example:

{ "errors": [ "Bad Request" ] }
  • 429: Too many requests

    • Content-Type: application/json

    • Response Properties:

      • errors: A list of errors.

    • Example:

{ "errors": [ "Bad Request" ] }

Input Schema

NameRequiredDescriptionDefault
filterNoFilter all users by the given string. Defaults to no filtering.
page[number]NoSpecific page number to return.
page[size]NoSize for a given page. The maximum allowed value is 100.
role_idYesThe unique identifier of the role.
sortNoUser attribute to order results by. Sort order is **ascending** by default. Sort order is **descending** if the field is prefixed by a negative sign, for example `sort=-name`. Options: `name`, `email`, `status`.name

Input Schema (JSON Schema)

{ "properties": { "filter": { "description": "Filter all users by the given string. Defaults to no filtering.", "type": "string" }, "page[number]": { "default": 0, "description": "Specific page number to return.", "example": 0, "format": "int64", "type": "integer" }, "page[size]": { "default": 10, "description": "Size for a given page. The maximum allowed value is 100.", "example": 10, "format": "int64", "type": "integer" }, "role_id": { "description": "The unique identifier of the role.", "type": "string" }, "sort": { "default": "name", "description": "User attribute to order results by. Sort order is **ascending** by default.\nSort order is **descending** if the field is prefixed by a negative sign,\nfor example `sort=-name`. Options: `name`, `email`, `status`.", "type": "string" } }, "required": [ "role_id" ], "type": "object" }

Other Tools from Datadog MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brukhabtu/datadog-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server