Skip to main content
Glama

Draft post

draft_post
Read-only

POST WRITER: drafts ONE LinkedIn post in the user's own voice. It first reads their recent posts on their own LinkedIn account and writes as they write, leaning on what their best posts (most reactions + comments) did. The first draft is in the way of their best posts; each further call ("another one", "regenerate", "try something different") uses the next shape not used yet: Story-lesson-advice-you, Low to high, Timeline, Starting line. This server keeps no state: pass back usedShapes from the previous answer. When the material a shape needs is missing (the moment, the dated steps, the years, today's real numbers), it returns up to three specific questions with example answers INSTEAD of a draft — ask the user those, then call again with their answers in details and the same usedShapes. It never makes up a year, number, name or event. Use this instead of writing a post yourself. For small edits the user asks for, change the draft yourself (calling again moves to the next shape). SAVES NOTHING AND POSTS NOTHING: show the draft, and publish it with create_post only after the user says yes to it.

Input Schema

NameRequiredDescriptionDefault
aboutNoWhat the post is about, in the user's words (a topic, a rough thought, what happened).
detailsNoEverything the user has given for this post: the moment, the dates, the numbers, the years, their answers to questions an earlier call asked. Their words, nothing added.
languageNoWrite in this language. Defaults to the language of their posts, else English.
usedShapesNoThe usedShapes value from the previous draft_post answer in this conversation. Omit for the first draft.
writeAnywayNotrue only when the user says to write it anyway without answering the questions: a short draft from only what they gave, plus one line on what would make it stronger.
connectionIdNoWhich of the user's LinkedIn accounts to read their posts from (its id from get_linkedin_accounts). Omit for the first live one.
previousDraftsNoEarlier drafts shown in this conversation, so a new one does not repeat their wording.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already say readOnlyHint=true/destructiveHint=false, and the description reinforces rather than contradicts that ('SAVES NOTHING AND POSTS NOTHING'). It then adds behavior annotations can't express: it is stateless and requires the caller to pass back usedShapes, it returns up to three targeted questions instead of a draft when material is missing, and it refuses to fabricate years, numbers, names or events.

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 core purpose and the not-a-publisher warning, then the shape rotation, then the missing-material protocol. Dense but every block carries operational information; there is minor redundancy between 'leaning on what their best posts did' and 'The first draft is in the way of their best posts', which repeats the same idea.

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?

No output schema exists, and the description compensates fully by specifying both possible return shapes (a draft, or up to three questions with example answers) and the loop that follows each. It also covers statefulness, language defaulting, and the terminal publish step, so an agent can drive the whole interaction without guessing.

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 already 100%, so the schema documents each parameter's format. The description still earns extra credit by explaining the usedShapes rotation contract and by mapping the opaque enum values (their_own_way, story_lesson_advice_you, low_to_high, timeline, starting_line) to human-readable shapes, plus clarifying that 'details' should carry the user's answers to prior questions.

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 and resource — 'drafts ONE LinkedIn post in the user's own voice' — and immediately differentiates itself from create_post by declaring it saves and posts nothing. The voice-mimicry mechanism (reads their recent posts, leans on best-performing shapes) makes the resource unambiguous even among 200+ siblings.

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?

Explicit positive guidance ('Use this instead of writing a post yourself'), explicit negative guidance ('For small edits the user asks for, change the draft yourself — calling again moves to the next shape'), and explicit handoff to a sibling ('publish it with create_post only after the user says yes'). The follow-up-call protocol and the writeAnyway escape hatch are both defined.

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.