Skip to main content
Glama

search_hazard

search_hazard
Read-onlyIdempotent

Retrieve hazard data by DTXSID across ToxValDB, ToxRefDB, cancer, genetox, ADME, IRIS, PPRTV, or HAWC datasets. Use it to query specific hazard types for a chemical.

Instructions

Search for hazard data by DTXSID across ToxValDB, ToxRefDB, cancer, genetox, ADME/IVIVE, IRIS, PPRTV, or HAWC datasets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dtxsidYesChemical identifier (DTXSID).
summaryNoWhether to request summary (vs. detailed) data when supported.
data_typeYesHazard dataset to query.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesHazard dataset records returned for a single chemical lookup across ToxValDB, ToxRefDB, cancer, genetox, ADME/IVIVE, IRIS, PPRTV, or HAWC selectors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/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 safety is covered. The description adds the useful fact that it spans multiple named hazard sources, but says nothing about result scope, aggregation, or pagination beyond what the schema implies.

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 no filler; the verb and resource lead immediately followed by the scope-defining dataset list.

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

Completeness3/5

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

Output schema exists so return values need no explanation, and all three params are documented. The gap is routing context: nothing explains how this multi-dataset search relates to the per-dataset sibling tools.

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% with a documented enum for data_type, so the schema carries parameter meaning. The description's dataset list loosely maps to the data_type enum values but adds no syntax or semantic detail the schema lacks.

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?

States a specific verb (Search), resource (hazard data), key (DTXSID) and enumerates the datasets covered. This differentiates it from single-dataset siblings like get_hazard_toxval or get_hazard_iris, though it never explicitly says it aggregates across them.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance. It does not tell the agent how to choose between this tool and the many per-dataset get_hazard_* tools or batch_search_hazard, leaving selection entirely to inference.

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

Deploy Server

Other Tools