Skip to main content
Glama

Storiez

Regenerate post text

regenerate-post-text
Destructive

Writes new copy for a post with the AI pipeline, replacing the current copy. Costs 6 credits. Status is REGENERATING until it returns to READY_TO_APPROVE. Only for posts that belong to a calendar item.

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": {
      "id": "<id>"
    },
    "name": "regenerate-post-text"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe post ID to regenerate text for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing cost (6 credits), the asynchronous status lifecycle (REGENERATING until READY_TO_APPROVE), and that the current copy is overwritten. This is exactly the operational context an agent needs before triggering a paid, destructive regeneration.

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?

Four short sentences, each carrying distinct information: what it does, what it costs, what state to expect, and who it applies to. The core action is front-loaded with no redundant restatement of the title.

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 one-parameter mutation tool with no output schema, the description covers cost, async status, and eligibility — enough to call it correctly. It omits failure/refund behavior and whether repeated calls during REGENERATING are rejected, which would be the remaining useful details.

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 single 'id' parameter is already fully documented in the schema. The description adds only the calendar-item eligibility constraint on that ID, which is marginal added meaning over the structured field.

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 ('Writes new copy for a post') and clarifies it is AI-generated and that it replaces existing copy, which implicitly separates it from a manual edit-post-copy tool. It stops short of naming a sibling explicitly, so the distinction must be inferred from the phrase 'with the AI pipeline'.

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 a concrete eligibility constraint — 'Only for posts that belong to a calendar item' — which tells the agent when this tool is valid. It does not name an alternative for posts outside calendar items or for manual copy edits, so the when-not path is only partially covered.

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