Skip to main content
Glama

Generate LinkedIn post

generate_linkedin_post

Turn an already-generated lesson into a LinkedIn-ready share post. Pass lesson_id directly OR episode_id (uses the most recent lesson generated by the caller for that episode). Lesson must exist — chain after generate_lesson if needed.

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": "generate_linkedin_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
lesson_idNo
episode_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only tell us this is a non-read-only, non-destructive operation; the description adds the important behavioral fact that this consumes an existing artifact and fails if the lesson doesn't exist, plus the implicit dependency chain. It stops short of saying whether a post is persisted server-side, whether it consumes credits (notable given a get_user_credits sibling), or whether repeat calls create duplicates.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the outcome, then the input options, then the prerequisite. No filler or restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 should convey what comes back — raw post text, a saved draft, a URL — and it doesn't, which matters for an agent that must decide whether to relay or link the result. It is otherwise complete on inputs and dependencies for a simple two-parameter tool.

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 description coverage is 0% and both parameters are optional, so the description carries the full burden — and it does explain the meaning and fallback behavior of each. The remaining gap is what happens when both are supplied (precedence) or when neither is, which the '0 required parameters' schema leaves genuinely ambiguous.

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 ('Turn an already-generated lesson into a LinkedIn-ready share post'), and the input is clearly an existing lesson rather than a raw episode, which separates it from generate_lesson. An agent can tell exactly what artifact this produces 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 Guidelines5/5

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

Explicitly names the two invocation paths (lesson_id directly, or episode_id resolving to the caller's most recent lesson for that episode) and states the prerequisite that the lesson must already exist, routing the agent to generate_lesson first when it doesn't. That is when-to-use plus dependency guidance in one place.

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.