Skip to main content
Glama
umzcio
by umzcio

tdx-account-search

Search for TDX accounts and departments by name or other criteria, with filters for active status and result limits.

Instructions

Search TDX accounts/departments

Input Schema

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

Implementation Reference

  • Implementation of the 'tdx-account-search' tool, including its registration and execution logic.
    server.tool(
      "tdx-account-search",
      "Search TDX accounts/departments",
      {
        searchText: z.string().optional().describe("Full-text search query"),
        isActive: z.boolean().optional().describe("Filter by active status"),
        maxResults: z.number().optional().describe("Max results to return (default 25)"),
      },
      async (params) => {
        const body: Record<string, unknown> = {};
        if (params.searchText !== undefined) body.SearchText = params.searchText;
        if (params.isActive !== undefined) body.IsActive = params.isActive;
        if (params.maxResults !== undefined) body.MaxResults = params.maxResults;
        try {
          const result = await client.post("/accounts/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