Skip to main content
Glama

check_language

Finds grammar, spelling, punctuation, and style issues in text or documents, with paragraph and offset anchors to locate each fix; accepts raw text, file paths, or in-conversation .docx/.pdf.

Instructions

Grammar/spelling/punctuation/style findings via a local LanguageTool instance, with paragraph/offset anchors so the model can locate and fix issues precisely. If lang isn't given and the language can't be auto-detected with confidence, asks the client which language it is (MRTR elicitation) rather than guessing. Facts and LanguageTool's own suggestions only — never a rewritten "corrected" version of the text.

Accepts exactly one of: a filesystem path, raw text, or inline content_base64 (with filename required alongside it) for a .docx/.pdf that only exists in the conversation rather than saved to disk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNo
pathNo
textNo
filenameNo
content_base64No

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
flagsNo
formatYes
findingsYes
languageYes
finding_countYes
Behavior5/5

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

With no annotations, the description carries the full transparency burden and succeeds. It discloses the local LanguageTool dependency, the elicitation behavior when lang is uncertain, the strict input exclusivity, and the boundary that it only returns facts and suggestions, never a rewritten corrected version. This gives the agent accurate expectations beyond a bare read/write label.

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?

The core purpose is front-loaded, and every subsequent sentence adds operational value: language auto-detection behavior, output constraints, and input-format requirements. There is no tautology or filler, and the length is appropriate for a 5-parameter tool.

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?

Given 5 parameters, no annotations, and an existing output schema, the description appropriately covers input exclusivity, filename coupling, language elicitation, and output scope while leaving return details to the output schema. Minor omissions such as supported file types for path/text and the meaning of the MRTR acronym keep it from being perfect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description is the only source of parameter meaning. It explains all five parameters: lang has fallback/elicitation behavior, path is a filesystem path, text is raw text, content_base64 is inline file content, and filename is required alongside content_base64. Minor gaps remain, such as accepted file types for path/text and lang format conventions, but the compensation is strong overall.

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 opens with a specific scope — grammar/spelling/punctuation/style findings — and identifies the mechanism (local LanguageTool) and the anchor-based precision benefit. Sibling tools focus on structure, typography, PDF layout, and filename consistency, so this tool is clearly differentiated.

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?

It gives strong invocation constraints: exactly one of path, text, or content_base64 must be supplied, and filename is required with content_base64. However, it does not explicitly state when to choose this tool over siblings or name alternatives; selection is left to inference from the sibling names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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/Nasser9892/vellum-mcp'

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