cerrar_horas
Para el DUEÑO: cerrar horas para que nadie se las pueda agendar. Úsala cuando diga cosas como "tápame mañana de 2 a 4", "no voy a estar el jueves" o "bloquéame la tarde". 'desde' y 'hasta' en formato 24h (14:00). Sin 'hasta', cierra solo esa hora. Para un día completo, usa el horario de apertura ...
This record as markdown: /tools/com-hi-aisha-aisha/cerrar-horas.md
What cerrar_horas does on Aisha
AI agents call cerrar_horas as a supporting operation in Aisha workflows.
| Parameter | Type | Required | Description |
|---|---|---|---|
clave | string | Yes | |
desde | string | Yes | |
fecha | string | Yes | |
hasta | string | — | |
negocio | string | Yes |
Parameters from the server's own tool schema.
Why cerrar_horas is rated Low
Without any rule in front of it, every call an agent makes to cerrar_horas happens silently: no trail, no cap, no way to know it misbehaved until something breaks downstream.
Attacks that exploit this kind of access
The rule that runs cerrar_horas safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Aisha, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For cerrar_horas, this is the rule to start with:
cerrar_horas gets a rate cap, and everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Aisha, apply this rule, and every cerrar_horas call is checked against it from then on.
Questions about cerrar_horas
Para el DUEÑO: cerrar horas para que nadie se las pueda agendar. Úsala cuando diga cosas como "tápame mañana de 2 a 4", "no voy a estar el jueves" o "bloquéame la tarde". 'desde' y 'hasta' en formato 24h (14:00). Sin 'hasta', cierra solo esa hora. Para un día completo, usa el horario de apertura y cierre del negocio. No afecta las citas que ya existen: si hay una agendada ahí, avísale al dueño para que decida si la cancela. It is categorised as a Other tool in the Aisha MCP Server, which means it performs auxiliary operations.
cerrar_horas accepts 5 parameters: clave, desde, fecha, hasta, negocio. Required: clave, desde, fecha, negocio. The full parameter table on this page comes from the server's own tool schema.
Register the Aisha MCP server in PolicyLayer and add a rule for cerrar_horas: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Aisha. Nothing to install.
cerrar_horas is a Other tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the cerrar_horas rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for cerrar_horas. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
cerrar_horas is provided by the Aisha MCP server (https://hi-aisha.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Aisha, and thousands of servers like it.
This server
Across the catalogue