Skip to main content
Glama
florenciakabas

xai-toolkit

record_feedback

Collect expert evaluations on AI-generated explanations to assess quality and improve narrative clarity for specific audiences and business contexts.

Instructions

Record expert feedback on a toolkit narrative.

Call this when an expert evaluates the quality of an explanation.
The narrative is hashed to create an auditable link between the
feedback and the exact output that was evaluated.

Valid ratings: excellent, useful, too_technical, too_vague, missing_context

Args:
    model_id: Which model produced the output being evaluated.
    tool_name: Which tool produced it (e.g., "explain_prediction").
    narrative: The exact narrative text being evaluated (will be hashed).
    rating: Expert's assessment (excellent/useful/too_technical/too_vague/missing_context).
    audience_role: Evaluator's role (e.g., "reliability_engineer").
    business_line: Business context (e.g., "lubricants").
    expert_comment: Optional free-text elaboration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYes
tool_nameYes
narrativeYes
ratingYes
audience_roleYes
business_lineYes
expert_commentNo

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/florenciakabas/xai-mcp'

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