Skip to main content
Glama

Nöbetçi Eczane: Find nearby pharmacies

pharmacy_findNearbyPharmacies
Read-onlyIdempotent

Find nearby pharmacies

Pharmacies within a radius of a coordinate, nearest first and annotated with distanceKm. Pages through at most the 500 nearest: at 500 next_cursor is null.

GET /v1/pharmacy/pharmacies/nearby on Nöbetçi Eczane (SBX-ECZ). Costs 2 credits per call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lat": "<lat>",
      "lon": "<lon>"
    },
    "name": "pharmacy_findNearbyPharmacies"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoAlias for `name`.
latYesLatitude of the search center (WGS84).
lonYesLongitude of the search center (WGS84).
cityNoFilter by city name (case- and accent-insensitive). Up to 120 characters.
dutyNoFilter to on-duty (`true`) or off-duty (`false`) pharmacies. Omit to return both.
nameNoTurkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter.
limitNoMaximum number of items on this page.
cursorNoOpaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400.
districtNoFilter by district name (case- and accent-insensitive). Up to 120 characters.
radiusKmNoSearch radius in kilometers.
activelyOnDutyNo`true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so safety is covered. The description still adds genuinely non-structured facts: nearest-first ordering, the 500-item pagination cap with `next_cursor` becoming null, the underlying endpoint, and a 2-credit-per-call cost that matters for agent budgeting.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the one-line purpose, then a compact paragraph covering ordering, pagination, endpoint, and cost. The opening line is mildly redundant with the title, and the internal endpoint/cost line is slightly operational noise, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, no-output-schema tool, the description surfaces the two things an agent most needs about the response: `distanceKm` annotation and the `next_cursor` termination condition. It leaves the rich filter parameter behavior to the schema, which is adequate given full coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the parameters are richly documented there (including the `q`/`name` alias and the subtle `activelyOnDuty` semantics), so the schema carries the load. The description adds no parameter-level meaning beyond mentioning the radius concept and the `distanceKm` field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb+resource ('Find nearby pharmacies') with a precise mechanism: pharmacies within a radius of a coordinate, nearest first, annotated with `distanceKm`. That geospatial framing distinguishes it in practice from the name-based sibling `pharmacy_searchPharmacies`, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the required lat/lon and the radius semantics, and the 500-result pagination ceiling tells the agent when to stop paging. However, there is no explicit 'use this when / use X instead' guidance relative to `pharmacy_searchPharmacies` or `pharmacy_listDutyPharmacies`, so the agent must infer the routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources