Skip to main content
Glama

pubchem_compound

Read-onlyIdempotent

Look up a chemical compound in PubChem (free, no key). Returns CID, molecular formula, molecular weight, SMILES and IUPAC name. Use for chemical/compound reference data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCompound name, e.g. aspirin

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesSource payload; fields vary per tool
sourceYesHuman-readable upstream source name
retrievedAtYesISO-8601 timestamp of retrieval

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so safety is covered. The description adds genuine value beyond them by noting the API is 'free, no key,' which is auth/access context an agent needs. It stops short of mentioning rate limits or not-found behavior, so it doesn't reach 5.

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?

Two compact sentences, front-loaded with what the tool is and where the data comes from, followed by the return payload and usage scope. No filler or repetition of the tool name.

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 single-parameter lookup with an output schema present, the description is sufficient — return values need not be explained, and the listed fields are a helpful preview rather than a necessity. Only the lack of any sibling differentiation keeps it from being fully complete.

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 coverage is 100% for the single 'name' parameter, so the schema already carries the semantics and baseline is 3. The description adds nothing about accepted identifier forms (synonyms, CAS numbers, formulas) that would help beyond 'name, e.g. aspirin'.

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 ('look up'), a specific resource ('chemical compound'), and the backing source ('PubChem'), then enumerates the returned fields. An agent can distinguish this from openfda_drug or wikidata_search without opening any schema.

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 closing sentence 'Use for chemical/compound reference data' gives implied usage scope, but the description never names alternatives (e.g. openfda_drug for FDA drug labeling) or states when-not to use it. Adequate but leaves routing entirely to inference.

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.