Skip to main content
Glama

chem_compound_batch

Read-only

Batch chemical lookup + comparison (PubChem) — Look up up to 10 chemicals by name or CAS number in one call (names separated by ;): CID, formula, molecular weight, CAS, InChIKey, XLogP, TPSA, H-bond counts and Lipinski check for each, plus a comparison summary (heaviest, lightest, most lipophilic, most polar, Lipinski pass/fail lists). Source: PubChem (NCBI/NLM). Price: $0.012 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "names": "<names>"
    },
    "name": "chem_compound_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesYese.g. caffeine;aspirin;ibuprofen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, so the safety profile is covered. The description adds genuinely useful non-annotation details — the PubChem/NLM data source, the $0.012 USDC cost via x402 on Base, and the exact return fields — but says nothing about failure modes (e.g., name not found, more than 10 names) 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.

Conciseness4/5

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

Front-loaded with the action and limit, then the return payload, then source and price. The long interior field list and parenthetical summary run slightly dense, but with no output schema each listed field earns its place.

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 one-parameter, no-output-schema tool, the description covers input format, batch limit, returned fields, data source, and pricing. Remaining gaps are edge-case behavior (partial failures, unmatched names) rather than anything required to invoke the tool correctly.

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% and the schema itself supplies the separator example 'caffeine;aspirin;ibuprofen'. The description does add the meaningful cap of 10 items and the fact that CAS numbers are accepted, which goes beyond the schema, but it is a single parameter and these are modest additions over the baseline.

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+resource ('Batch chemical lookup + comparison') with scope ('up to 10 chemicals by name or CAS number in one call') and enumerates the returned fields plus a comparison summary. The word 'Batch' and 'in one call' implicitly separate it from the singular sibling chem_compound, but no sibling is named explicitly, so it falls just short of a 5.

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?

Usage context is clear: batch of up to 10, names separated by ';', accepting name or CAS number. There are no explicit exclusions or named alternatives (e.g., 'use chem_compound for a single lookup'), so the agent must infer the single-vs-batch routing.

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.

Resources