Skip to main content
Glama
avoid-ai-writing-mcp

avoid-ai-writing-mcp

Audit text for AI-writing patterns

audit_text
Read-onlyIdempotent

Audit text locally for AI-writing patterns, returning a score, flagged patterns, and highlighted sentence regions so you can assess writing style and revise likely AI-like prose.

Instructions

Audit text locally with the deterministic Avoid AI Writing detector. Returns the score plus up to 100 flagged patterns and 100 highlighted sentence regions, with truncation counts. This is a heuristic writing audit, not proof of authorship; use score_text for a compact result.

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

Input Schema

NameRequiredDescriptionDefault
textYesText to evaluate locally. The text is not sent to any network service.
contextNoWriting context. Technical mode suppresses patterns common in code-adjacent prose; defaults to general.general

Output Schema

NameRequiredDescriptionDefault
labelYes
scoreYes
issuesYes
contextYes
scorableYes
truncatedYes
confidenceYes
highlightsYes
statisticsYes
word_countYes
issue_countYes
probabilitiesYes
classificationYes
unscored_reasonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / issues / items / properties / suggestion / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / issues / items / properties / suggestion / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed4 schema fields changed
    • addedOutput schema / properties / highlights / maxItems
      Added value: +100
    • addedOutput schema / properties / issues / maxItems
      Added value: +100
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "highlights": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "issues": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "issues",
      +    "highlights"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "score",
      -  "label",
      -  "scorable",
      -  "unscored_reason",
      -  "classification",
      -  "confidence",
      -  "probabilities",
      -  "word_count",
      -  "issue_count",
      -  "context",
      -  "issues",
      -  "statistics",
      -  "highlights"
      -]New value: +[
      +  "score",
      +  "label",
      +  "scorable",
      +  "unscored_reason",
      +  "classification",
      +  "confidence",
      +  "probabilities",
      +  "word_count",
      +  "issue_count",
      +  "context",
      +  "issues",
      +  "statistics",
      +  "highlights",
      +  "truncated"
      +]
  3. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, yet the description still adds real behavior: processing is local and deterministic with no network transmission, and results are capped at 100 patterns and 100 regions with explicit truncation counts. It does not elaborate further on scoring scale or thresholds, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: what it does, what it returns with limits, then the heuristic caveat and alternative. The most decision-relevant content is front-loaded and nothing is redundant.

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

Completeness5/5

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

With an output schema present, the description need not detail return structure, and annotations already carry the safety profile. Combined with the local-processing note, output caps, truncation counts, and the sibling pointer, an agent has everything needed to call this correctly and interpret results.

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 both parameters are already documented, including the 'general/technical/marketing/personal' context enum and its default. The description adds no syntax or semantics beyond what the schema states, so the baseline 3 applies.

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 states a specific verb and resource ('Audit text locally with the deterministic Avoid AI Writing detector') and immediately names what it returns: score, up to 100 flagged patterns, up to 100 highlighted sentence regions, plus truncation counts. It also distinguishes itself from the sibling by pointing to score_text for a compact result.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the alternative explicitly ('use score_text for a compact result') and gives the condition that selects it — wanting compact output rather than full pattern/region detail. It also sets expectations about interpretation ('heuristic writing audit, not proof of authorship'), so the agent knows both when to route here and how to frame the result.

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

Deploy Server

Other Tools