Skip to main content
Glama

Rewrite Text

neuron_rewrite_text

Rewrite or rephrase text using AI with specified tone, style, or instructions (e.g., make it more formal, translate, summarize).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe original text to rewrite or transform
channelNoWhere the message will be sent; shapes the format (no subject line or email sign-off for WhatsApp/SMS). Defaults to whatsapp.
instructionNoInstructions for how to rewrite the text (e.g., 'make it more professional', 'translate to Spanish', 'summarize in 2 sentences')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / channel
      Added value: +{
      +  "description": "Where the message will be sent; shapes the format (no subject line or email sign-off for WhatsApp/SMS). Defaults to whatsapp.",
      +  "enum": [
      +    "whatsapp",
      +    "sms",
      +    "email"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the safety profile (non-readonly, non-destructive, non-idempotent, closed-world), so the bar is lower. The description adds that transformation is AI-driven and instruction-shapeable, but says nothing about cost, latency, or that repeated calls may yield different results despite idempotentHint=false. Adequate but thin.

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?

A single front-loaded sentence with a clear verb and resource. The parenthetical examples earn their space by conveying the transformation space, though the sentence is slightly overloaded.

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

Completeness3/5

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

For a simple 3-param transform tool with full schema coverage and annotations, the definition is mostly sufficient. However, with no output schema, the description never indicates what is returned (the rewritten string? a list of variants?), leaving a small but real gap.

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 text, channel, and instruction fully. The description's examples ('make it more professional', 'translate to Spanish', 'summarize') loosely illustrate instruction values, adding marginal value over the schema's own example. Baseline 3 is appropriate.

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 (rewrite/rephrase) and resource (text) and clarifies it uses AI, with parenthetical examples of the transformation space (formalize, translate, summarize). Clear enough to distinguish it from messaging/CRUD siblings, though it doesn't call out a specific alternative tool.

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?

The examples imply when the tool is useful (any time you want to transform existing text), but there is no explicit when-to-use vs when-not-to-use guidance, no prerequisites, and no named alternative. Usage is inferable rather than stated.

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