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 ...
Part of the Eka EMR MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
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. Intercept 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.
tools:
book_appointment:
rules:
- action: allow
rate_limit:
max: 10
window: 60
validate:
required_args: true See the full Eka EMR policy for all 17 tools.
Agents calling execute-class tools like book_appointment have been implicated in these attack patterns. Read the full case and prevention policy for each:
Other tools in the Execute risk category across the catalogue. The same policy patterns (rate-limit, validate) apply to each.
book_appointment is one of the high-risk operations in Eka EMR. For the full severity-focused view — only the high-risk tools with their recommended policies — see the breakdown for this server, or browse all high-risk tools across every MCP server.
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.
Add a rule in your Intercept YAML policy under the tools section for book_appointment. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the Eka EMR MCP server.
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 Intercept 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 Intercept 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). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept