Skip to main content
Glama

Datadog MCP Server

by brukhabtu
  • Apple
  • Linux

ListRoles

Retrieve and manage roles with detailed information on Datadog MCP Server. Filter, sort, and paginate roles by name, ID, or other criteria for efficient role administration.

Instructions

Returns all roles, including their names and their unique identifiers.

Query Parameters:

  • page[size]: Size for a given page. The maximum allowed value is 100.
  • page[number]: Specific page number to return.
  • sort: Sort roles depending on the given field. Sort order is ascending by default. Sort order is descending if the field is prefixed by a negative sign, for example: sort=-name.
  • filter: Filter all roles by the given string.
  • filter[id]: Filter all roles by the given list of role IDs.

Responses:

  • 200 (Success): OK
    • Content-Type: application/json
    • Response Properties:
      • data: Array of returned roles.
    • Example:
{ "data": [ "unknown_type" ], "meta": "unknown_type" }
  • 403: Authentication error
    • 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 roles by the given string.
filter[id]NoFilter all roles by the given list of role IDs.
page[number]NoSpecific page number to return.
page[size]NoSize for a given page. The maximum allowed value is 100.
sortNoSorting options for roles.name

Input Schema (JSON Schema)

{ "properties": { "filter": { "description": "Filter all roles by the given string.", "type": "string" }, "filter[id]": { "description": "Filter all roles by the given list of role IDs.", "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" }, "sort": { "default": "name", "description": "Sorting options for roles.", "enum": [ "name", "-name", "modified_at", "-modified_at", "user_count", "-user_count" ], "type": "string", "x-enum-varnames": [ "NAME_ASCENDING", "NAME_DESCENDING", "MODIFIED_AT_ASCENDING", "MODIFIED_AT_DESCENDING", "USER_COUNT_ASCENDING", "USER_COUNT_DESCENDING" ] } }, "required": [], "type": "object" }

You must be authenticated.

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