Skip to main content
Glama
umzcio
by umzcio

tdx-ticket-feed-add

Add comments or feed entries to TDX tickets to document updates, communicate with stakeholders, and maintain ticket history.

Instructions

Add a comment/feed entry to a TDX ticket

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNoTDX app ID (defaults to env TDX_APP_ID)
idYesTicket ID
commentsYesComment text (HTML supported)
isPrivateNoWhether the comment is private (default false)
notifyNoUIDs to notify

Implementation Reference

  • The tool "tdx-ticket-feed-add" is defined and its handler implemented within registerTicketTools. It takes ticket ID, comments, isPrivate, and notify parameters, constructs a request body, and calls the TDX client to add a feed entry/comment to a ticket.
    server.tool(
      "tdx-ticket-feed-add",
      "Add a comment/feed entry to a TDX ticket",
      {
        appId: z.number().optional().describe("TDX app ID (defaults to env TDX_APP_ID)"),
        id: z.number().describe("Ticket ID"),
        comments: z.string().describe("Comment text (HTML supported)"),
        isPrivate: z.boolean().optional().describe("Whether the comment is private (default false)"),
        notify: z.array(z.string()).optional().describe("UIDs to notify"),
      },
      async (params) => {
        const app = params.appId ?? defaultAppId;
        const body: Record<string, unknown> = {
          Comments: params.comments,
        };
        if (params.isPrivate !== undefined) body.IsPrivate = params.isPrivate;
        if (params.notify !== undefined) body.Notify = params.notify;
        try {
          const result = await client.post(`/${app}/tickets/${params.id}/feed`, 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?

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It states this is an 'Add' operation (implying mutation) but doesn't disclose permissions required, whether comments are editable/deletable, rate limits, or what happens on success/failure. The mention of 'HTML supported' for comments is useful but insufficient for a mutation 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, efficient sentence that front-loads the core purpose without unnecessary words. Every element ('Add a comment/feed entry to a TDX ticket') directly contributes to understanding the tool's function, with zero waste.

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 mutation tool with no annotations and no output schema, the description is inadequate. It doesn't explain what happens after adding a comment (e.g., returns success/failure, new feed entry ID), error conditions, or behavioral nuances. Given the complexity of adding to a ticket feed, more context is needed to guide 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 already documents all 5 parameters thoroughly. The description adds no parameter-specific information beyond what's in the schema (e.g., it doesn't clarify 'comments' HTML support limits or 'notify' UID format). Baseline 3 is appropriate when 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 action ('Add') and resource ('comment/feed entry to a TDX ticket'), making the purpose immediately understandable. It distinguishes this as a feed/comment addition tool rather than a general ticket update, though it doesn't explicitly differentiate from sibling tools like 'tdx-asset-feed-add' or 'tdx-cmdb-feed-add' which serve similar functions for different resources.

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. The description doesn't mention prerequisites (e.g., needing a valid ticket ID), contrast with other feed-related tools (like 'tdx-ticket-feed-get' for reading), or specify use cases (e.g., for customer updates vs internal notes). Usage is implied but not articulated.

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