package models
// DropRuleFilter represents a single filter condition in a drop rule
type DropRuleFilter struct {
Key string `json:"key"`
Value string `json:"value"`
Operator string `json:"operator"`
Conjunction string `json:"conjunction"`
}
// DropRuleAction represents the action configuration for a drop rule
type DropRuleAction struct {
Name string `json:"name"`
Destination string `json:"destination"`
Properties map[string]interface{} `json:"properties"`
}
// DropRule represents a complete drop rule configuration
type DropRule struct {
Name string `json:"name"`
Telemetry string `json:"telemetry"`
Filters []DropRuleFilter `json:"filters"`
Action DropRuleAction `json:"action"`
}
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/last9/last9-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server