Skip to main content
Glama

Queue Linkedin Post Engagement

queue_linkedin_post_engagement
Destructive

Exactly one of comment_text or reaction_type must be provided.

For a comment, pass comment_text (the text to post). For a reaction, pass reaction_type (one of 'like', 'celebrate', 'support', 'love', 'insightful', 'funny'). The agent picks reaction_type='like' by default for most posts; the user can change it on the approval card.

Resolves the post's social_id (URN format) from the URL, then creates a linkedin_invite_queue item with action_type='comment' or 'reaction' depending on which body field was set. The pre_save signal resolves the per-subtype approval policy — gate (pending_approval) or auto-send (pending). A queued-status dict in one of three forms. {'queued': True, 'awaiting_approval': bool, 'message': str} on success; awaiting_approval is False when the engagement will post automatically {'queued': False, 'deduped': True, 'message': str} when this post already has a live engagement of the same kind (report the message; not an error) {'queued': False, 'error': str} on resolution failure

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_urlYesLinkedIn post URL (e.g. 'https://linkedin.com/posts/...-activity-123-...')
post_textNoExcerpt of the post text (for the approval card display)
as_teammateNoQueue the engagement on a consented teammate's account instead of your own — pass their email. It lands as a standalone (account-level) engagement on their queue, not tied to any of your agents. Gated on that teammate's act-on-behalf setting; a teammate who hasn't granted it is rejected. Omit for your own.
author_nameNoName of the post author (for the approval card display)
comment_textNoThe comment text to post. Mutually exclusive with reaction_type.
reaction_typeNoOne of 'like', 'celebrate', 'support', 'love', 'insightful', 'funny'. Mutually exclusive with comment_text.
prospect_identifierNoThe warming prospect's tracking-item identifier (LinkedIn URL/slug) — links this engagement back to the prospect for the system-maintained `data.comments_posted` (comments) or `data.reactions_posted` (reactions) counter. Required for warm-up flow; safe to omit for one-off engagements unconnected to a warm-up campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / as_teammate / description
      Previous value: -"Queue the engagement on a consented teammate's account instead\nof your own — pass their email. It lands as a standalone (account-level)\nengagement on their queue, not tied to any of your tasks. Gated on that\nteammate's act-on-behalf setting; a teammate who hasn't granted it is\nrejected. Omit for your own."New value: +"Queue the engagement on a consented teammate's account instead\nof your own — pass their email. It lands as a standalone (account-level)\nengagement on their queue, not tied to any of your agents. Gated on that\nteammate's act-on-behalf setting; a teammate who hasn't granted it is\nrejected. Omit for your own."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=true; the description goes well beyond that, disclosing the approval queue state machine (pending_approval vs auto-send), the deduped outcome, that it resolves a URN and creates a linkedin_invite_queue item, and explicitly tells the agent to relay the returned message rather than promise a review.

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 the summary and the key approval caveat, and organized into returns/behaviour blocks. It is somewhat verbose and repeats the comment/reaction exclusivity and reaction list already in the schema, costing a little efficiency.

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 7-parameter mutation tool with no formal output schema, the inline <returns> block covers all three outcome shapes (success, deduped, error) and the approval semantics are explained end to end, so an agent has everything needed to call it and interpret results.

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

Parameters4/5

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

Schema coverage is 100%, so the mutual-exclusivity rule and reaction enum are already documented there. The description still adds meaning by specifying the agent should default to reaction_type='like' and by tying prospect_identifier to the warm-up counter behavior, which the schema only partly conveys.

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 ('Queue') and resource ('an engagement (comment or reaction) on a LinkedIn post'), and the name/purpose cleanly separates it from the read-side sibling query_linkedin_post_engagements. An agent can tell what this does 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 Guidelines4/5

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

Gives strong when-to context: default is pending_approval unless auto-approve is enabled for the linkedin_comment/linkedin_reaction subtype, 'like' is the default reaction the agent should pick, and prospect_identifier is required for warm-up flows but safe to omit otherwise. It stops short of naming an alternative sibling tool to use instead (e.g. the query counterpart), so it is not a full 5.

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