We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProfSynapse/nexus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
recommendationUtils.ts•610 B
/**
* Utility for standardized recommendation injection into mode results
* Used across agents to provide consistent recommendation arrays in MCP responses
*/
export interface Recommendation {
type: string;
message: string;
}
/**
* Adds recommendations array to any mode result object
* @param result - The base result object from a mode execution
* @param recommendations - Array of recommendations to inject
* @returns Enhanced result with recommendations field
*/
export function addRecommendations(result: any, recommendations: Recommendation[]): any {
return { ...result, recommendations };
}