Skip to main content
Glama

Reply to a comment

reply_to_comment
Read-onlyIdempotent

Draft a reply to a LinkedIn post comment and return a preview plus confirmation token; nothing is sent until the user explicitly approves it.

Instructions

Prepare a reply to a comment on a LinkedIn post. Get comment_id from get_post_comments. Counts against the daily comment limit. This tool does not send anything to LinkedIn. It returns a preview and a confirmation_token. Show the preview to the user word for word and call confirm_action only after the user explicitly approves it.

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": {
      "post_url": "<post_url>",
      "comment_id": "<comment_id>",
      "text": "<text>"
    },
    "name": "reply_to_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesComment text, up to 1250 characters.
post_urlYes
comment_idYesThe comment's id from get_post_comments (urn:li:comment:…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, and the description is consistent with them by stating nothing is sent to LinkedIn. Beyond the annotations it adds what the annotations cannot: a quota cost against the daily comment limit, the preview + confirmation_token return shape, and the requirement to echo the preview verbatim and wait for explicit user approval before confirm_action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then prerequisites, side effects, return shape, and the approval protocol in six tight sentences with no filler. Slightly list-like, but every sentence carries actionable information.

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

Completeness5/5

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

No output schema exists, and the description fills that gap by naming the return values (preview and confirmation_token) and the exact user-interaction protocol. Combined with the quota note and explicit non-sending behavior, an agent has everything needed to invoke and follow up correctly.

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 coverage is 67%; comment_id and text already have descriptions in the schema, and the description only restates comment_id's provenance from get_post_comments. post_url remains undocumented in both schema and description (expected format/acceptability), so the description adds marginal value but does not fully compensate for the gap.

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 ('Prepare a reply to a comment on a LinkedIn post') and explicitly frames it as a preparation step rather than a send, which separates it from a direct-comment tool such as comment_on_post. The two-phase preview/confirm nature is part of the purpose statement, so an agent can identify the tool 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 the exact when-to-use chain: obtain comment_id from get_post_comments first, then call confirm_action only after explicit user approval. It also flags the daily comment limit as a consideration before invoking, leaving no routing decisions to inference.

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