Skip to main content
Glama

Query

query
Read-onlyIdempotent

Search MyChem.info for drugs / chemical compounds. Accepts a plain drug name ("aspirin"), an InChIKey, or a fielded query (e.g. "chembl.pref_name:aspirin", "drugbank.name:Acetylsalicylic acid"). Returns aggregated hits with cross-references to ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, etc. Use this to resolve a drug name into structured identifiers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoMax hits to return, 1-1000 (default 10).
queryYesDrug name ("aspirin"), an InChIKey, or a fielded query like "chembl.pref_name:aspirin".
fieldsNoComma-separated return fields (default: all). e.g. "chembl.pref_name,drugbank.name,pubchem".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "aspirin"
      +  },
      +  {
      +    "fields": "chembl.pref_name,drugbank.name,pubchem.cid",
      +    "query": "chembl.pref_name:ibuprofen",
      +    "size": 5
      +  }
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint as false. Description adds value by specifying the nature of returned data (aggregated cross-references) and accepted input varieties, but does not contradict annotations. No annotation contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences efficiently cover purpose, inputs, and use case. No unnecessary words; all sentences contribute directly to tool understanding.

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

Completeness4/5

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

Description covers purpose, inputs, and output characteristics (cross-references to specific databases). No output schema exists, but description explains what is returned. Could mention pagination limits, but schema includes size parameter with description.

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% with each parameter described. Description adds concrete examples (e.g., 'aspirin', 'chembl.pref_name:aspirin') that enhance understanding beyond the schema definitions, justifying a slightly above-baseline score.

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?

Description clearly states the tool searches MyChem.info for drugs/chemical compounds, specifies accepted input types (plain name, InChIKey, fielded query), and explains the output (aggregated hits with cross-references). It distinguishes from siblings by focusing on chemical entity resolution.

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?

Description includes a use case ('resolve a drug name into structured identifiers') and gives example queries. However, it does not explicitly state when not to use this tool or mention alternatives among siblings, missing an opportunity for clearer guidance.

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.