Skip to main content
Glama

linkedin_delete_comment

Destructive

Permanently delete a comment you or your company page made on a LinkedIn post by specifying the post URN and comment ID.

Instructions

Permanently delete a comment you or your company page made on a LinkedIn post.

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": {
      "postUrn": "<postUrn>",
      "commentId": "<commentId>"
    },
    "name": "linkedin_delete_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorNoWho posts or acts: "person" (your profile), "organization" (the configured company page) or a full urn:li:… URN. Defaults to the company page when one is configured, otherwise your profile.
postUrnYesPost URN, as returned by linkedin_create_post or linkedin_list_posts
commentIdYesThe comment's numeric id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description adds the meaningful detail that deletion is permanent (no undo). It does not say whether the comment disappears from the thread immediately, but the key irreversible-effect warning is present.

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?

A single front-loaded sentence with the permanence warning first and the ownership scope second; nothing is wasted or padded.

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 three-parameter destructive tool with complete schema coverage and no output schema, the description covers purpose and irreversibility adequately; only permission requirements and confirmation/error behavior are left unaddressed, which are minor given the rich schema.

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 postUrn, commentId, and author semantics are fully documented in the schema; the description's mention of 'you or your company page' only lightly echoes the author parameter's default behavior, adding no syntax or format detail.

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?

The description names a specific verb and resource ('Permanently delete a comment') plus a scope constraint ('you or your company page made on a LinkedIn post'), which separates it from linkedin_delete_post and linkedin_create_comment without needing 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 Guidelines3/5

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

The phrase 'a comment you or your company page made' implies the eligibility condition for use, but there is no explicit when-to-use framing, no mention of prerequisites (admin/ownership rights), and no named alternative for removing a post versus a comment.

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