Skip to main content
Glama
umzcio
by umzcio

tdx-people-search

Search for people in TeamDynamix using filters like name, email, username, and status to find specific individuals in the system.

Instructions

Search TDX people with filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchTextNoFull-text search query
lastNameNoFilter by last name
firstNameNoFilter by first name
primaryEmailNoFilter by primary email
userNameNoFilter by username
isActiveNoFilter by active status
isEmployeeNoFilter by employee status
accountIdsNoFilter by account IDs
maxResultsNoMax results to return (default 25)

Implementation Reference

  • The handler function that executes the search against the TDX /people/search endpoint.
    server.tool(
      "tdx-people-search",
      "Search TDX people with filters",
      {
        searchText: z.string().optional().describe("Full-text search query"),
        lastName: z.string().optional().describe("Filter by last name"),
        firstName: z.string().optional().describe("Filter by first name"),
        primaryEmail: z.string().optional().describe("Filter by primary email"),
        userName: z.string().optional().describe("Filter by username"),
        isActive: z.boolean().optional().describe("Filter by active status"),
        isEmployee: z.boolean().optional().describe("Filter by employee status"),
        accountIds: z.array(z.number()).optional().describe("Filter by account IDs"),
        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.lastName !== undefined) body.LastName = params.lastName;
        if (params.firstName !== undefined) body.FirstName = params.firstName;
        if (params.primaryEmail !== undefined) body.PrimaryEmail = params.primaryEmail;
        if (params.userName !== undefined) body.UserName = params.userName;
        if (params.isActive !== undefined) body.IsActive = params.isActive;
        if (params.isEmployee !== undefined) body.IsEmployee = params.isEmployee;
        if (params.accountIds !== undefined) body.AccountIDs = params.accountIds;
        if (params.maxResults !== undefined) body.MaxResults = params.maxResults;
        try {
          const result = await client.post("/people/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 states the tool searches with filters but doesn't disclose behavioral traits like whether it's read-only (implied by 'search'), pagination behavior (only mentions maxResults default), rate limits, authentication needs, or what the output looks like (no output schema). This leaves significant gaps for a search tool.

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 appropriately sized and front-loaded, directly stating the tool's core function without unnecessary elaboration.

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, no output schema, and a search tool with 9 parameters, the description is incomplete. It lacks behavioral context (e.g., pagination, rate limits), output details, and usage guidance relative to siblings. While concise, it doesn't provide enough information for an agent to use the tool effectively beyond basic purpose.

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 fully documents all 9 parameters. The description adds no parameter-specific semantics beyond implying filters are available, which the schema already details. Baseline 3 is appropriate as the schema does the heavy lifting.

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

Purpose4/5

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

The description clearly states the tool's purpose as 'Search TDX people with filters', specifying the verb (search), resource (TDX people), and scope (with filters). It distinguishes from sibling tools like tdx-people-get (retrieve specific person) and tdx-people-lookup (likely simpler lookup), but doesn't explicitly differentiate them.

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 like tdx-people-get (for retrieving a specific person by ID) or tdx-people-lookup (function unclear from name). The description implies usage for filtered searches but doesn't specify scenarios, prerequisites, or exclusions.

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