Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

slm_policy_create

Create snapshot lifecycle policies to automate backup schedules and retention rules for Easysearch indices.

Instructions

创建快照生命周期策略 参数: name: 策略名称 description: 策略描述 repository: 快照仓库名称 indices: 要备份的索引(默认 *) creation_schedule: 创建快照的 cron 表达式(默认每天 8:00) creation_timezone: 创建时区 deletion_schedule: 删除快照的 cron 表达式(默认每天 1:00) deletion_timezone: 删除时区 max_age: 快照最大保留时间 max_count: 最大快照数量 min_count: 最小快照数量 include_global_state: 是否包含全局状态 示例: slm_policy_create("daily-backup", "每日备份", "my_backup", creation_schedule="0 2 * * *", max_age="30d", max_count=30 )

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
descriptionYes
repositoryYes
indicesNo*
creation_scheduleNo0 8 * * *
creation_timezoneNoAsia/Shanghai
deletion_scheduleNo0 1 * * *
deletion_timezoneNoAsia/Shanghai
max_ageNo7d
max_countNo
min_countNo
include_global_stateNo

Other Tools

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/cloudsmithy/easysearch-mcp-server'

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