Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

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

NameRequiredDescriptionDefault
textNo
inputNo
labelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "text"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "input"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / labels / description
      Removed value: -"Labels to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the return shape ('best single label'), which is the most important behavioral fact. It says nothing about cost, auth/payment requirements implied by the x402 prefix, latency, or what happens if the supplied labels don't fit the text.

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 compact sentences that front-load the purpose and then the calling convention. Minor redundancy between the title prefix 'AI Classify' and the sentence, but nothing wasteful.

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?

No output schema exists, so stating the single-label return value is necessary and done. But for a zero-annotation, zero-schema-description tool with three parameters, the description leaves the 'input' alias and the labels type mismatch unaddressed, which is not complete enough.

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?

Schema coverage is 0% and none of the three parameters are described in the schema, so the description must compensate. It explains 'text' and 'labels' in prose but describes labels as an 'array' while the schema declares type string – a direct inconsistency – and it never mentions the alternate 'input' parameter that satisfies the required anyOf.

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?

States a specific verb (classify) and resource (text) plus the default label set, so an agent knows exactly what the tool produces. It does not, however, differentiate itself from the sibling x402-zero-shot-classify, which by name appears to do something very similar.

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?

Usage is implied by the phrase 'Classify text into one of your labels', and the default labels give useful context. There is no explicit guidance on when to prefer this over zero-shot-classify, nor any exclusions or prerequisites.

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