Skip to main content
Glama

Delete a comment

delete_comment
Destructive

Deletes one of your own comments (admins can delete anyone's). This can't be undone.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "commentId": "<commentId>"
    },
    "name": "delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentIdYesThe comment's ID, from get_application's timeline.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so 'This can't be undone' largely restates structured data. However, the description adds genuine context beyond the annotations: the permission model (own comments only, admins can delete anyone's), which an agent cannot derive from the schema or hints. It omits what happens on a non-existent or already-deleted comment, and idempotentHint=false is not explained.

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?

Two short sentences, zero waste, with the most important constraint (irreversibility) front-loaded alongside the permission scope. Nothing could be removed without losing meaning.

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 single-parameter deletion tool with full annotation coverage and no output schema, this is close to sufficient: the agent knows what it deletes, whose comments it may delete, and that the action is permanent. A brief note on failure modes (invalid or foreign commentId) would make it complete.

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 commentId field already documents its origin in get_application's timeline, so the description adds nothing about parameters. Baseline 3 applies.

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 states a specific verb and resource ('Deletes ... comments') and adds the ownership scope, which tells an agent exactly which comments are eligible. It does not explicitly name siblings like edit_comment or add_comment, but their purposes are distinct enough that confusion is unlikely.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is for removing a comment you own, and that admins have broader reach. There is no explicit when-to-use versus alternatives (e.g., edit_comment for corrections instead of deletion) and no guidance on what to do if the comment isn't yours.

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.

Resources