Skip to main content
Glama

get_identity_details

Retrieve detailed information about a specific identity in a Kubernetes cluster, enabling precise security analysis and management through the RAD Security MCP server.

Instructions

Get detailed information about a specific identity in a Kubernetes cluster

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identity_idYesIdentity ID to get details for

Implementation Reference

  • The main handler function that executes the tool logic by making an API request to fetch identity details.
    export async function getIdentityDetails( client: RadSecurityClient, identityId: string ): Promise<any> { const identity = await client.makeRequest( `/accounts/${client.getAccountId()}/identities/${identityId}` ); if (!identity) { throw new Error(`No identity found with ID: ${identityId}`); } return identity; }
  • Zod schema defining the input parameters for the tool (identity_id: string).
    export const GetIdentityDetailsSchema = z.object({ identity_id: z.string().describe("Identity ID to get details for"), });
  • src/index.ts:147-150 (registration)
    Tool registration in the listTools handler, defining name, description, and input schema.
    name: "get_identity_details", description: "Get detailed information about a specific identity in a Kubernetes cluster", inputSchema: zodToJsonSchema(identities.GetIdentityDetailsSchema), },
  • src/index.ts:444-449 (registration)
    Tool execution routing in the CallToolRequest switch statement, parsing args and delegating to the handler.
    case "get_identity_details": { const args = identities.GetIdentityDetailsSchema.parse(request.params.arguments); const response = await identities.getIdentityDetails(client, args.identity_id); return { content: [{ type: "text", text: JSON.stringify(response, null, 2) }], };

Latest Blog Posts

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/rad-security/mcp-server'

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