Skip to main content
Glama

get_compound_details

Retrieve detailed compound information from PubChem using a CID, including formula, SMILES, and properties.

Instructions

Get detailed information about a compound by PubChem CID.

Args: cid: PubChem Compound ID

Returns: JSON with compound details including formula, SMILES, properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided. The description states it returns compound details (formula, SMILES, properties), which implies a read operation. However, it does not disclose any potential side effects, authentication needs, rate limits, or behavior on invalid CIDs. Given no annotations, the description carries the full burden but is minimal.

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?

The description is brief: a one-sentence purpose followed by a clear Args/Returns block. No redundant words, all sentences add value. Front-loaded with the main action.

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?

The tool is simple with one parameter. The description covers input (cid) and output (JSON with formula, SMILES, properties). It mentions an output schema implicitly. For a straightforward lookup, this is mostly sufficient, though it lacks details on error cases or exact JSON structure. Still, adequate given tool simplicity.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one parameter 'cid' with only type (string or integer) and title, and 0% schema description coverage. The description adds 'PubChem Compound ID', clarifying what the parameter represents. This adds significant meaning beyond the schema, compensating for the lack of parameter description.

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 clearly states 'Get detailed information about a compound by PubChem CID', specifying the verb 'get', resource 'compound', and identifier 'PubChem CID'. This clearly distinguishes it from sibling tools like search_compound (for searching by name) and get_compound_literature (for literature), which have different purposes.

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 to use (when you have a CID and want details), but it does not explicitly mention when not to use or suggest alternatives among the many sibling tools (e.g., search_compound for name-based lookup, get_compound_literature for publications). Adequate but no explicit guidance.

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/u9401066/pubmed-search-mcp'

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