Skip to main content
Glama

Comment on a post

comment_on_post
Read-onlyIdempotent

Drafts a LinkedIn comment and returns a preview plus confirmation token without posting; use it to review the exact text before approving any LinkedIn action.

Instructions

Prepare a comment on a LinkedIn post. 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>",
      "text": "<text>"
    },
    "name": "comment_on_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesComment text, up to 1250 characters.
post_urlYes

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?

Beyond the annotations, the description discloses three behaviors an agent could not otherwise know: the call consumes the daily comment limit, it returns a preview plus a confirmation_token, and it must not be treated as a send. The readOnlyHint and idempotentHint annotations are consistent with this non-sending preview semantics.

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?

Four short sentences, each carrying a distinct obligation: what it does, its quota cost, its non-sending nature, and the required follow-up protocol. The most important constraint (no send) is front-loaded rather than buried.

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?

For a two-parameter, no-output-schema tool, the description covers the full contract: inputs implied by the task, the preview/confirmation_token return, quota impact, and the handoff to confirm_action. There is no output schema to defer to, and the description supplies the return value information itself.

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?

With only 50% schema description coverage, the description needed to compensate and does not. The text parameter's 1250-character limit lives only in the schema, and post_url is undocumented in both places — its expected format and whether it accepts activity URNs or full URLs is never stated.

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 opens with a specific verb and resource, 'Prepare a comment on a LinkedIn post,' and immediately distinguishes this tool from an actual posting action by stating 'This tool does not send anything to LinkedIn.' An agent can tell this is the draft/preview half of a two-step flow without consulting any 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?

It gives explicit sequencing instructions: show the preview to the user word for word, then call confirm_action only after explicit approval. The prerequisite (user approval) and the alternative (confirm_action) are both named, leaving nothing to inference.

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