Skip to main content
Glama
Open-Detector MCP

Open-Detector MCP

by eslam-allam

detect_ai_text

Score academic text paragraph by paragraph to detect AI-like writing style and surface ranked rewrite targets. Returns an overall AI percentage, a verdict, and per-paragraph style flags.

Instructions

Score a string of academic text for AI-like style, paragraph by paragraph.

Args: text: The text to analyse. detail: 'paragraph' (default, reliable) or 'windows' (adds weak 3-sentence candidate spans inside flagged paragraphs; doubles cost). include_text: Include each paragraph's full text in the response. Off by default to keep context small. exclude_references: Drop everything after a References/Bibliography heading (default true; reference lists skew the average).

Returns overall ai_pct (0-100, higher = more AI-like), verdict, paragraph bands, per-paragraph scores with stable indices, and deterministic style flags.

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

Input Schema

NameRequiredDescriptionDefault
textYes
detailNoparagraph
include_textNo
exclude_referencesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose real behavioral traits: the windows mode doubles cost, include_text is off by default to keep context small, and reference lists are dropped by default because they skew the average. It stops short of stating limits (e.g. maximum input size) or the possible verdict values, so it is strong rather than complete.

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?

The purpose statement is front-loaded and the remaining text is a tight, scannable argument list where each entry adds new information. Slightly dense formatting, but no filler sentences.

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 compensates by enumerating the return payload (ai_pct, verdict, paragraph bands, indexed per-paragraph scores, style flags). It is nearly complete for a 4-parameter scoring tool, missing only detail on verdict categories or input-size limits.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must supply all parameter meaning, and it does: text is what to analyse, detail enumerates its two accepted values with defaults and reliability notes, include_text explains the response-size effect, and exclude_references explains both the default and the rationale. This is meaning well beyond the bare schema types.

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 opening sentence names a specific verb and resource ('Score a string of academic text') plus the granularity ('paragraph by paragraph'). The word 'string' also implicitly separates it from a file-based sibling, so an agent can tell what it operates on without opening the schema.

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

Usage Guidelines4/5

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

It gives clear operational guidance for choosing modes: 'paragraph' is the default and reliable, 'windows' adds weak 3-sentence candidate spans and doubles cost. That is explicit when-to-use-a-mode guidance with a stated trade-off, but it does not say when to pick this tool over sibling comparison or file-based tools.

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