Skip to main content
Glama
Maheshdayyala

CampusMind-AI

process_voice_input

Processes voice session transcripts to identify learning intent, logs student interactions, updates mastery levels, and generates spoken responses.

Instructions

Processes spoken input from a voice session: detects intent from transcript keywords, logs the interaction with voice-specific fields, updates mastery if a learning-related intent is detected, and returns a structured spoken response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe active voice session ID
studentIdYesThe student ID
transcriptYesThe speech-to-text transcript of the student's utterance
audioDurationSecondsYesDuration of the audio input in seconds
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing side effects. It explicitly mentions logging the interaction and updating mastery conditionally, which alerts the agent to write operations. It does not detail permission requirements, reversibility, or error handling, but it does convey the primary behavioral traits beyond the schema. No contradiction with annotations exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is a single, well-structured sentence that uses a colon to introduce a list of distinct actions. Every clause adds meaningful detail, with no unnecessary words or repetition. It is concise despite covering multiple aspects of the tool's behavior.

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 tool has moderate complexity with conditional side effects, and there is no output schema to define the return value. The description only mentions 'a structured spoken response' without specifying its format or contents, leaving a gap for the agent. It also does not mention potential failure scenarios (e.g., invalid sessionId) or how it relates to session lifecycle tools. This makes it not fully complete, but the core behavior is still understandable.

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

Parameters4/5

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

The schema descriptions cover all 4 parameters (100% coverage), giving a baseline of 3. The tool description adds extra meaning by explaining that the transcript is used for keyword-based intent detection and that audioDurationSeconds contributes to 'voice-specific fields' in logging. This enriches the semantic understanding of the parameters, justifying a slightly higher score.

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?

The description clearly states the tool's main function with a specific verb ('processes') and resource ('spoken input from a voice session'), then enumerates the sub-actions (intent detection, logging, mastery update, response generation). This differentiates it from sibling tools like start_voice_session and end_voice_session, which manage session lifecycle rather than handle input.

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?

The description implies that this tool is used during a voice session when a student provides spoken input. It does not explicitly name alternatives or exclusions, but the context is clear enough—it is the core processor for voice utterances. The lack of explicit alternative references lowers it from 5, but it is still well-grounded.

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/Maheshdayyala/CampusMind-AI'

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