Skip to main content
Glama

ContentIn for Agents

Repurpose an existing post

repurpose_post

Rewrite an existing post from a new angle, in the user's voice. Pass post_id (a ContentIn post id from list_posts) to repurpose one of their own posts — the current text is read from ContentIn, so you do not need to have seen it. Pass original_post instead to repurpose text you already have that is not in ContentIn. Exactly one of the two is required. The result is saved as a new draft; the original is left untouched. If this tool returns needs_input: true with a question, your ONLY job that turn is to relay that question to the user (verbatim, or lightly adapted to the conversation language). Do NOT write, invent, or promise a post, and do NOT call this or any other write tool again until the user answers.

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": {
      "new_angle": "<new_angle>",
      "style": "<style>"
    },
    "name": "repurpose_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleYesWriting style. Infer it from the material: results / case studies / client wins = proof, educational / frameworks = authority, viral / trending / broad-resonance = growth.
post_idNoA ContentIn post id (from list_posts). Its current body is read from ContentIn and used as the original.
new_angleYesWhat should change: the new angle, perspective, focus or audience. Be specific about what to keep and what to shift.
original_postNoThe full text of a post that is NOT in ContentIn. Ignored when post_id is provided and resolves.
content_pillarNoName of the content pillar this belongs to, so the draft is tagged correctly.
user_constraintsNoStated user preferences that override defaults for this post.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent write, and the description supplies the context they cannot: 'The result is saved as a new draft; the original is left untouched', which resolves the apparent tension between write and non-destructive. It also discloses a conditional control-flow state ('needs_input: true with a question') plus the exact agent obligation in that turn, which is behavior no annotation encodes.

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 one-line purpose, then the input-selection rule, then side effects, then the edge-case protocol — a sensible ordering with no filler. The final capitalized paragraph is longer and more emphatic than strictly necessary, but it guards against a costly failure mode so it still earns its space.

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 six parameters and no output schema, the description covers the pieces an agent actually needs: input selection, side effects on existing content, and the one output signal that changes agent behavior (needs_input). It stops short of saying what a successful non-interactive response contains (e.g. the new draft's id), which would close the last gap.

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 100%, so the baseline is 3, but the description adds the load-bearing XOR constraint that the schema cannot express ('Exactly one of the two is required', with original_post 'ignored when post_id is provided and resolves'). It also gives provenance for post_id (from list_posts) and clarifies that the body is fetched server-side, which meaningfully reduces call-construction errors.

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 ('Rewrite an existing post from a new angle, in the user's voice') and immediately draws the operative distinction between the two input modes: post_id for a ContentIn-owned post versus original_post for text held externally. An agent can tell this apart from a from-scratch writing tool 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 Guidelines4/5

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

Gives explicit branch conditions for the mutually exclusive inputs ('Pass post_id ... to repurpose one of their own posts', 'Pass original_post instead to repurpose text you already have that is not in ContentIn. Exactly one of the two is required') and a firm when-not rule around the needs_input branch. It does not name a sibling alternative (e.g. the from-scratch writing tool in the list) for the case where nothing exists to repurpose, so a small routing gap remains.

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.