Skip to main content
Glama

Regenerate Template Draft

senderkit_templates_regenerate
Destructive

Regenerate an existing DRAFT template from a new brief. This replaces the draft's content and discards any manual edits made in the editor. Only drafts can be regenerated; published templates are left untouched.

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the DRAFT template to regenerate.
briefYesNew brief that fully replaces the draft's content.
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."

Output Schema

NameRequiredDescriptionDefault
slugYesSlug of the draft template.
statusYesAlways draft — this tool never publishes or sends anything.
messageYesHuman-readable next step to relay to the user.
editorUrlYesDeep link to review and publish the draft in the SenderKit editor.

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 destructiveHint=true and readOnlyHint=false, and the description adds the specific consequence an agent needs: draft content is replaced and manual editor edits are discarded. It also clarifies the blast radius (drafts only, published templates untouched), which is exactly the context annotations cannot express.

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 action and scoping, then the destructive consequence, then the lifecycle boundary. No filler or redundancy.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, and annotations plus the description together cover the destructive semantics and the draft-only constraint. Nothing needed to invoke this correctly is missing.

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 description coverage is 100%, so the schema already documents slug, brief, and the context parameter fully. The only added nuance ('new brief fully replaces the draft's content') restates the brief property description, so this sits at the baseline.

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?

The description gives a specific verb and resource ('Regenerate an existing DRAFT template from a new brief') and immediately scopes it by lifecycle state, which separates it from senderkit_templates_create and the read-only template siblings. An agent can tell what this does 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?

It clearly states the applicability condition ('Only drafts can be regenerated; published templates are left untouched'), which is real when-to-use guidance rather than implication. It stops short of naming alternative tools (e.g., create for new templates, get for published ones), so it is strong but not exhaustive.

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.

Directories

Listed in ChatGPT · SenderKit

Last observed