Check grammar and spelling with corrections
text_grammarGrammar, spelling and style check with LanguageTool: each issue with its message, the offending text, its position, up to five suggestions, the rule id and category, plus the corrected text with the first suggestion of each issue applied. Body { text, language }: up to 20 KB, language auto by default. Text is sent only to LanguageTool's public API. Related tools on this server, for a different need: text_answer when you need answers a question from the given text only; text_chunk when you need to generate overlapping text chunks with character offsets. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": {
"text": "<text>"
},
"name": "text_grammar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to check, up to 20 KB (JSON body field) | |
| language | No | auto (default), en-US, en-GB, de-DE, fr, es, pt-BR ... as LanguageTool supports them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| issues | No | ||
| source | No | ||
| language | No | ||
| checkedAt | No | ||
| corrected | No |