Skip to main content
Glama
umzcio
by umzcio

tdx-asset-search

Search TDX assets using text queries and filters for status, department, location, model, or manufacturer to find specific IT resources.

Instructions

Search TDX assets with filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNoTDX app ID (defaults to env TDX_APP_ID)
searchTextNoFull-text search query
statusIdsNoFilter by status IDs
owningDepartmentIdsNoFilter by owning department IDs
owningCustomerIdsNoFilter by owning customer UIDs
locationIdsNoFilter by location IDs
modelIdsNoFilter by model IDs
manufacturerIdsNoFilter by manufacturer IDs
maxResultsNoMax results to return (default 25)

Implementation Reference

  • The handler function for the tdx-asset-search tool, which constructs the search request body and calls the TDX assets search endpoint.
    async (params) => {
      const app = params.appId ?? defaultAppId;
      const body: Record<string, unknown> = {};
      if (params.searchText !== undefined) body.SearchText = params.searchText;
      if (params.statusIds !== undefined) body.StatusIDs = params.statusIds;
      if (params.owningDepartmentIds !== undefined) body.OwningDepartmentIDs = params.owningDepartmentIds;
      if (params.owningCustomerIds !== undefined) body.OwningCustomerIDs = params.owningCustomerIds;
      if (params.locationIds !== undefined) body.LocationIDs = params.locationIds;
      if (params.modelIds !== undefined) body.ModelIDs = params.modelIds;
      if (params.manufacturerIds !== undefined) body.ManufacturerIDs = params.manufacturerIds;
      if (params.maxResults !== undefined) body.MaxResults = params.maxResults;
      try {
        const result = await client.post(`/${app}/assets/search`, body);
        return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
      } catch (e: unknown) {
        return { content: [{ type: "text", text: String(e) }], isError: true };
      }
    }
  • Input schema definition for the tdx-asset-search tool.
    {
      appId: z.number().optional().describe("TDX app ID (defaults to env TDX_APP_ID)"),
      searchText: z.string().optional().describe("Full-text search query"),
      statusIds: z.array(z.number()).optional().describe("Filter by status IDs"),
      owningDepartmentIds: z.array(z.number()).optional().describe("Filter by owning department IDs"),
      owningCustomerIds: z.array(z.string()).optional().describe("Filter by owning customer UIDs"),
      locationIds: z.array(z.number()).optional().describe("Filter by location IDs"),
      modelIds: z.array(z.number()).optional().describe("Filter by model IDs"),
      manufacturerIds: z.array(z.number()).optional().describe("Filter by manufacturer IDs"),
      maxResults: z.number().optional().describe("Max results to return (default 25)"),
    },
  • Tool registration for tdx-asset-search using server.tool.
    server.tool(
      "tdx-asset-search",
Behavior2/5

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

With no annotations provided, the description carries full burden but only states it's a search operation. It doesn't disclose behavioral traits like whether it's read-only (implied but not explicit), pagination behavior, rate limits, authentication needs, or what happens on no results. For a search tool with 9 parameters, this is a significant gap in transparency.

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

Conciseness4/5

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

The description is a single, efficient sentence with no wasted words. It's appropriately sized for a search tool, though it could be more front-loaded with critical information. The brevity is good but comes at the cost of completeness.

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 the tool's complexity (9 parameters, no annotations, no output schema), the description is inadequate. It doesn't explain what 'assets' are in TDX context, what the search returns, how filters combine, or error conditions. For a search tool in a system with many sibling tools, more context is needed for effective use.

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 additional parameter semantics beyond 'with filters', which is already implied by the parameter names. Baseline 3 is appropriate since the schema does the heavy lifting, but the description doesn't enhance understanding.

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 'Search TDX assets with filters' clearly states the verb ('Search') and resource ('TDX assets'), but it's vague about what 'assets' are and doesn't differentiate from sibling tools like 'tdx-asset-get' or 'tdx-cmdb-search'. It provides basic purpose but lacks specificity about scope or distinction.

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?

The description offers no guidance on when to use this tool versus alternatives like 'tdx-asset-get' (for specific assets) or 'tdx-cmdb-search' (for broader CMDB searches). It mentions 'with filters' but doesn't specify typical use cases or prerequisites, leaving the agent to infer usage from context alone.

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