Skip to main content
Glama

x402-ai-classify

AI Classify: Classify text into one of your labels (default: spam/urgent/technical/finance/general) via AI. Pass text plus optional labels array; returns the best single label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText to process
inputNoInput to process
labelsNoLabels to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the return contract ('returns the best single label') and the default label taxonomy, which is genuine behavioral information beyond the schema. It says nothing about cost/payment (this is an x402 metered tool), input length limits, or error behavior, leaving notable gaps.

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?

Two tight sentences, front-loaded with the action and default taxonomy followed by the call signature and return value. Nothing is padded, though the phrasing 'AI Classify:' duplicates the name.

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

Completeness3/5

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

The absence of an output schema is partly compensated by the stated return value, and the default labels are a useful addition. But for a 3-parameter tool with an unexplained duplicate text/input pair, a string-vs-array mismatch on labels, zero required params, and no annotations, the description is not complete enough to call it confidently.

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

Parameters2/5

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

Although schema description coverage is nominally 100%, the schema descriptions are placeholders ('Text to process', 'Input to process', 'Labels to process') that do not clarify the relationship between the duplicate 'text' and 'input' parameters. Worse, the description says labels is an 'array' while the schema types it as a string, and the schema marks no parameter required, which the description never resolves.

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?

The description gives a specific verb (Classify) and resource (text), names the default label set, and states the output shape (best single label), so the tool is immediately understandable. It does not, however, distinguish itself from the near-identical sibling x402-zero-shot-classify or the sentiment tools, so it falls short of a 5.

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 tells the agent what to pass (text plus an optional labels array) and what the defaults are, which implies usage. It never states when to prefer this over x402-zero-shot-classify or x402-sentiment, nor any prerequisites, so usage guidance remains only implied.

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