Skip to main content
Glama

chemistry.pubchem.hazards

Retrieve GHS hazard classifications for chemical compounds using PubChem CID. Access signal words, hazard statements, precautionary codes, and pictograms for chemical safety assessments.

Instructions

Get GHS (Globally Harmonized System) hazard classification for a compound — signal words (Danger/Warning), hazard statements (H-codes), precautionary statements (P-codes), pictograms. Essential for chemical safety assessments (PubChem / NCBI)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidYesPubChem Compound ID (CID) — returns GHS hazard classification, pictograms, signal words
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses what data is returned (GHS classifications, pictograms) and the data source (PubChem/NCBI), but lacks information on error handling (e.g., invalid CID), data availability (not all compounds have GHS data), or rate limits.

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?

Excellent structure: front-loaded action ('Get GHS...'), immediate expansion of the GHS acronym, specific enumeration of return values, and closing context (safety assessments). No wasted words; every clause provides distinct value.

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?

Given the tool's simplicity (single required parameter) and lack of output schema, the description adequately covers the domain by explaining GHS components and safety assessment use cases. Would benefit from noting data availability limitations or error scenarios, but sufficiently complete for a lookup tool.

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?

With 100% schema description coverage for the single 'cid' parameter, the baseline score applies. The description reinforces that the CID returns GHS classification data, but does not add semantic details beyond the schema such as example CIDs, format constraints, or lookup behavior.

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?

The description explicitly states 'Get GHS... hazard classification for a compound' with specific details on returned data (signal words, H-codes, P-codes, pictograms). This clearly distinguishes it from sibling chemistry.pubchem.* tools which handle properties, structures, or bioassays rather than safety classifications.

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?

Provides clear usage context with 'Essential for chemical safety assessments,' indicating when to use the tool. However, it lacks explicit guidance on when NOT to use it (e.g., for general physical properties) or direct references to sibling alternatives like chemistry.pubchem.properties.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server