Skip to main content
Glama

validate_llm_response

Validate LLM response format and content against expected schemas for different Plex prompt types including playlist descriptions, content recommendations, smart playlist rules, and media analysis.

Instructions

Validate LLM response format and content against expected schemas for different prompt types

Input Schema

NameRequiredDescriptionDefault
responseYesThe LLM response object to validate
prompt_typeYesThe type of prompt that generated this response

Input Schema (JSON Schema)

{ "properties": { "prompt_type": { "description": "The type of prompt that generated this response", "enum": [ "playlist_description", "content_recommendation", "smart_playlist_rules", "media_analysis" ], "type": "string" }, "response": { "description": "The LLM response object to validate", "type": "object" } }, "required": [ "response", "prompt_type" ], "type": "object" }

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/vyb1ng/plex-mcp'

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