Skip to main content
Glama

Nöbetçi Eczane: Search pharmacies

pharmacy_searchPharmacies
Read-onlyIdempotent

Search pharmacies

All pharmacies (on-duty and regular) matching the given filters.

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

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pharmacy_searchPharmacies"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoAlias for `name`.
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.
sortNoSort order for the result set.id
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.
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.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive behavior, so the safety profile is covered. The description adds genuine context beyond that: the concrete endpoint (GET /v1/pharmacy/pharmacies), the provider (SBX-ECZ), and a per-call cost of 1 credit, which is pricing information not present in any structured field. It does not discuss result size or pagination behavior, but the schema covers paging via limit/cursor.

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?

Three short sentences with the core purpose front-loaded and the cost note at the end where it belongs. There is mild redundancy between the title-like "Search pharmacies" line and the follow-up scope sentence, but no filler.

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

Completeness3/5

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

With nine optional parameters and no output schema, the description should ideally say something about what a result record contains and how pagination terminates. The rich schema mitigates this, and the credit-cost disclosure is a plus, but an agent still gets no description of the returned pharmacy shape.

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%, with detailed per-parameter semantics including alias behavior (q for name), timezone-aware activelyOnDuty, and cursor reuse rules, so the schema does the heavy lifting. The description adds nothing about individual parameters, leaving this at the baseline for full-coverage schemas.

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 states a specific verb and resource ("Search pharmacies") and immediately narrows scope with "All pharmacies (on-duty and regular) matching the given filters," which implicitly separates it from a duty-only or nearby-only search. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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 phrase "All pharmacies (on-duty and regular)," suggesting this is the general-purpose filter search rather than the duty-only or proximity variant. However, there is no explicit when-to-use guidance, no exclusions, and no named alternative for cases where the caller wants only on-duty or nearby results.

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