Smart appointment booking with automatic availability checking and alternate slot suggestions. This tool now: 1. Automatically checks slot availability before booking 2. Books immediately if the requested slot is available 3. Suggests up to 6 nearest alternative slots if unavailable (before and a...
Part of the Eka EMR server.
Free to start. No card required.
AI agents invoke book_appointment to trigger processes or run actions in Eka EMR. Execute operations can have side effects beyond the immediate call -- triggering builds, sending notifications, or starting workflows. Rate limits and argument validation are essential to prevent runaway execution.
book_appointment can trigger processes with real-world consequences. An uncontrolled agent might start dozens of builds, send mass notifications, or kick off expensive compute jobs. PolicyLayer enforces rate limits and validates arguments to keep execution within safe bounds.
Execute tools trigger processes. Rate-limit and validate arguments to prevent unintended side effects.
{
"version": "1",
"default": "deny",
"tools": {
"book_appointment": {
"limits": [
{
"counter": "book_appointment_rate",
"window": "minute",
"max": 10,
"scope": "grant"
}
]
}
}
} See the full Eka EMR policy for all 17 tools.
These attack patterns abuse exactly the kind of access book_appointment gives an agent. Each links to the full case and the policy that stops it:
Other execute tools across the catalogue. The same approach applies to each: rate-limit and validate the arguments.
Smart appointment booking with automatic availability checking and alternate slot suggestions. This tool now: 1. Automatically checks slot availability before booking 2. Books immediately if the requested slot is available 3. Suggests up to 6 nearest alternative slots if unavailable (before and after requested time) When to Use This Tool Use this tool when the user wants to book an appointment. The tool handles availability checking automatically. Trigger Keywords / Phrases book appointment, schedule visit, confirm booking, book with doctor, schedule at noon / morning / afternoon, fix appointment, make an appointment What to Return - If slot available: Returns booking confirmation with appointment_id - If slot unavailable: Returns alternate slot suggestions (up to 6 nearest slots). It is categorised as a Execute tool in the Eka EMR MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Eka EMR MCP server in PolicyLayer and add a rule for book_appointment: 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 Eka EMR. Nothing to install.
book_appointment is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the book_appointment 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 book_appointment. 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.
book_appointment is provided by the Eka EMR MCP server (eka-care/emr). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic rules across all 17 Eka EMR tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.
Free to start. No card required.
4,600+ MCP servers and 31,000+ tools scanned and risk-classified.