Skip to main content
Glama

Create Post From Image

create_post_from_image

Create posts from an image the user provides (public URL). Supply caption to use the creator's words exactly as written, never rewritten; otherwise AI writes captions. Without enhance or editPrompt the image is always used exactly as uploaded (no crop, design or burned-in title). Runs asynchronously — the user is notified when posts are ready.

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": {
      "imageUrl": "<imageUrl>"
    },
    "name": "create_post_from_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of caption variants/posts to generate (default 1; only more when the user asks for more)
topicNoWhat the post should be about (helps the caption)
captionNoCreator's caption, used exactly as written, never rewritten. No AI variants; forces one post. Omit to generate a caption from topic.
enhanceNoLet AI regenerate an enhanced version of the image. When false (default) the uploaded image is used untouched.
imageUrlYesPublic HTTP/HTTPS URL of the image
editPromptNoExact image changes; takes precedence over generic enhancement. Topic only steers the caption.
keepOriginalNoUse the image exactly as uploaded: no crop, design, title, overlay, re-encoding or enhancement. Always true unless enhance=true or editPrompt is given; then it cannot be true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / caption
      Added value: +{
      +  "description": "Creator's caption, used exactly as written, never rewritten. No AI variants; forces one post. Omit to generate a caption from topic.",
      +  "type": "string"
      +}
    • changedInput schema / properties / enhance / description
      Previous value: -"Let AI regenerate an enhanced version of the image"New value: +"Let AI regenerate an enhanced version of the image. When false (default) the uploaded image is used untouched."
    • addedInput schema / properties / keepOriginal
      Added value: +{
      +  "description": "Use the image exactly as uploaded: no crop, design, title, overlay, re-encoding or enhancement. Always true unless enhance=true or editPrompt is given; then it cannot be true.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare the generic write profile (readOnly=false, destructive=false, idempotent=false); the description adds real behavioral context: asynchronous execution, user notification on completion, and that the image is used byte-for-byte unless enhance/editPrompt is set. It omits cost/credit implications and any failure or rate-limit behavior.

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?

Four tight sentences, front-loaded with the core action and required input, then mode behavior, then async notice. Dense but every clause carries information; minor compression makes some precedence rules read as caveats rather than instructions.

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 7-parameter, no-output-schema mutation tool, the description covers input requirements, caption vs AI mode, image-modification defaults, and the async result path. Missing only secondary concerns such as credit cost or what happens on image fetch failure.

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%, so all seven parameters are already documented, including the keepOriginal/enhance precedence rules. The description reinforces the caption-forces-one-post and untouched-image defaults but adds little cross-parameter meaning that the schema does not already carry.

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?

States a specific verb and resource ('Create posts from an image') plus the required input form (public URL), which separates it from text/link/video creation siblings by resource type. It never names a sibling explicitly, so differentiation is inferred from the resource rather than asserted.

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?

Gives clear conditional guidance inside the tool — supply 'caption' to preserve the creator's exact words, omit it to let AI write captions, use 'enhance'/'editPrompt' to alter the image. It offers no guidance on when to pick this over create_image, edit_image, or create_carousel_from_images, so tool selection is left implied.

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