Skip to main content
Glama
umzcio
by umzcio

tdx-account-get

Retrieve TDX account or department details by entering the account ID. This tool enables AI-assisted IT service management through the TDX MCP Server.

Instructions

Get a TDX account/department by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAccount ID

Implementation Reference

  • The implementation of the 'tdx-account-get' tool handler, which uses the TDX client to fetch an account by its ID.
    server.tool(
      "tdx-account-get",
      "Get a TDX account/department by ID",
      {
        id: z.number().describe("Account ID"),
      },
      async (params) => {
        try {
          const result = await client.get(`/accounts/${params.id}`);
          return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
        } catch (e: unknown) {
          return { content: [{ type: "text", text: String(e) }], isError: true };
        }
      }
    );

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/umzcio/TeamDynamix-MCP-Connector'

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