Skip to main content
Glama
umzcio
by umzcio

tdx-kb-get

Retrieve knowledge base articles from TeamDynamix using article IDs to access IT service management documentation and solutions.

Instructions

Get a TDX knowledge base article by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNoTDX app ID (defaults to env TDX_APP_ID)
idYesKB article ID

Implementation Reference

  • The tdx-kb-get tool implementation handler and registration in src/tools/kb.ts. It takes an optional appId and a required id, then calls the client's get method.
    server.tool(
      "tdx-kb-get",
      "Get a TDX knowledge base article by ID",
      {
        appId: z.number().optional().describe("TDX app ID (defaults to env TDX_APP_ID)"),
        id: z.number().describe("KB article ID"),
      },
      async (params) => {
        const app = params.appId ?? defaultAppId;
        try {
          const result = await client.get(`/${app}/knowledgebase/${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