Skip to main content
Glama

scienceplus__pubchem_compound_lookup

Get compound properties from PubChem by name, e.g. query "aspirin": formula, molecular weight, IUPAC name and CID link. Source: PubChem (NIH, public domain). License: Public domain (PubChem, NIH — U.S. federal government).

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": {
      "query": "<query>"
    },
    "name": "scienceplus__pubchem_compound_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It partially discharges this by naming the source (PubChem/NIH), licensing, and the exact fields returned, but it omits not-found behavior, partial-match handling, whether results are cached or rate-limited, and any authentication expectations for a lookup that is implied read-only only by the verb 'Get'.

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?

The useful content is front-loaded in the first clause with a concrete example, which is exactly what an agent needs first. The trailing source and license sentences are boilerplate that does not help tool selection, so the definition is slightly longer than necessary.

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?

With no output schema, the field enumeration in the description is genuinely necessary and present. However, the limit parameter implies up to 20 results while the description reads as a single-compound fetch, and no guidance covers multi-result or miss cases, leaving a meaningful gap for a two-parameter 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?

Schema description coverage is 100%, so both parameters are already documented. The description adds modest value by clarifying that the query is a compound name (with 'aspirin' as an example), but the limit parameter and its interaction with the singular 'Get compound properties' phrasing are never explained.

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 states a specific verb and resource ('Get compound properties from PubChem by name') and enumerates the returned fields (formula, molecular weight, IUPAC name, CID link), so an agent knows exactly what it retrieves. It does not explicitly distinguish itself from chemistry siblings such as chembl_compound_search, so it stops 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 Guidelines3/5

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

Usage is only implied: an agent can infer 'call this when you have a compound name like aspirin'. There is no statement of when to prefer it over alternatives, no prerequisites, and no guidance on what to do when a name is ambiguous or unmatched.

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.