Skip to main content
Glama

get_compound_attributes_from_pubchem

Read-only

Retrieve compound attributes for a PubChem CID by inputting the ID, returning structured JSON data for bioinformatics analysis.

Instructions

Get compound attributes from PubChem RDF.

RETURNS the compound attributes as a JSON-formatted string. On upstream/HTTP failure this tool does NOT raise — it returns a plain string beginning with "Error:" (not JSON). CHECK FOR the "Error:" prefix BEFORE parsing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pubchem_compound_idYesPubChem Compound ID (CID), e.g. "445154".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses critical failure behavior: it does not raise on upstream/HTTP failure, returns a plain string beginning with 'Error:' instead of JSON, and warns the caller to check for that prefix. This is high-value behavioral context not present in the annotations.

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 only a few sentences and each one earns its place: the action, the return format, and the error-handling caveat. It is front-loaded and avoids filler.

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

Completeness5/5

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

For a simple one-parameter read-only tool, the description covers the core purpose, return format, and failure mode with high clarity. The presence of an output schema means return-value details do not need to be restated, and the tool's context is adequately complete.

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?

The single parameter is fully documented in the input schema, including an example CID ('445154'). The description does not need to add parameter details, so the baseline score of 3 is appropriate because the schema already carries the 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?

The description clearly identifies the verb ('Get') and the resource ('compound attributes from PubChem RDF'), which distinguishes it from sibling tools like get_pubchem_compound_id. The scope is specific and immediately understandable.

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 use when retrieving PubChem compound attributes, but it does not explicitly state when to choose this tool over alternatives or mention any exclusions. No direct comparison with siblings such as get_pubchem_compound_id is provided.

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/dbcls/togomcp'

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