Skip to main content
Glama
umzcio
by umzcio

tdx-asset-delete

Delete assets from the TeamDynamix system by specifying the asset ID, enabling IT service management cleanup and maintenance.

Instructions

Delete a TDX asset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNoTDX app ID (defaults to env TDX_APP_ID)
idYesAsset ID

Implementation Reference

  • The handler function that executes the TDX asset deletion using the client.
    async (params) => {
      const app = params.appId ?? defaultAppId;
      try {
        await client.delete(`/${app}/assets/${params.id}`);
        return { content: [{ type: "text", text: "Asset deleted successfully" }] };
      } catch (e: unknown) {
        return { content: [{ type: "text", text: String(e) }], isError: true };
      }
    }
  • The MCP tool registration for 'tdx-asset-delete' including input schema.
    server.tool(
      "tdx-asset-delete",
      "Delete a TDX asset",
      {
        appId: z.number().optional().describe("TDX app ID (defaults to env TDX_APP_ID)"),
        id: z.number().describe("Asset ID"),
      },
      async (params) => {
        const app = params.appId ?? defaultAppId;
        try {
          await client.delete(`/${app}/assets/${params.id}`);
          return { content: [{ type: "text", text: "Asset deleted successfully" }] };
        } 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?

With no annotations provided, the description carries full burden for behavioral disclosure. It states 'Delete' which implies a destructive mutation, but doesn't clarify if deletion is permanent, reversible, requires specific permissions, or has side effects (e.g., cascading deletions). This is inadequate for a destructive tool with zero annotation coverage.

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, direct sentence with zero wasted words. It's appropriately sized for a simple tool and front-loaded with the core action, making it easy to parse quickly.

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?

For a destructive mutation tool with no annotations and no output schema, the description is incomplete. It doesn't address critical context like what happens post-deletion (success/failure responses), permissions required, or how to verify deletion. The 100% schema coverage helps with inputs, but overall context is lacking for safe usage.

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%, with both parameters ('appId' and 'id') documented in the schema. The description adds no additional parameter information beyond what's in the schema, so it meets the baseline of 3 where the schema does the heavy lifting without compensating for gaps.

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 'Delete a TDX asset' clearly states the verb ('Delete') and resource ('TDX asset'), making the basic purpose understandable. However, it doesn't differentiate this tool from its sibling 'tdx-cmdb-delete' or explain what constitutes a 'TDX asset' versus other deletable entities in the system, leaving some ambiguity about scope.

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 provides no guidance on when to use this tool versus alternatives like 'tdx-cmdb-delete' or 'tdx-kb-delete', nor does it mention prerequisites (e.g., needing asset ID from a search) or warn about irreversible deletion. It merely restates the action without contextual usage information.

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