Skip to main content
Glama
Consiliency

pangram-mcp

by Consiliency

analyze

Read-onlyIdempotent

Detect AI-generated text using Pangram Labs: classify input as human-written, AI-generated, or AI-assisted and return verdict, class fractions, and segment breakdown.

Instructions

Detect AI-generated text with Pangram Labs.

Classifies the input as human-written, AI-generated, or AI-assisted and returns an overall verdict (prediction), per-class fractions 0.0-1.0 (fraction_ai / fraction_ai_assisted / fraction_human), segment counts, and a per-segment breakdown (windows).

Requires the PANGRAM_API_KEY environment variable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to classify (read files with your own tools first).
public_dashboard_linkNoRequest a PUBLIC shareable Pangram dashboard link for the result. Off by default; only enable for non-sensitive text.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoPangram model version that produced this result.
windowsNoPer-segment breakdown.
headlineNoOne-line human summary.
predictionYesOverall verdict for the whole text.
fraction_aiYesFraction of the text classified as AI-generated (0.0-1.0).
dashboard_linkNoShareable dashboard URL (only if requested).
fraction_humanYesFraction classified as human-written (0.0-1.0).
num_ai_segmentsNo
prediction_shortNoShort form of the verdict.
num_human_segmentsNo
fraction_ai_assistedYesFraction classified as AI-assisted (0.0-1.0).
num_ai_assisted_segmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful context beyond that: it discloses the PANGRAM_API_KEY environment requirement and the shape of the returned verdict. It doesn't mention rate limits or cost, but the auth prerequisite is the key operational detail.

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?

Front-loaded with purpose, then supporting detail in a clean two-block layout. Slightly spends words enumerating return fields that an output schema already covers, but nothing is confusing or padded.

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 rich annotations and an existing output schema, the description need not explain return values, yet the combination of purpose, auth requirement, and classification semantics leaves an agent fully equipped to invoke it correctly.

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 in the schema, including the 'read files with your own tools first' hint and the non-sensitive-text caveat on the dashboard link. The description adds no parameter-level syntax or format detail, 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?

States a specific verb and resource ('Detect AI-generated text with Pangram Labs') and immediately specifies the classification taxonomy (human-written, AI-generated, AI-assisted). There are no siblings to disambiguate from, but the scope is unambiguous on its own.

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 description explains what the tool does but never states when to reach for it versus alternatives or when not to use it. Usage is only implied by the classification framing; no exclusions or prerequisites are given beyond the API key note.

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