Skip to main content
Glama
cegme

Emotion Dataset Analysis MCP Server

by cegme

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HF_TOKENYesYour Hugging Face API token, required to access or download the dataset.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_sample

Get n random samples from the emotion dataset.

Args: n: Number of samples to retrieve (default: 5, max: 20)

Returns: JSON string with samples including text and emotion label

count_by_emotion

Count samples for a specific emotion.

Args: emotion: One of 'sadness', 'joy', 'love', 'anger', 'fear', 'surprise'

Returns: JSON string with count and percentage

search_text

Search for samples containing specific text.

Args: query: Text to search for (case-insensitive) limit: Maximum results to return (default: 10)

Returns: JSON string with matching samples

analyze_emotion_distribution

Get the distribution of emotions in the dataset.

Returns: JSON string with counts and percentages for each emotion

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/cegme/cis6930sp26-assignment1.5'

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