Skip to main content
Glama

Hsa Sg Search

hsa_sg_search
Read-onlyIdempotent

Search medicines registered in Singapore, the Health Sciences Authority (HSA) official listing of ~5,500 registered therapeutic products, live from data.gov.sg. Answers "is approved in Singapore", "which Singapore-registered products contain ", "what does hold a Singapore product licence for", "which products in ATC class are registered in Singapore". Each row: SIN licence number, product name, licence holder, approval date, forensic classification (Prescription Only / Pharmacy Only / General Sale List), ATC code, dosage form, route, manufacturers, country of manufacture, active ingredients with strengths. Real offset+limit pagination with a total match count; results newest approval first.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "query": "metformin"
    },
    "name": "hsa_sg_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows, default 25, max 200.
queryNoFree text matched against product name, active ingredient, licence holder and licence number, e.g. "metformin", "KEYTRUDA", "SIN16061P".
routeNoRoute of administration contains, e.g. "ORAL", "INTRAVENOUS".
holderNoProduct licence holder name contains, e.g. "PFIZER".
offsetNoRow offset for pagination, default 0.
countryNoCountry of manufacture, exact name as HSA writes it, e.g. "INDIA", "GERMANY" (see hsa_sg_dataset_info).
atc_codeNoATC code prefix, e.g. "A10BA" (biguanides) or "L01" (antineoplastics).
approved_toNoLatest approval date, YYYY-MM-DD.
dosage_formNoDosage form contains, e.g. "TABLET", "INJECTION".
manufacturerNoManufacturer name contains.
approved_fromNoEarliest approval date, YYYY-MM-DD.
active_ingredientNoActive ingredient contains (case-insensitive), e.g. "PARACETAMOL".
forensic_classificationNoSupply category.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds real behavioral context on top: live sourcing from data.gov.sg, real offset+limit pagination with a total match count, and deterministic ordering ('results newest approval first'). The result-field enumeration also tells the agent what shape the data will take, which annotations cannot convey.

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?

A single front-loaded paragraph with zero filler: purpose first, then example intents, then return shape, then pagination/ordering. The long comma-separated row-field enumeration is dense but earns its place given there is no output schema; only minor tightening is possible.

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

Completeness5/5

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

For a 13-parameter, all-optional search tool with no output schema, the description supplies exactly what is missing: the result schema, pagination model, total count, and sort order. An agent has everything needed to construct a correct call and interpret the response.

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%, so the baseline applies; the schema already documents match modes (contains vs. exact), formats, and the enum. The description's 'each row' field list and the questions map loosely onto parameters (ingredient, holder, ATC) but add no syntax or format detail beyond what the schema states, aside from pointing to hsa_sg_dataset_info for country names.

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

Purpose5/5

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

States a specific verb and resource ('Search medicines registered in Singapore, the HSA official listing of ~5,500 registered therapeutic products, live from data.gov.sg'), and the four example questions pin down the exact scope. An agent can tell this is a multi-filter product search rather than a single-record fetch or a dataset-metadata call, so it is distinguishable from the hsa_sg_product / hsa_sg_dataset_info siblings without opening the schema.

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

Usage Guidelines4/5

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

The paraphrased user questions ('is <drug> approved in Singapore', 'which products contain <ingredient>', 'what does <company> hold a licence for', 'which products in ATC class <code>') give concrete selection signals. It stops short of explicit exclusions or naming alternatives (e.g. 'use hsa_sg_product for a single SIN lookup'), so the when-not half of the guidance is absent.

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.