Skip to main content
Glama
baobab-tech

Text Classification MCP Server (Model2Vec)

by baobab-tech

classify_text

Classify text into predefined categories using static embeddings for efficient topic identification.

Instructions

Classify text into predefined categories using static embeddings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text to classify
top_kNoNumber of top categories to return (default: 3)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, placing the full burden on the description. The description mentions 'static embeddings' but does not disclose potential behaviors such as edge cases (e.g., text length limits), performance characteristics, or whether the tool is idempotent.

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 description is a single, concise sentence that front-loads the purpose. It is appropriately sized with no wasted words, earning a point above the average.

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?

Given that an output schema exists and parameter descriptions are covered, the description is adequate but sparse. It does not mention the output format or any additional context, but the presence of the output schema compensates partially.

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 coverage is 100%, so the schema already documents both parameters. The description does not add any additional meaning or constraints beyond what the schema provides, resulting in a baseline score of 3.

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 clearly states the tool classifies text into predefined categories, specifying the verb ('classify') and the resource ('text into predefined categories'). However, it does not distinguish itself from the sibling tool 'batch_classify' which performs a similar function but in batch.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'batch_classify' or when not to use it. The description lacks context on prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/baobab-tech/mcp-text-classifier'

If you have feedback or need assistance with the MCP directory API, please join our Discord server