Skip to main content
Glama

Draft a post

sprkly_draft_post

Compose a caption from a content hint and save it as a draft in sprkly, shaped to the tightest caption limit among the target platforms. Returns a draft id; the draft appears under /drafts for the user to review.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content_hint": "<content_hint>"
    },
    "name": "sprkly_draft_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional label for the draft.
toneNoVoice for the draft.casual
platformsNoIntended platforms, used to pick the caption length ceiling.
post_typeNoOptional. What the post is for: awareness (show new people who you are and what you sell), educational (teach something useful), proof (show that other people trust you), conversation (get people to reply), conversion (ask people to buy, book or order now), loyalty (for people who already bought). Any other value is refused. Separate from category, which is the topic.
profile_idsNoOptional accounts to pre-select on the draft. From sprkly_list_profiles.
content_hintYesWhat the post should be about: a topic, phrase, or key message.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / post_type
      Added value: +{
      +  "description": "Optional. What the post is for: awareness (show new people who you are and what you sell), educational (teach something useful), proof (show that other people trust you), conversation (get people to reply), conversion (ask people to buy, book or order now), loyalty (for people who already bought). Any other value is refused. Separate from category, which is the topic.",
      +  "enum": [
      +    "awareness",
      +    "educational",
      +    "proof",
      +    "conversation",
      +    "conversion",
      +    "loyalty"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky",
      -  "x",
      -  "linkedin"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x",
      +  "linkedin",
      +  "telegram"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky",
      -  "x"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x",
      +  "linkedin"
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky",
      -  "x"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook"
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "bluesky"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky",
      +  "x"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "instagram",
      -  "tiktok",
      -  "youtube",
      -  "threads",
      -  "facebook"
      -]New value: +[
      +  "instagram",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "facebook",
      +  "bluesky"
      +]
  8. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent, closed-world mutation, and the description adds real behavior beyond that: the caption is shaped to the tightest caption limit among target platforms, a draft id is returned, and the draft surfaces under /drafts. It does not state that repeat calls create separate drafts (relevant given idempotentHint=false) or any rate limits.

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?

Two sentences with zero filler; the core action comes first and the return/review consequence second. Every clause carries information an agent would otherwise have to infer.

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?

With no output schema, the description usefully states the return value (a draft id) and where the artifact shows up. For a six-parameter creation tool with full schema coverage and safety annotations, the remaining gap is mainly what happens on repeated calls and whether drafts are editable.

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% and the schema already documents every parameter, including the rich post_type enum descriptions and the platform length-ceiling behavior. The description's restatement of the platform limit constraint adds little the schema does not already say, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific compound action: compose a caption from a content hint and save it as a draft, with the platform-driven length constraint called out. 'Save it as a draft' implicitly separates it from siblings like sprkly_schedule_post, though no sibling is named explicitly.

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?

Usage is implied rather than stated: the draft lands under /drafts for user review, which suggests the review-then-schedule workflow. There is no explicit when-to-use or when-not guidance and no named alternative such as sprkly_schedule_post for going straight to a scheduled post.

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