Skip to main content
Glama

pm_delete_task_comment

Destructive

Delete a comment. Only the original author may delete. Returns 204. API-key scope: tasks:write.

Input Schema

NameRequiredDescriptionDefault
refYes
accountNoMulti-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection.
workspaceNoWorkspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access.
commentIdentifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already disclose destructive=true, idempotent=false, and openWorld=true; the description still adds the author-only restriction, the 204 response code, and the required `tasks:write` API-key scope, all of which are non-obvious. What it omits is what happens on failure (403 vs 404) and whether sibling comments/threads are affected.

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?

Three short sentences, leading with the action, then the permission rule and the response/scope details. Nothing is wasted and the important constraint is front-loaded.

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

Completeness3/5

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

The description covers the safety-relevant behavior (author restriction, scope, 204) for a destructive 4-parameter tool with no output schema, which is reasonable. However, the two undocumented required parameters leave an agent guessing about identifier formats, which is a real gap for a delete operation.

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

Parameters2/5

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

Schema coverage is only 50%: `account` and `workspace` are richly documented in the schema, but `ref` and `commentIdentifier` have no descriptions anywhere. The description says nothing about what `ref` refers to (task reference?) or the accepted form of `commentIdentifier`, so it does not compensate for the coverage gap.

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?

States a specific verb and resource ('Delete a comment'), which cleanly separates it from pm_update_task_comment and pm_list_task_comments in the sibling list. It does not explicitly name those siblings, so differentiation is inferred from the verb rather than spelled out.

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

Usage Guidelines4/5

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

'Only the original author may delete' gives a concrete precondition that tells the agent when the call can succeed, and the scope note indicates required credentials. It stops short of naming an alternative path (e.g., updating/editing a comment instead) for callers who are not the author.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.