Skip to main content
Glama

grammarly_optimize_text

Analyze text for AI detection and plagiarism scores, then rewrite content to meet specified thresholds for humanized output.

Instructions

Get AI detection and plagiarism scores from Grammarly, optionally rewriting text with the configured LLM to reduce scores. Modes: 'score_only' (scores only), 'analyze' (scores + recommendations), 'optimize' (iterative rewriting to meet thresholds).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
modeNoscore_only gets scores, analyze interprets them, optimize rewrites to meet thresholds.optimize
max_ai_percentNoTarget maximum AI detection percentage.
max_plagiarism_percentNoTarget maximum plagiarism percentage.
max_iterationsNoMaximum optimization iterations in optimize mode.
toneNoDesired tone of the final text.neutral
domain_hintNoShort description of the domain (e.g., 'university essay').
custom_instructionsNoExtra constraints (e.g., preserve citations, do not change code blocks).
proxy_country_codeNoISO 3166-1 alpha-2 country code for proxy (e.g., 'us', 'gb').
response_formatNoOutput format: 'json' for structured data, 'markdown' for human-readable.json
max_stepsNoMaximum browser automation steps per scoring task (default 25). Prevents runaway tasks.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BjornMelin/grammarly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server