Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
availabilityA

Is a medicine in shortage in Portugal? Checks Infarmed's published availability information.

Use when someone can't find a medicine, or asks whether X is in shortage ("rutura", "esgotado", "falta"). Searches by brand or active substance (Portuguese names work best, e.g. "quetiapina", "Ozempic", "ácido acetilsalicílico"; dose and form narrow it, e.g. "quetiapina 300 mg libertação prolongada").

Checks, all from www.infarmed.pt (latest versions are found automatically):

  • shortages Infarmed is actively monitoring (with its circulars and advice);

  • the monthly list of medicines whose export is temporarily suspended because of shortage / supply risk in Portugal;

  • the quarterly prior-notification list (LNP) of medicines with availability concerns.

status is one or more of: monitored_shortage, export_suspended, prior_notification, no_issue_in_published_lists. "No issue" does not prove the medicine is available: Infarmed's full shortage search is not queried (see not_checked).

Args: medicine: Brand name or active substance, optionally with strength/form. limit: Max rows returned per list (default 15).

pharmaciesA

Pharmacies in a Portuguese municipality, with which ones are on duty today and open now.

Use for "farmácia de serviço em X", "pharmacy open now near me", or to list pharmacies to call. Each pharmacy has name, address, phone, coordinates, today's hours, open_now, on_duty (official duty roster for the duty day 09:00-09:00) and the duty type (e.g. "Permanente - Aberta 24h"). Results are sorted: on duty first, then open now, then distance (when lat/lon are given). Stock is not public: never say a pharmacy has a medicine.

Args: city: Municipality or town/parish, e.g. "Lisboa", "Porto", "Cascais", "Alvalade, Lisboa" (add ", " to disambiguate a town). lat, lon: Optional user position: adds distance_km and allows radius_km. With no city, the municipality is found from the coordinate. radius_km: Keep only pharmacies within this distance of lat/lon. on_duty_only: Only pharmacies on the duty roster today. open_now_only: Only pharmacies open right now. limit: Max pharmacies returned (default 20, max 100).

find_medicine_nearA

One-shot answer to "I need medicine X in city Y — what do I do?" in Portugal.

Runs availability(medicine) and pharmacies(city or lat/lon), and returns: the shortage status (compact), the pharmacies on duty today and the ones open now (nearest first when lat/lon are given), the help lines (Linha 1400, SNS 24, 112) and next steps. It never says a pharmacy has the medicine: stock is not public.

Args: medicine: Brand name or active substance, e.g. "quetiapina", "Brufen 400". city: Municipality or town, e.g. "Lisboa". Or give lat/lon instead. lat, lon: Optional user position (sorts pharmacies by distance). limit: Max pharmacies returned (default 8).

where_to_get_helpA

Verified help lines in Portugal for medicine problems: 112, SNS 24, Linha 1400, Infarmed.

Use when someone can't find a medicine, needs urgent advice, or asks who to call. Each line has its number, what it is for, hours where published, and the page it was checked on.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 4 tools

Disambiguation4/5

find_medicine_near overlaps with availability, pharmacies, and where_to_get_help by composing them, but its one-shot role is clearly described and the atomic tools have distinct scopes. An agent could occasionally choose the composite versus combining atomics, but the boundaries are mostly clear.

Naming Consistency3/5

All names use snake_case, but the conventions are mixed: find_medicine_near and where_to_get_help are verb-like, while availability and pharmacies are bare nouns. They remain readable but are not fully predictable as a set.

Tool Count5/5

Four tools are well-scoped and each earns its place: shortage status, pharmacy lookup, help lines, and a one-shot workflow tool. The count fits the narrow domain without feeling thin or bloated.

Completeness4/5

The surface covers the core journey: check shortage status, locate pharmacies on duty/open now, get verified help lines, and answer the combined user question. Minor gaps remain, such as no direct Infarmed full shortage search or detailed medicine record, but the tools explicitly note those limits.

Maintenance

ActivityMaintained
ResponsivenessOutdated data