Skip to main content
Glama

Iridium: LinkedIn MCP Server

rewrite_comment_draft

Rewrite Comment Draft

Rewrite a comment draft with an instruction. Does not post.

The rewrite runs in the background, so call list_comment_drafts afterwards to read the new text.

Args: handle: cdft_ handle from list_comment_drafts. instruction: what to change, for example "shorter", "ask a question at the end", "drop the praise". Omit for a general retry.

Responses:

200: Successful Response (Success Response) Content-Type: application/json

Input Schema

NameRequiredDescriptionDefault
handleYes
instructionNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the operation is asynchronous and runs in the background, and that it does not publish. It does not say whether the rewrite overwrites the existing draft text in place (i.e. whether the handle stays valid and the old text is lost), which is the main remaining behavioral uncertainty.

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?

The core content is front-loaded and the async warning is correctly placed before the Args block. The trailing '### Responses: **200**' HTTP boilerplate adds no information for an agent and slightly dilutes the text.

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?

No annotations and no output schema, so the description must do the work, and it does: async behavior, follow-up read step, and both parameters are covered. The gap is what the eventual read-back looks like and whether the draft handle remains the same after rewriting.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description documents both parameters: handle is typed as a 'cdft_ handle from list_comment_drafts' (source and format), and instruction is explained with concrete examples plus the semantics of omitting it. This fully compensates for the empty schema.

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?

States a specific verb and resource ('Rewrite a comment draft') and adds a key boundary: 'Does not post.' This distinguishes it from approve_* and run_commenting_pipeline. It does not, however, differentiate itself from the close sibling edit_comment_draft, which an agent could easily confuse with rewriting.

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

Usage Guidelines4/5

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

Gives a concrete follow-up procedure ('call list_comment_drafts afterwards to read the new text') and a default rule for the optional parameter ('Omit for a general retry'). It lacks an explicit when-not rule, e.g. when to choose edit_comment_draft instead of a rewrite.

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