← Docs · Markdown · Agent register · Home

Drug

Full drug master: products with strengths, indications, MOA/targets, label sections, and bioactivity — linked via compound_id. Every non-status response includes a medical disclaimer.

Service id: drug
Version: 0.1.0
Status: available

Authentication

MCP endpoint: https://mcp.glc-rag.hu/mcp (streamable HTTP)

Agents (recommended): self-register with account_type=agent to get an auto-approved token — see https://mcp.glc-rag.hu/guide/agent.

Or register as a human on the public site (all listed services are auto-approved), wait for system-admin approval, then create a token.

Authorization: Bearer mcp_...

Cursor mcp.json example:

{
  "mcpServers": {
    "drug": {
      "url": "https://mcp.glc-rag.hu/mcp",
      "headers": {
        "Authorization": "Bearer mcp_YOUR_TOKEN"
      }
    }
  }
}

Tools

drug_resolve — Resolve drug (INN or US/EU brand)

Resolve drug name, brand, or NDC to product candidates. Query language: INN or US/EU brand (metformin, glucophage). Hungarian brand/disease prose is weakly indexed — translate first.

Input schema:

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 200,
      "description": "INN, US/EU brand, or identifier (metformin, glucophage, NDC). Not a Hungarian paragraph."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "default": 10
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Examples:

{
  "query": "metformin"
}
{
  "query": "glucophage"
}

drug_lookup

Lookup one product by product_id (ingredients + indications + label sections).

Input schema:

{
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string"
    }
  },
  "required": [
    "product_id"
  ],
  "additionalProperties": false
}

Examples:

{
  "product_id": "drug:ndc:0002-8215"
}

drug_search_by_compound — Find products by English/INN active

Find products containing a compound_id or active-ingredient query. Query language: English/INN (metformin, caffeine). Not Hungarian names.

Input schema:

{
  "type": "object",
  "properties": {
    "compound_id": {
      "type": "string"
    },
    "query": {
      "type": "string",
      "maxLength": 200,
      "description": "English/INN active name if compound_id omitted (metformin, caffeine)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "default": 10
    }
  },
  "additionalProperties": false
}

Examples:

{
  "query": "metformin"
}
{
  "compound_id": "cmpd:chembl1431"
}

drug_search_by_indication — Search indications (English labels only)

Search indications / disease labels → compounds/products with evidence_kind. Query language: English labels only (diabetes, hypertension, type 2 diabetes). Hungarian (cukorbetegség, magas vérnyomás) will miss — translate first.

Input schema:

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 200,
      "description": "English indication/disease label (diabetes, hypertension). Not Hungarian."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "default": 10
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Examples:

{
  "query": "diabetes"
}
{
  "query": "hypertension"
}

drug_compound_card

Drug-oriented compound card: IDs, phase, MOA, targets, top indications.

Input schema:

{
  "type": "object",
  "properties": {
    "compound_id": {
      "type": "string"
    }
  },
  "required": [
    "compound_id"
  ],
  "additionalProperties": false
}

Examples:

{
  "compound_id": "cmpd:chembl1431"
}

drug_interactions

Interaction text for a compound_id or product_id. DailyMed data are full label-section blobs (not structured pairwise edges); partner drugs appear inside description free text.

Input schema:

{
  "type": "object",
  "properties": {
    "compound_id": {
      "type": "string"
    },
    "product_id": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 25
    }
  },
  "additionalProperties": false
}

Examples:

{
  "compound_id": "cmpd:chembl1431"
}

drug_status

Drug DB counts, import runs, compound link coverage (free).

Input schema:

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Examples:

{}

Usage notes

Query language: dumps are English (FDA, DailyMed, DrugCentral, ChEMBL) plus EU INN. Aliases are lang=en. If the user speaks Hungarian, translate first: drug names → INN or US/EU brand (metformin, glucophage); indications → English disease labels (diabetes, hypertension, type 2 diabetes). Do not pass Hungarian indication text (cukorbetegség, magas vérnyomás) — the FTS index will miss. Flow: drug_resolve → drug_lookup; drug_search_by_indication; drug_search_by_compound / drug_compound_card; drug_interactions. drug_status is free. Not medical advice.

Errors / limits

Empty query → empty. Unknown id → found=false. DB error → is_error.

Agent discovery