We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbroenne/mcp-server-excel'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ExcelElicitationPrompts.cs•714 B
using System.ComponentModel;
using Microsoft.Extensions.AI;
using ModelContextProtocol.Server;
namespace Sbroenne.ExcelMcp.McpServer.Prompts;
/// <summary>
/// MCP prompts for gathering required information before executing Excel operations.
/// Acts as pre-flight checklists to prevent back-and-forth with users.
/// </summary>
[McpServerPromptType]
public static class ExcelElicitationPrompts
{
[McpServerPrompt(Name = "excel_data_validation_checklist")]
[Description("Information needed before adding data validation to ranges")]
public static ChatMessage DataValidationChecklist()
{
return new ChatMessage(ChatRole.User, MarkdownLoader.LoadElicitation("data_validation.md"));
}
}