Skip to main content
Glama

Get Entity Summary

pubchem_get_summary
Read-onlyIdempotent

Get descriptive summaries for PubChem entities by ID. Supports assays (AID), genes (Gene ID), proteins (UniProt accession), and taxonomy (Tax ID). Up to 10 per call; identifiers past that are returned in unprocessed for a follow-up call.

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": {
      "entityType": "<entityType>",
      "identifiers": "<identifiers>"
    },
    "name": "pubchem_get_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
entityTypeYesEntity type. Determines ID format and returned fields.
identifiersYesEntity identifiers. A comma-joined string is split into one identifier per piece, with whitespace trimmed. The per-call cap is 10 pieces: the first 10 are looked up, and any past that are returned in unprocessed, in input order, and reported in cappedInputs. More than 1000 pieces in all fails the call. ID form depends on entityType: - assay: AID, a positive integer, e.g. ["1000"] - gene: NCBI Gene ID, a positive integer, e.g. ["1956"] - protein: UniProt accession, e.g. ["P00533"] - taxonomy: NCBI Taxonomy ID, a positive integer, e.g. ["9606"] For assay, gene, and taxonomy, a piece that is not a positive integer up to 2147483647 written in digits is marked invalid and not looked up.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoRecovery guidance when identifiers were invalid or not found.
summariesNoSummary results, one per identifier piece looked up, in input order.
entityTypeNoEntity type queried.
foundCountNoIdentifiers resolved to a summary.
unprocessedNoIdentifier pieces past the per-call cap of 10, in input order, not looked up. Pass them in a follow-up call. Omitted when every piece was served.
cappedInputsNoInputs that asked for more than their per-call cap, with the value requested and the value served. An ID batch lists the IDs past the cap in unprocessed. Omitted when every input was within its cap.
requestedCountNoIdentifier pieces requested, counted after comma splitting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / summaries / items / properties / data / description
      Previous value: -"Entity summary data. Populated fields depend on entityType."New value: +"Entity summary data. Populated fields depend on entityType. On an assay row with a status (found: false), only name: the record's title, when PubChem keeps one."
    • addedOutput schema / properties / summaries / items / properties / status
      Added value: +{
      +  "description": "Record status PubChem lists for an assay it has no live summary for (found: false), as PubChem writes it, e.g. \"Revoked\"; data.name then carries the record's title when PubChem keeps one. Omitted when PubChem has no record of the AID or the status could not be read; the notice says which.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / summaries / items / properties / data / properties / comment
      Added value: +{
      +  "description": "The depositor's comment on the assay (assay summaries): often the activity threshold behind its Active calls, the source citation, and target notes. Lines joined with line breaks; omitted when PubChem records none or it is blank.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / summaries / items / properties / data / properties / sourceId
      Added value: +{
      +  "description": "The depositor's own ID for the assay (assay summaries), e.g. the ChEMBL assay ID CHEMBL4810382; some depositors use a free-text label.",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • changedInput schema / properties / identifiers / description
      Previous value: -"Entity identifiers. A comma-joined string is split into one identifier per piece, with whitespace trimmed. The per-call cap is 10 pieces: the first 10 are looked up, and any past that are returned in unprocessed, in input order, and reported in cappedInputs. More than 1000 pieces in all fails the call. ID form depends on entityType:\n- assay: AID, a positive integer, e.g. [\"1000\"]\n- gene: NCBI Gene ID, a positive integer, e.g. [\"1956\"]\n- protein: UniProt accession, e.g. [\"P00533\"]\n- taxonomy: NCBI Taxonomy ID, a positive integer, e.g. [\"9606\"]\nFor assay, gene, and taxonomy, a piece that is not a positive integer written in digits is marked invalid and not looked up."New value: +"Entity identifiers. A comma-joined string is split into one identifier per piece, with whitespace trimmed. The per-call cap is 10 pieces: the first 10 are looked up, and any past that are returned in unprocessed, in input order, and reported in cappedInputs. More than 1000 pieces in all fails the call. ID form depends on entityType:\n- assay: AID, a positive integer, e.g. [\"1000\"]\n- gene: NCBI Gene ID, a positive integer, e.g. [\"1956\"]\n- protein: UniProt accession, e.g. [\"P00533\"]\n- taxonomy: NCBI Taxonomy ID, a positive integer, e.g. [\"9606\"]\nFor assay, gene, and taxonomy, a piece that is not a positive integer up to 2147483647 written in digits is marked invalid and not looked up."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `too_many_identifiers`: Comma splitting yields more than 1000 identifier pieces. `invalid_identifier`: No identifier piece is usable: every piece is blank, or, for assay, gene, or taxonomy, not a positive integer. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `too_many_identifiers`: Comma splitting yields more than 1000 identifier pieces. `invalid_identifier`: No identifier piece is usable: every piece is blank, or, for assay, gene, or taxonomy, not a positive integer up to 2147483647. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / summaries / items / properties / data / properties / method / description
      Previous value: -"Assay method as PubChem labels it, e.g. \"confirmatory\" (dose-response) or \"screening\" (assay summaries). Omitted when PubChem records none."New value: +"Assay method as PubChem labels it (assay summaries): \"confirmatory\" (dose-response), \"screening\" (primary screen), \"summary\", or \"other\". Omitted when PubChem records none."
  4. Changed20 schema fields changed
    • changedInput schema / properties / identifiers / description
      Previous value: -"Entity identifiers (1-10). Type depends on entityType:\n- assay: AID (number), e.g. [1000]\n- gene: Gene ID (number), e.g. [1956]\n- protein: UniProt accession (string), e.g. [\"P00533\"]\n- taxonomy: Tax ID (number), e.g. [9606]"New value: +"Entity identifiers. A comma-joined string is split into one identifier per piece, with whitespace trimmed. The per-call cap is 10 pieces: the first 10 are looked up, and any past that are returned in unprocessed, in input order, and reported in cappedInputs. More than 1000 pieces in all fails the call. ID form depends on entityType:\n- assay: AID, a positive integer, e.g. [\"1000\"]\n- gene: NCBI Gene ID, a positive integer, e.g. [\"1956\"]\n- protein: UniProt accession, e.g. [\"P00533\"]\n- taxonomy: NCBI Taxonomy ID, a positive integer, e.g. [\"9606\"]\nFor assay, gene, and taxonomy, a piece that is not a positive integer written in digits is marked invalid and not looked up."
    • removedInput schema / properties / identifiers / items / anyOf
      Removed value: -[
      -  {
      -    "description": "String identifier (e.g. UniProt accession).",
      -    "type": "string"
      -  },
      -  {
      -    "description": "Numeric identifier (e.g. AID, Gene ID, Tax ID).",
      -    "type": "number"
      -  }
      -]
    • changedInput schema / properties / identifiers / items / description
      Previous value: -"Entity identifier — string or number depending on entityType."New value: +"Entity identifier, or several joined with commas."
    • addedInput schema / properties / identifiers / items / type
      Added value: +"string"
    • changedInput schema / properties / identifiers / maxItems
      Previous value: -10New value: +1000
    • addedOutput schema / properties / cappedInputs
      Added value: +{
      +  "description": "Inputs that asked for more than their per-call cap, with the value requested and the value served. An ID batch lists the IDs past the cap in unprocessed. Omitted when every input was within its cap.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One input served at its per-call cap.",
      +    "properties": {
      +      "input": {
      +        "description": "Input name, e.g. \"maxResults\" or \"cids\".",
      +        "type": "string"
      +      },
      +      "requested": {
      +        "description": "Value requested: the page size, or the number of IDs in the batch.",
      +        "type": "number"
      +      },
      +      "served": {
      +        "description": "Value served: the per-call cap.",
      +        "type": "number"
      +      },
      +      "unprocessed": {
      +        "description": "ID batches only: IDs past the cap, listed in unprocessed in input order.",
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "input",
      +      "requested",
      +      "served"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode."New value: +"Machine-readable failure mode. Declared by this tool: `too_many_identifiers`: Comma splitting yields more than 1000 identifier pieces. `invalid_identifier`: No identifier piece is usable: every piece is blank, or, for assay, gene, or taxonomy, not a positive integer. Other values are possible when a failure originates below the handler."
    • addedOutput schema / properties / error / properties / data / properties / reason / examples
      Added value: +[
      +  "too_many_identifiers",
      +  "invalid_identifier"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Recovery guidance when one or more identifiers were not found."New value: +"Recovery guidance when identifiers were invalid or not found."
    • changedOutput schema / properties / requestedCount / description
      Previous value: -"Identifiers requested."New value: +"Identifier pieces requested, counted after comma splitting."
    • changedOutput schema / properties / summaries / description
      Previous value: -"Summary results."New value: +"Summary results, one per identifier piece looked up, in input order."
    • addedOutput schema / properties / summaries / items / properties / data / properties / lastDataChange
      Added value: +{
      +  "description": "Date the assay's data last changed, YYYY-MM-DD (assay summaries).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / summaries / items / properties / data / properties / method
      Added value: +{
      +  "description": "Assay method as PubChem labels it, e.g. \"confirmatory\" (dose-response) or \"screening\" (assay summaries). Omitted when PubChem records none.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / summaries / items / properties / data / properties / numActiveCompounds
      Added value: +{
      +  "description": "Compounds (CIDs) the assay marked active (assay summaries).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / summaries / items / properties / data / properties / numCompounds
      Added value: +{
      +  "description": "Compounds (CIDs) tested (assay summaries). List them with pubchem_search_compounds searchType \"assay\" and activeOnly: false — its default lists only the actives.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / summaries / items / properties / data / properties / targetCount
      Added value: +{
      +  "description": "Number of targets PubChem lists for the assay (assay summaries).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / summaries / items / properties / data / properties / targets
      Added value: +{
      +  "description": "Assay targets, the first 25 PubChem lists (assay summaries); targetCount gives the full number.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "Assay target.",
      +    "properties": {
      +      "accession": {
      +        "description": "Target protein or gene accession.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Target name.",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / summaries / items / properties / identifier / description
      Previous value: -"Queried identifier."New value: +"Queried identifier: a number for assay, gene, and taxonomy; the accession for protein; the piece as sent when invalid."
    • addedOutput schema / properties / summaries / items / properties / invalid
      Added value: +{
      +  "description": "True when the identifier is not in the form entityType expects; it was not looked up. Omitted otherwise.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / unprocessed
      Added value: +{
      +  "description": "Identifier pieces past the per-call cap of 10, in input order, not looked up. Pass them in a follow-up call. Omitted when every piece was served.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  5. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "entityType",
      +      "summaries",
      +      "requestedCount",
      +      "foundCount"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode.",
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "entityType",
      -  "summaries",
      -  "requestedCount",
      -  "foundCount"
      -]
  6. Changed1 schema field changed
    • changedOutput schema / properties / summaries / items / properties / data / properties / lineage / description
      Previous value: -"Parent taxonomy lineage (taxonomy summaries)."New value: +"Taxonomic lineage ordered from the most inclusive rank to the most specific, e.g. [\"Eukaryota\", \"Metazoa\", \"Chordata\"] (taxonomy summaries). Ranks that do not apply to the entity are omitted."
  7. Changed4 schema fields changed
    • addedOutput schema / properties / foundCount
      Added value: +{
      +  "description": "Identifiers resolved to a summary.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Recovery guidance when one or more identifiers were not found.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / requestedCount
      Added value: +{
      +  "description": "Identifiers requested.",
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "entityType",
      -  "summaries"
      -]New value: +[
      +  "entityType",
      +  "summaries",
      +  "requestedCount",
      +  "foundCount"
      +]
  8. Changed4 schema fields changed
    • changedInput schema / properties / identifiers / items / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]New value: +[
      +  {
      +    "description": "String identifier (e.g. UniProt accession).",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Numeric identifier (e.g. AID, Gene ID, Tax ID).",
      +    "type": "number"
      +  }
      +]
    • addedInput schema / properties / identifiers / items / description
      Added value: +"Entity identifier — string or number depending on entityType."
    • addedOutput schema / properties / summaries / items / description
      Added value: +"Per-identifier summary result."
    • changedOutput schema / properties / summaries / items / properties / identifier / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]New value: +[
      +  {
      +    "description": "String identifier (e.g. UniProt accession).",
      +    "type": "string"
      +  },
      +  {
      +    "description": "Numeric identifier (e.g. AID, Gene ID, Tax ID).",
      +    "type": "number"
      +  }
      +]
  9. Changed4 schema fields changed
    • changedOutput schema / properties / summaries / items / properties / data / additionalProperties
      Previous value: -{}New value: +false
    • changedOutput schema / properties / summaries / items / properties / data / description
      Previous value: -"Entity summary data (shape varies by type)."New value: +"Entity summary data. Populated fields depend on entityType."
    • addedOutput schema / properties / summaries / items / properties / data / properties
      Added value: +{
      +  "aid": {
      +    "description": "Assay ID — present on assay summaries.",
      +    "type": "number"
      +  },
      +  "commonName": {
      +    "description": "Common name (taxonomy summaries).",
      +    "type": "string"
      +  },
      +  "description": {
      +    "description": "Descriptive text when available.",
      +    "type": "string"
      +  },
      +  "geneId": {
      +    "description": "NCBI Gene ID (gene summaries).",
      +    "type": "number"
      +  },
      +  "lineage": {
      +    "description": "Parent taxonomy lineage (taxonomy summaries).",
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "name": {
      +    "description": "Primary display name.",
      +    "type": "string"
      +  },
      +  "numActive": {
      +    "description": "Substances marked active (assay summaries).",
      +    "type": "number"
      +  },
      +  "numSubstances": {
      +    "description": "Substances tested (assay summaries).",
      +    "type": "number"
      +  },
      +  "proteinAccession": {
      +    "description": "Protein accession (protein summaries).",
      +    "type": "string"
      +  },
      +  "rank": {
      +    "description": "Taxonomic rank (taxonomy summaries).",
      +    "type": "string"
      +  },
      +  "scientificName": {
      +    "description": "Scientific name (taxonomy summaries).",
      +    "type": "string"
      +  },
      +  "sourceName": {
      +    "description": "Data source attribution (assay summaries).",
      +    "type": "string"
      +  },
      +  "symbol": {
      +    "description": "Gene symbol (gene summaries).",
      +    "type": "string"
      +  },
      +  "synonyms": {
      +    "description": "Known synonyms / other names.",
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "taxonomy": {
      +    "description": "Taxonomy scientific name (gene/protein summaries).",
      +    "type": "string"
      +  },
      +  "taxonomyId": {
      +    "description": "NCBI Taxonomy ID (gene/protein/taxonomy summaries).",
      +    "type": "number"
      +  }
      +}
    • removedOutput schema / properties / summaries / items / properties / data / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
  10. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and open-world, so safety is covered; the description adds real behavioral detail beyond them by disclosing the 10-per-call cap and that overflow identifiers come back in the 'unprocessed' field for a follow-up call. The sentence is slightly garbled ('returned in unprocessed for a follow-up call'), and it omits the >1000 failure condition documented only in the schema.

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?

Two front-loaded sentences with no filler: capability first, then batching constraint. Minor deduction for the ungrammatical overflow clause, which reads awkwardly and could mislead about whether the field is named 'unprocessed'.

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?

With an output schema present, the description need not explain return fields, and annotations cover the safety profile. What remains missing is small: error/failure behavior and any hint about summary size or cost for open-world lookups.

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%, including per-entity ID formats, comma-splitting, and the 1000-piece hard limit, so the schema carries the parameter burden. The description's parameter content (entity types, the 10 cap) largely restates the schema rather than adding new meaning, so the baseline 3 applies.

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 gives a specific verb and resource ('Get descriptive summaries for PubChem entities') and immediately bounds scope by enumerating the supported entity types (assay, gene, protein, taxonomy). That enumeration implicitly separates it from the compound-focused siblings, though it never names one explicitly.

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 implied rather than stated: an agent can infer this is the summary tool for non-compound entity types and that batches over 10 need a follow-up call. There is no explicit when-to-use/when-not guidance and no named alternative for retrieving compound summaries.

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.