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 };
        }
      }
    );
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions 'Search' but doesn't disclose behavioral traits like whether this is a read-only operation, potential rate limits, authentication needs, or what happens on no matches. The description is too vague to inform the agent adequately about how the tool behaves beyond its basic function.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and resource, making it easy to parse quickly without unnecessary details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a search tool with 3 parameters. It lacks details on return values, error handling, or behavioral context, which are crucial for an agent to use it effectively. The high schema coverage helps but doesn't compensate for missing operational insights.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters (searchText, isActive, maxResults) with clear descriptions. The description adds no additional meaning beyond what the schema provides, such as examples or usage tips, but this meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the verb ('Search') and resource ('TDX accounts/departments'), which clarifies the basic purpose. However, it doesn't differentiate this tool from sibling tools like 'tdx-account-get', 'tdx-group-search', or 'tdx-people-search', leaving ambiguity about what specific accounts/departments are targeted versus other search tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. With multiple sibling search tools (e.g., tdx-asset-search, tdx-cmdb-search, tdx-group-search, tdx-people-search, tdx-project-search, tdx-ticket-search), the description lacks context about scope, prerequisites, or exclusions, offering minimal help for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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