Skip to main content
Glama

set_post_hooks

Destructive

Provide several opening hook options for a LinkedIn or X post; selecting one replaces the post's first paragraph.

Instructions

Offer several hooks for the LinkedIn or X post: opening lines (LinkedIn: the part above '…more', about two lines; X: the first tweet's opening). Replaces earlier hooks for that platform. The app lists them above the post; picking one replaces the post's first paragraph. Write the post with your best hook as its own first paragraph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hooksYesThe hook options, best first: [{text, note}].
sessionYesSession as 'Project/folder', an absolute path, or its id (from get_session). An old path still works after a rename or move.
platformNoWhich post of the session: linkedin (default, posts/linkedin.md), x (posts/x.md), youtube (the long wide video: title + description, posts/youtube.md) or vertical (one vertical video and caption for TikTok, Instagram Reels and YouTube Shorts, posts/vertical.md).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the agent knows this mutates state. The description adds concrete context beyond that: it replaces earlier hooks for the platform, the app lists them above the post, and picking one replaces the post's first paragraph. It does not mention auth or rate limits, but the mutation semantics are clearly disclosed.

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 purpose (offer several hooks) then explains platform-specific meaning and the replace behavior in four compact sentences. Some platform detail is dense but every sentence carries useful information, with no obvious padding.

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?

For a mutation tool with annotations covering safety and a fully documented schema, the description supplies the workflow context an agent needs: hooks are verbose alternatives, best first, and selecting one replaces the first paragraph. The lack of output schema is acceptable since no return values are described, though it could say more about what happens to the post immediately after setting hooks.

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 the schema already documents session, hooks, and platform in detail, including the enum values and default. The description adds the meaning of hook ordering ('best first') and the platform-specific behavior, but does not go far beyond the schema's own documentation. Baseline 3 is appropriate.

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 (set/offer hooks) and resource (LinkedIn or X post hooks), and explains exactly what a hook is for each platform, including the '…more' cutoff on LinkedIn and the first-tweet opening on X. An agent can distinguish this from sibling tools like set_hooks or set_post 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 Guidelines3/5

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

The description implies when to use it (while writing a post, to offer alternative openings) and mentions that new hooks replace earlier ones, but it gives no explicit when-not guidance and does not distinguish itself from the sibling set_hooks. The workflow hint about best-first ordering and picking is useful but stops short of explicit routing guidance.

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