Skip to main content
Glama

classify

classify
Read-only

Zero-shot classification into your own labels: up to 50 texts in one call, single or multi-label, with confidence and label counts. Route tickets, tag leads, sort reviews. $0.003 for the first 4,000 characters, +$0.001 per further 4,000 (max 40,000). Costs $0.012 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNo
itemsNo
labelsYes
multi_labelNo
instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial operational context beyond them — the 50-item batch cap, a 40,000-character ceiling, and a metered x402 charge ($0.012 USDC per call) that is a prerequisite for invocation. It does not cover failure modes (e.g., what happens past the char limit), 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.

Conciseness4/5

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

Front-loaded with capability and use cases before cost details; each sentence carries load (limits and pricing matter for a paid tool). The pricing clause is dense but information-bearing rather than filler.

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?

There is no output schema and five parameters with no schema documentation, yet the description only gestures at the return ('confidence and label counts') without describing the per-item shape or how text and items interact. Adequate to attempt a call, but an agent must guess at result structure and per-parameter usage.

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?

With 0% schema description coverage, the description must carry all parameter meaning, and it only partially does: it maps labels, multi_label, and the batched text input ('up to 50 texts'), but never explains the distinction between `text` and `items` or what `instructions` controls. The mapping is inferable but not spelled out.

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: zero-shot classification of texts into user-supplied labels, with the batch ceiling (up to 50 texts), label mode (single or multi-label), and return content (confidence, label counts) all named. 'Your own labels' clearly separates it from siblings like sentiment or image_classify that use fixed taxonomies.

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?

Concrete application contexts are given ('Route tickets, tag leads, sort reviews'), so an agent knows what class of problem this solves. It stops short of explicit routing guidance such as when to prefer sentiment, moderations, or embed, so it lacks exclusion criteria.

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