Skip to main content
Glama
umzcio
by umzcio

tdx-group-search

Search for TDX groups using text queries and filters for active status, associated app ID, and result limits to manage IT service management data.

Instructions

Search TDX groups

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchTextNoFull-text search query
isActiveNoFilter by active status
hasAppIdNoFilter by associated app ID
maxResultsNoMax results to return (default 25)

Implementation Reference

  • The tdx-group-search tool implementation, including schema validation and handler logic.
    server.tool(
      "tdx-group-search",
      "Search TDX groups",
      {
        searchText: z.string().optional().describe("Full-text search query"),
        isActive: z.boolean().optional().describe("Filter by active status"),
        hasAppId: z.number().optional().describe("Filter by associated app ID"),
        maxResults: z.number().optional().describe("Max results to return (default 25)"),
      },
      async (params) => {
        const body: Record<string, unknown> = {};
        if (params.searchText !== undefined) body.NameLike = params.searchText;
        if (params.isActive !== undefined) body.IsActive = params.isActive;
        if (params.hasAppId !== undefined) body.HasAppID = params.hasAppId;
        if (params.maxResults !== undefined) body.MaxResults = params.maxResults;
        try {
          const result = await client.post("/groups/search", body);
          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