Skip to main content
Glama
content-analysis.js761 B
import logger from "../core/logger.js"; import { contentAnalyzer } from "../services/contentAnalysisService.js"; export const contentAnalysisTool = { name: "analyze_content", description: "Analyze text content for keywords, sentiment, and readability", inputSchema: { type: "object", properties: { content: { type: "string", description: "Text content to analyze" }, query: { type: "string", description: "Context query for relevance" }, }, required: ["content"], }, execute: async (args) => { const analysis = contentAnalyzer.analyze(args.content, args.query || ""); return { content: [ { type: "text", text: JSON.stringify(analysis, null, 2), }, ], }; }, };

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/NosytLabs/presearch-search-api-mcp'

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