Skip to main content
Glama

create_repost

Reposts a LinkedIn post, either as is or with your own commentary (st.createRepost action). Returns the URL and URN of the repost itself, which is a post of your own account, not of the post that was reshared. Reposting the same post twice from the same account fails with alreadyReposted. If this workflow is still running, do not retry this tool; retrying can create duplicate reposts.

Linked API actions are queued into a cloud-browser workflow and may take several minutes. The server returns immediately after starting the workflow with {status: 'pending'|'running', pendingReason, workflowId, operationName, message}. To retrieve the final result, call get_workflow_result with the returned workflowId and operationName — it will long-poll until completion or the request budget elapses, then return either the final result or another in-progress snapshot. Do not retry the original tool while a workflow is still running; that creates duplicate queued work.

A pending workflow carries pendingReason: 'queued' means it is waiting its turn behind other work on the same account and will start within minutes. 'outsideWorkingHours' means the account has configured working hours and the workflow is parked until they reopen — possibly the next working day. In that case get_workflow_result returns immediately instead of polling, message states when the window opens, and you should report that to the user rather than looping.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_repost"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoYour own commentary, up to 3000 characters. Without it the post is reposted as is. Write "@[key]" where a mention should appear and describe that key in mentions.
postUrlNoLinkedIn URL of the post to repost. (e.g., 'https://www.linkedin.com/posts/username_activity-id') Provide this or postUrn.
postUrnNoURN of the post to repost, as an alternative to postUrl. (e.g., 'urn:li:activity:1234567890123456789')
mentionsNoPeople and companies to mention in the commentary. Each item binds a "@[key]" placeholder to one entity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the write/open-world nature; the description goes well beyond by disclosing the async cloud-browser execution model, the immediate pending snapshot shape, the alreadyReposted error, and duplicate-creation risk on retry. The pendingReason 'queued' vs 'outsideWorkingHours' distinction tells the agent how to behave instead of looping.

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?

Purpose is front-loaded in sentence one, then async behavior, then pendingReason handling — a sensible escalation of detail. It is long overall and much of the workflow prose reads as reusable boilerplate, but no sentence is genuinely redundant given the duplicate-work hazard it prevents.

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?

With no output schema, the description compensates by stating exactly what is returned (URL and URN of the repost, and that it is the caller's own post, not the reshared one). Combined with the async/result-retrieval and error guidance, an agent has everything needed to call this correctly and handle the pending state.

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 text, postUrl, postUrn, and mentions are already fully documented at the field level with examples and the postUrl/postUrn either-or. The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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?

Opens with a specific verb+resource ("Reposts a LinkedIn post") and immediately scopes the two modes (as is vs. with commentary), plus names the underlying action. An agent can distinguish this from create_post, comment_on_post, or react_to_post purely on the verb.

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 explicit when-to-use context plus hard exclusions: reposting the same post twice fails with alreadyReposted, and it repeatedly warns not to retry while a workflow is running. It also routes the agent to get_workflow_result with the returned workflowId/operationName as the correct follow-up call.

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.