Найти ближайшие аптеки по координатам пользователя в заданном радиусе. Найти ближайшие аптеки в заданном радиусе (включая статус открыто/закрыто). КОГДА ИСПОЛЬЗОВАТЬ: - Пользователь спрашивает "аптеки рядом со мной" или "ближайшая аптека" - Есть координаты пользователя (из геолокации или адреса) ...
Part of the Apteka Cis server.
Free to start. No card required.
AI agents call get_nearest_pharmacies to retrieve information from Apteka Cis without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though get_nearest_pharmacies only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
{
"version": "1",
"default": "deny",
"tools": {
"get_nearest_pharmacies": {}
}
} See the full Apteka Cis policy for all 4 tools.
These attack patterns abuse exactly the kind of access get_nearest_pharmacies gives an agent. Each links to the full case and the policy that stops it:
Other read tools across the catalogue. The same approach applies to each: allow, with a rate cap to control cost.
Найти ближайшие аптеки по координатам пользователя в заданном радиусе. Найти ближайшие аптеки в заданном радиусе (включая статус открыто/закрыто). КОГДА ИСПОЛЬЗОВАТЬ: - Пользователь спрашивает "аптеки рядом со мной" или "ближайшая аптека" - Есть координаты пользователя (из геолокации или адреса) - Нужно показать аптеки на карте отсортированные по расстоянию КАК ПОЛУЧИТЬ КООРДИНАТЫ: - Пользователь поделился геолокацией → используй напрямую - Пользователь назвал адрес → определи приблизительные координаты по Алматы: центр Алматы ≈ lat=43.238, lng=76.945 ул. Саина ≈ lng=76.852, Абая ≈ lat=43.233 Args: lat: Широта пользователя (например 43.222) lng: Долгота пользователя (например 76.851) city: Slug города. Default: "almaty" radius: Радиус поиска в метрах. Default: 2000 (2 км). Макс: 10000 limit: Максимум аптек в ответе. Default: 10 Returns: { lat, lng, city, radius, total, pharmacies: [{ name, address, distance_m, // расстояние в метрах от точки пользователя lat, lng, is_open, // true/false/null updated, // "5 мин. назад" }] } Результат отсортирован по distance_m (ближайшие первые).. It is categorised as a Read tool in the Apteka Cis MCP Server, which means it retrieves data without modifying state.
Register the Apteka Cis MCP server in PolicyLayer and add a rule for get_nearest_pharmacies: 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 Apteka Cis. Nothing to install.
get_nearest_pharmacies is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_nearest_pharmacies 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 get_nearest_pharmacies. 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.
get_nearest_pharmacies is provided by the Apteka Cis MCP server (apteka-health/apteka-cis). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic rules across all 4 Apteka Cis 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.