Skip to main content
Glama
pubchem-chemical-compounds-mcp

pubchem-chemical-compounds-mcp

Get PubChem compound synonyms

get_compound_synonyms
Read-onlyIdempotent

Retrieves chemical synonyms, CAS registry numbers, UNII codes, and trade names for a compound by PubChem CID or name, so you can map identifiers and aliases to a single substance.

Instructions

Retrieve chemical synonyms, CAS registry numbers, UNII codes, and trade names for a PubChem compound by CID or name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_compound_synonyms"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidNoPubChem CID (e.g. 2244).
nameNoCompound name (e.g. "aspirin") if CID is not provided.
limitNoMaximum synonyms to return (1-200). Default 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the safety profile is covered. The description adds return-content context (it names the kinds of identifiers returned, useful since there is no output schema) but says nothing about ordering, truncation, or what happens when neither CID nor name resolves.

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?

A single front-loaded sentence with the verb, the returned content types, and the lookup keys in that order. Nothing is redundant or padded.

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?

For a read-only lookup with full schema coverage and annotations, the definition covers what is returned and how it is addressed. The remaining gap is minor: no mention of how the limit interacts with results or whether name matches can be ambiguous.

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 CID, name, and the 1-200 limit are already documented with examples and defaults. The phrase "if CID is not provided" restates the fallback relationship already encoded in the schema, adding no new meaning.

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

Purpose4/5

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

The description uses a specific verb ("Retrieve") plus a concrete resource list ("chemical synonyms, CAS registry numbers, UNII codes, and trade names") scoped to a PubChem compound. That resource focus is clearly distinct from get_compound_properties or get_compound_description, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The description implies the usage case (you need identifiers/synonyms for a compound) and states that lookup works by CID or name, but it gives no explicit when-to-use or when-not guidance relative to the sibling tools, and no prerequisites or caveats.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.