GetRole
Retrieve detailed information about an organization's role using its unique role_id through the Datadog MCP Server. Simplify role management and access control.
Instructions
Get a role in the organization specified by the role’s role_id.
Path Parameters:
role_id (Required): The unique identifier of the role.
Responses:
200 (Success): OK
Content-Type:
application/jsonResponse Properties:
Example:
{
"data": "unknown_type"
}403: Authentication error
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}404: Not found
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}429: Too many requests
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}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": {
"role_id": "<role_id>"
},
"name": "GetRole"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | The unique identifier of the role. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |