Skip to main content
Glama

Anvisa Drug Search

anvisa_drug_search
Read-onlyIdempotent

Search Brazil's register of medicines authorised by ANVISA (the national health regulator), about 40,000 registrations, by brand name, active ingredient or registration holder, in Portuguese or English. Accents are ignored and a word matches the start of a word ("dipiron" finds dipirona); every word must match. Returns each registration's brand name, active ingredient, holder, registration number, status as the register states it (Ativo/Inativo, plus an English reading), regulatory category with an English name, and registration and expiry dates; active registrations first, newest first. Use anvisa_drug_get for the full record. Answered from a stored copy of the register; every answer carries its data date.

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": "dipirona"
    },
    "name": "anvisa_drug_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoWhere to look: any (brand name or active ingredient; default), brand, ingredient, or holder (the registration holder's name).
limitNoMax results (1-50, default 20).
queryYesBrand name, active ingredient or holder words, e.g. "dipirona", "paracetamol" or "Eurofarma".
statusNoOptional: only registrations the register states as Ativo (active) or Inativo (inactive). A registration whose rows disagree appears under both.

Output Schema

NameRequiredDescriptionDefault
byNo
hintNo
noteNo
foundNo
queryNo
reasonNo
sourceNo
messageNo
resultsNo
returnedNo
data_as_ofNo
attributionNo
empty_reasonNo
answered_fromNo
status_filterNo
total_matchesNo
matched_on_stemsNo
source_file_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing matching semantics (accents ignored, prefix word matching, every word must match), result ordering (active first, newest first), and data provenance (answered from a stored copy, every answer carries its data date). These are non-obvious traits an agent could not infer from readOnlyHint/idempotentHint.

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?

Information-dense and front-loaded, with the register scope first and the sibling routing last. The long semicolon-chained sentence about return fields is heavier than necessary but every clause carries substantive content, so little is wasted.

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 4-parameter search tool with full schema coverage and an output schema, this covers everything an agent needs: what is searched, how matching works, how results are ordered, how fresh the data is, and where to go for the full record.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the query may be in Portuguese or English, accents are ignored, prefix matching applies, and all words must match. That clarifies how to phrase a query far better than the schema's examples alone.

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?

Names a specific verb and resource ('Search Brazil's register of medicines authorised by ANVISA'), states scope (~40,000 registrations, searchable fields) and explicitly distinguishes itself from sibling anvisa_drug_get ('Use anvisa_drug_get for the full record'). An agent can choose between the two without opening a 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?

Gives a clear routing rule to the alternative tool for full records and implicitly frames this as the discovery step. It does not state exclusions, such as that it only covers Brazilian registrations and is not a substitute for other company/market registers, so it falls short of a full when/when-not statement.

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.