Skip to main content
Glama

Generate Monitored Post Comment

generate_monitored_post_comment
Destructive

Prefer this over queue_linkedin_post_engagement (with your own text) when acting on a post from the agent's monitored-posts feed. Pass a row id from query_monitored_posts. Only posts with no queued comment are eligible ('skipped', 'skipped_no_credit', 'engagers_only', 'surfaced'); already-commented, queued, or user-rejected posts are refused. A queued-status dict in one of three forms. {'queued': True, 'awaiting_approval': bool, 'status': 'queued', 'draft_comment': str, 'agent_id': int, 'message': str} on success (1 credit charged); agent_id is the agent monitoring the post {'queued': False, 'deduped': True, 'message': str} if a comment is already queued {'queued': False, 'error': 'not_found'|'not_eligible'|'out_of_credits'|'no_draft'} otherwise

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_teammateNoDraft on a consented teammate's monitored post instead of your own — pass their email; the 1-credit charge lands on their account. Gated on that teammate's act-on-behalf setting; a teammate who hasn't granted it is rejected. Omit for your own.
monitored_post_idYesThe `id` of a monitored_posts row (from query_monitored_posts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description adds real behavioral context beyond that: a 1-credit cost, an 'awaiting_approval' gate, and a feed-status flip to 'queued'. It doesn't explicitly discuss reversibility of the credit charge or what happens on refusal beyond the error keys, keeping it just short of a 5.

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-loads the core action and the sibling preference, then layers eligibility and returns. Structured summary/returns tags aid scanning, though the prose is somewhat dense and could be trimmed slightly.

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 fully documenting the three return shapes (success, deduped, error variants) inline. Combined with the charge, approval gate, and eligibility rules, an agent has everything needed to call it 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 100% with both parameters fully documented, including the teammate-consent gating for as_teammate. The description adds little semantic detail beyond what the schema provides, 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?

States a specific verb+resource+scope: drafting and queueing an on-demand comment for one monitored post with no queued draft. It explicitly names the sibling it replaces (queue_linkedin_post_engagement) and ties itself to the monitored-posts feed, so it is distinguishable without opening 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?

Gives explicit when-to-use routing ('Prefer this over queue_linkedin_post_engagement... when acting on a post from the agent's monitored-posts feed') and the input source (row `id` from query_monitored_posts). It also enumerates eligibility states ('skipped', 'skipped_no_credit', 'engagers_only', 'surfaced') and the refused cases (already-commented, queued, user-rejected).

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