Skip to main content
Glama

Delete a comment

weeek_delete_comment
DestructiveIdempotent

Delete your own comment from a Weeek task, then add a corrected one when the original needs fixing.

Instructions

Deletes a comment from a task. Only comments written by the token owner can be deleted, never other people's. Use it to fix your own comment: delete it and add a corrected one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTask id.
commentIdYesComment id, as shown by weeek_get_task.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real non-obvious behavior beyond that: an authorization boundary limiting deletion to the token owner's own comments. It stops short of describing failure behavior when the ownership check fails or whether the action is reversible.

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, zero padding, with the core operation front-loaded and the ownership constraint immediately after it. Every sentence carries distinct information.

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

Completeness4/5

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

For a two-param deletion tool with no output schema and annotations carrying the destructive/idempotent profile, the definition is nearly complete: operation, auth constraint and intended workflow are all present. Only the error/denial path when attempting to delete someone else's comment is left unstated.

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% and the schema already documents both ids (including the pointer to weeek_get_task for commentId). The description only implies that one parameter is a task and the other a comment, adding no syntax or format detail beyond the structured fields, so baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Deletes a comment from a task') and scopes it to task comments, which cleanly separates it from the sibling weeek_add_comment and the get/update task tools. An agent can identify the operation without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not ('Only comments written by the token owner can be deleted, never other people's') and a concrete when ('fix your own comment: delete it and add a corrected one'), routing the agent to weeek_add_comment for the follow-up. Nothing about selection is left to inference.

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