Skip to main content
Glama

ai_grammar

Read-only

AI proofreader — Fix spelling, grammar and punctuation without changing meaning; returns the corrected text and a list of the fixes. Pass ?text=. Price: $0.006 USDC (Base, via x402).

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": "ai_grammar"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesthe text to proofread

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive semantics, and the description goes beyond them by disclosing the return shape (corrected text plus a list of fixes) and the cost/transport model ($0.006 USDC on Base via x402). The pricing detail is genuinely useful for an agent deciding whether to invoke it; only the absence of output-format specifics keeps it below a 5.

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?

One dense sentence plus a short usage note and price; the core purpose is front-loaded and nothing is wasted. The 'Pass ?text=' fragment is slightly clunky but still functional.

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?

With no output schema, the description correctly supplies the return values (corrected text and fix list), and the pricing line covers the practical cost consideration. For a one-parameter text-fixing tool this is essentially complete, missing only edge-case behavior such as length limits.

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 coverage is 100% for the single 'text' parameter, so the schema already carries the meaning. 'Pass ?text=' adds only a minor hint that the value is supplied as a query-style parameter rather than a JSON body, which is a small increment over the schema.

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?

Specific verb plus resource ('Fix spelling, grammar and punctuation') with a stated constraint ('without changing meaning') that implicitly separates it from siblings like ai_rewrite. It never names an alternative sibling outright, so differentiation is inferential rather than explicit.

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 'without changing meaning' clause signals that this is a correction tool rather than a rewriting tool, which implies when to prefer it. However, there is no explicit when-to-use/when-not guidance or named alternative (e.g., ai_rewrite for style changes), leaving the choice to inference.

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