Skip to main content
Glama

chem_similar

Read-only

Similar compounds search — Find structurally similar molecules for a compound (name=, smiles= or cid=): PubChem 2D similarity search, re-scored with Tanimoto on the PubChem fingerprint and ranked, with formula, molecular weight, XLogP, SMILES, InChIKey and links. Optional threshold= (70-99, default 90) and limit= (1-25, default 10). Source: PubChem (NLM/NCBI). Price: $0.004 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": {
      "name": "<name>"
    },
    "name": "chem_similar"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYese.g. aspirin

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, non-destructive. The description adds genuinely new behavioral context beyond that: the data source (PubChem/NLM/NCBI), the two-stage ranking methodology, the specific fields returned, and — notably — the paid cost ($0.004 USDC via x402 on Base), which an agent must know before calling. It does not cover failure behavior for a missing compound, but the additions are substantial.

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 verb and resource in the first clause, then method, then optional knobs, then provenance and price. Dense but every block carries information; the returned-field list is justified since there is no output schema. Minor bloat from listing both 'Source' and 'Price' as separate trailing fragments.

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, describing return fields (formula, MW, XLogP, SMILES, InChIKey, links) is a real contribution, and the cost/provenance notes round it out. But the description's parameter set is inconsistent with the actual schema, leaving an agent unsure which inputs are valid — a significant completeness failure for a one-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 baseline would be 3. However, the description advertises parameters that do not exist in the schema (smiles=, cid=, threshold=, limit=), which would lead an agent to construct calls the schema rejects. This actively misleads rather than adding meaning.

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 and resource ('Find structurally similar molecules for a compound') and spells out the underlying method (PubChem 2D similarity, Tanimoto re-scoring on the PubChem fingerprint). This clearly separates it from the sibling chem_compound lookup, which retrieves a single compound rather than ranked neighbors.

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 description implies when the tool is appropriate ('Similar compounds search', 'structurally similar molecules') but never states when to prefer it over chem_compound or chem_compound_batch, nor any exclusions or prerequisites. Usage is inferable from the framing rather than stated.

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