Skip to main content
Glama

Get Bioactivity

pubchem_get_bioactivity
Read-onlyIdempotent

Get a compound's bioactivity profile: which assays tested it, activity outcomes (Active/Inactive/Inconclusive), target identifiers (NCBI Gene ID, UniProt/GenBank accession), quantitative values (IC50, EC50, Ki, etc.), each assay's type (confirmatory, screening, summary, other), and the PubMed IDs it cites. Filter by outcome, a specific molecular target (NCBI Gene ID or protein accession), named AIDs, assay type, and/or activity name (e.g. IC50) to focus the profile, and rank by potency within the named measurements — e.g. "is this compound active against target T in confirmatory assays?", "what is its lowest IC50 against T?", or "what did it do in AID N?".

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": {
      "cid": "<cid>"
    },
    "name": "pubchem_get_bioactivity"
  }
}

Input Schema

NameRequiredDescriptionDefault
aidNoKeep only these assays, by PubChem Assay ID (up to 1000; a repeated AID counts once) — e.g. the AIDs pubchem_search_assays found for a target, or the one pubchem_search_compounds listed this compound under. Combines with every other filter, before sort and offset, so filteredCount and paging count only the listed assays. A listed AID with no row in this compound's assay summary is returned in aidsNotInProfile.
cidYesPubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds.
sortNo"table" (default) keeps PubChem's assay order (by AID). "potency" orders assays by their lowest matching activity value, ascending (most potent first), ties to the lower AID; every value in a compound's table shares one unit (uM), and a value carrying its own outcome never matches, so it never sets the order. "potency" requires activityName: the value column also holds non-potency measurements (Cmax, solubility, rate constants, unnamed values), so a name-blind order would rank them as potencies.table
offsetNoZero-based index of the first assay to return, applied after every filter and the sort order. Pass the nextOffset from a previous call to read the following page. Default: 0.
assayTypeNoKeep only assays of these types: "confirmatory" (dose-response and other follow-up assays), "screening" (primary high-throughput screens), "summary" (records summarizing a project's assays), "other". Matched against PubChem's Assay Type regardless of case; an assay with no recorded type matches none. Combines with outcomeFilter and the target filters — an assay must pass all of them. Omit to keep every type.
maxResultsNoMax assay results to return per page. The per-call cap is 100: a larger value (up to 1000) returns a page of 100 and is reported in cappedInputs. Well-studied compounds have thousands of records; use offset to reach the ones past this page. Default: 20.
activityNameNoKeep only assays whose reported target has an activity value with one of these measurement names (e.g. ["IC50"], ["Ki", "Kd"]), and narrow that target's activityValues to the matching values; otherTargets are left as they are. Names match whole and regardless of case ("ic50" matches "IC50", not "IC50 relative"); a value with no name, or one carrying its own outcome (from a row whose outcome differs from the target's), never matches; blank entries are ignored. Applied after the outcome, target, assay-type, and AID filters, so filteredCount and paging count only the assays it keeps.
targetGeneIdNoFilter to assays against this NCBI Gene ID (1 to 2147483647), including assays recorded only under a protein accession this compound's assay table pairs with the Gene ID (e.g. 5742 also reaches rows carrying only P23219 when another row pairs the two). Obtain Gene IDs from the GeneID:N in a pubchem_get_compound_interactions target entry's partner (kinds: ["target"]) or the targetGeneId field of a result here without a target filter (rows from untargeted screens carry none). Combine with outcomeFilter="active" to answer "is this compound active against target T?".
outcomeFilterNoFilter by activity outcome against each assay's reported target: the target a target filter matched, else the first target the assay lists. That outcome reads over every row the assay holds for the compound against the target (one per substance tested): Active when any row is Active, as PubChem lists a compound's active assays; otherwise the first of Probe, Inconclusive, Inactive, Unspecified that a row records. For a multi-target assay, outcomes against its other targets (in otherTargets) do not count. "active" keeps assays where that outcome is Active — most useful for understanding biological profile. Default: "all".all
targetAccessionNoFilter to assays against this target protein accession (UniProt/RefSeq/GenBank/PDB chain), e.g. "P35354", including assays recorded only under a Gene ID or another accession this compound's assay table pairs with it. Uppercased before matching; a PDB chain ID (the "A" in "1ZHH_A") is kept as given. With targetGeneId, both must name the same target — when the table ties them to different targets, nothing matches. Obtain accessions from an assay's targets in pubchem_get_summary (entityType "assay"), the accession:X in a pubchem_get_compound_interactions target entry's partner, or the targetAccession field of a result here without a target filter.

Output Schema

NameRequiredDescriptionDefault
capNoThe page size applied: maxResults, or the per-call cap when maxResults exceeds it.
cidNoPubChem Compound ID.
sortNo"potency" when assays are ordered by potency; omitted for table order.
errorNoPresent when the call failed. Absent on success.
shownNoAssays returned on this page.
noticeNoRecovery guidance when the filter yields no results or the compound has no bioactivity data.
offsetNoZero-based index of the first assay returned.
resultsNoAssay results matching the filter.
aidFilterNoAIDs the aid filter applied, when aid is set: each once, in input order.
truncatedNoTrue when matching assays remain past this page.
nextOffsetNoOffset to pass on the next call to continue past this page. Omitted when no further assays match.
activeCountNoAssays whose outcome against their first listed target is "Active", across all assays and before any filter: Active when any of the compound's rows for it is Active, as PubChem lists a compound's active assays. A multi-target assay counts by its first target only.
totalAssaysNoTotal unique assays for this compound.
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.
targetFilterNoTarget identifiers matched, when a target filter is set: those passed plus every Gene ID and accession the compound's assay table pairs with them. When the two inputs name different targets, only the two inputs.
filteredCountNoExact number of assays matching the outcome, target, AID, assay-type, and activity-name filters, across all pages.
inactiveCountNoAssays whose outcome against their first listed target is "Inactive", across all assays and before any filter. An outcome reads Active when any of the compound's rows for it is Active, so an Inactive assay has no Active, Probe, or Inconclusive row for that target. A multi-target assay counts by its first target only.
outcomeFilterNoOutcome filter applied: active, inactive, or all.
returnedCountNoAssays returned on this page.
assayTypeFilterNoAssay types kept, comma-separated (e.g. "confirmatory, summary"), when assayType is set.
aidsNotInProfileNoListed AIDs with no row in this compound's assay summary, in input order: PubChem records no result for the compound under them, apart from an AID the other filters removed. Omitted when every listed AID has one.
activityNameFilterNoActivity names applied, when activityName is set: each as passed, trimmed, with a repeat in another case dropped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / properties / activityName / description
      Previous value: -"Keep only assays whose reported target has an activity value with one of these measurement names (e.g. [\"IC50\"], [\"Ki\", \"Kd\"]), and narrow that target's activityValues to the matching values; otherTargets are left as they are. Names match whole and regardless of case (\"ic50\" matches \"IC50\", not \"IC50 relative\"); a value with no name never matches; blank entries are ignored. Applied after the outcome, target, and assay-type filters, so filteredCount and paging count only the assays it keeps."New value: +"Keep only assays whose reported target has an activity value with one of these measurement names (e.g. [\"IC50\"], [\"Ki\", \"Kd\"]), and narrow that target's activityValues to the matching values; otherTargets are left as they are. Names match whole and regardless of case (\"ic50\" matches \"IC50\", not \"IC50 relative\"); a value with no name, or one carrying its own outcome (from a row whose outcome differs from the target's), never matches; blank entries are ignored. Applied after the outcome, target, assay-type, and AID filters, so filteredCount and paging count only the assays it keeps."
    • addedInput schema / properties / aid
      Added value: +{
      +  "description": "Keep only these assays, by PubChem Assay ID (up to 1000; a repeated AID counts once) — e.g. the AIDs pubchem_search_assays found for a target, or the one pubchem_search_compounds listed this compound under. Combines with every other filter, before sort and offset, so filteredCount and paging count only the listed assays. A listed AID with no row in this compound's assay summary is returned in aidsNotInProfile.",
      +  "items": {
      +    "description": "PubChem Assay ID (AID), from 1 to 2147483647.",
      +    "maximum": 2147483647,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "maxItems": 1000,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / outcomeFilter / description
      Previous value: -"Filter by activity outcome against each assay's reported target: the target a target filter matched, else the first target the assay lists. For a multi-target assay, outcomes against its other targets (in otherTargets) do not count. \"active\" keeps assays where that outcome is Active — most useful for understanding biological profile. Default: \"all\"."New value: +"Filter by activity outcome against each assay's reported target: the target a target filter matched, else the first target the assay lists. That outcome reads over every row the assay holds for the compound against the target (one per substance tested): Active when any row is Active, as PubChem lists a compound's active assays; otherwise the first of Probe, Inconclusive, Inactive, Unspecified that a row records. For a multi-target assay, outcomes against its other targets (in otherTargets) do not count. \"active\" keeps assays where that outcome is Active — most useful for understanding biological profile. Default: \"all\"."
    • changedInput schema / properties / sort / description
      Previous value: -"\"table\" (default) keeps PubChem's assay order (by AID). \"potency\" orders assays by their lowest matching activity value, ascending (most potent first), ties to the lower AID; every value in a compound's table shares one unit (uM). \"potency\" requires activityName: the value column also holds non-potency measurements (Cmax, solubility, rate constants, unnamed values), so a name-blind order would rank them as potencies."New value: +"\"table\" (default) keeps PubChem's assay order (by AID). \"potency\" orders assays by their lowest matching activity value, ascending (most potent first), ties to the lower AID; every value in a compound's table shares one unit (uM), and a value carrying its own outcome never matches, so it never sets the order. \"potency\" requires activityName: the value column also holds non-potency measurements (Cmax, solubility, rate constants, unnamed values), so a name-blind order would rank them as potencies."
    • changedOutput schema / properties / activeCount / description
      Previous value: -"Assays whose outcome against their first listed target is \"Active\", across all assays and before any filter. A multi-target assay counts by its first target only."New value: +"Assays whose outcome against their first listed target is \"Active\", across all assays and before any filter: Active when any of the compound's rows for it is Active, as PubChem lists a compound's active assays. A multi-target assay counts by its first target only."
    • addedOutput schema / properties / aidFilter
      Added value: +{
      +  "description": "AIDs the aid filter applied, when aid is set: each once, in input order.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / aidsNotInProfile
      Added value: +{
      +  "description": "Listed AIDs with no row in this compound's assay summary, in input order: PubChem records no result for the compound under them, apart from an AID the other filters removed. Omitted when every listed AID has one.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / filteredCount / description
      Previous value: -"Exact number of assays matching the outcome, target, assay-type, and activity-name filters, across all pages."New value: +"Exact number of assays matching the outcome, target, AID, assay-type, and activity-name filters, across all pages."
    • changedOutput schema / properties / inactiveCount / description
      Previous value: -"Assays whose outcome against their first listed target is \"Inactive\", across all assays and before any filter. A multi-target assay counts by its first target only."New value: +"Assays whose outcome against their first listed target is \"Inactive\", across all assays and before any filter. An outcome reads Active when any of the compound's rows for it is Active, so an Inactive assay has no Active, Probe, or Inconclusive row for that target. A multi-target assay counts by its first target only."
    • addedOutput schema / properties / results / items / properties / activityValues / items / properties / outcome
      Added value: +{
      +  "description": "Outcome of the rows this value came from, present only when it differs from the outcome of the target it is listed under — e.g. an Inactive row's AC50 under an Active target. Such a value never matches activityName and never sets the potency order.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / otherTargets / items / properties / activityValues / items / properties / outcome
      Added value: +{
      +  "description": "Outcome of the rows this value came from, present only when it differs from the outcome of the target it is listed under — e.g. an Inactive row's AC50 under an Active target. Such a value never matches activityName and never sets the potency order.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / outcome / description
      Previous value: -"Activity outcome against the reported target — the one a target filter matched, else the assay's first: Active, Inactive, Inconclusive, Unspecified."New value: +"Activity outcome against the reported target — the one a target filter matched, else the assay's first: Active, Inactive, Inconclusive, Unspecified. Read over every row the assay holds for the compound against that target: Active when any row is Active, otherwise the first of Probe, Inconclusive, Inactive, Unspecified that a row records."
  2. Changed8 schema fields changed
    • addedInput schema / properties / activityName
      Added value: +{
      +  "description": "Keep only assays whose reported target has an activity value with one of these measurement names (e.g. [\"IC50\"], [\"Ki\", \"Kd\"]), and narrow that target's activityValues to the matching values; otherTargets are left as they are. Names match whole and regardless of case (\"ic50\" matches \"IC50\", not \"IC50 relative\"); a value with no name never matches; blank entries are ignored. Applied after the outcome, target, and assay-type filters, so filteredCount and paging count only the assays it keeps.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based index of the first assay to return, applied after the outcome and target filters. Pass the nextOffset from a previous call to read the following page. Default: 0."New value: +"Zero-based index of the first assay to return, applied after every filter and the sort order. Pass the nextOffset from a previous call to read the following page. Default: 0."
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "table",
      +  "description": "\"table\" (default) keeps PubChem's assay order (by AID). \"potency\" orders assays by their lowest matching activity value, ascending (most potent first), ties to the lower AID; every value in a compound's table shares one unit (uM). \"potency\" requires activityName: the value column also holds non-potency measurements (Cmax, solubility, rate constants, unnamed values), so a name-blind order would rank them as potencies.",
      +  "enum": [
      +    "table",
      +    "potency"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / activityNameFilter
      Added value: +{
      +  "description": "Activity names applied, when activityName is set: each as passed, trimmed, with a repeat in another case dropped.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "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: `missing_activity_name`: sort is \"potency\" and activityName names no measurement. Other values are possible when a failure originates below the handler."
    • addedOutput schema / properties / error / properties / data / properties / reason / examples
      Added value: +[
      +  "missing_activity_name"
      +]
    • changedOutput schema / properties / filteredCount / description
      Previous value: -"Exact number of assays matching the outcome, target, and assay-type filters, across all pages."New value: +"Exact number of assays matching the outcome, target, assay-type, and activity-name filters, across all pages."
    • addedOutput schema / properties / sort
      Added value: +{
      +  "description": "\"potency\" when assays are ordered by potency; omitted for table order.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / targetAccession / description
      Previous value: -"Filter to assays against this target protein accession (UniProt/RefSeq/GenBank/PDB chain), e.g. \"P35354\", including assays recorded only under a Gene ID or another accession this compound's assay table pairs with it. Uppercased before matching; a PDB chain ID (the \"A\" in \"1ZHH_A\") is kept as given. With targetGeneId, both must name the same target — when the table ties them to different targets, nothing matches. Obtain accessions from pubchem_search_assays or the targetAccession field of an unfiltered result here."New value: +"Filter to assays against this target protein accession (UniProt/RefSeq/GenBank/PDB chain), e.g. \"P35354\", including assays recorded only under a Gene ID or another accession this compound's assay table pairs with it. Uppercased before matching; a PDB chain ID (the \"A\" in \"1ZHH_A\") is kept as given. With targetGeneId, both must name the same target — when the table ties them to different targets, nothing matches. Obtain accessions from an assay's targets in pubchem_get_summary (entityType \"assay\"), the accession:X in a pubchem_get_compound_interactions target entry's partner, or the targetAccession field of a result here without a target filter."
    • changedInput schema / properties / targetGeneId / description
      Previous value: -"Filter to assays against this NCBI Gene ID (1 to 2147483647), including assays recorded only under a protein accession this compound's assay table pairs with the Gene ID (e.g. 5742 also reaches rows carrying only P23219 when another row pairs the two). Obtain Gene IDs from pubchem_search_assays or the targetGeneId field of an unfiltered result here. Combine with outcomeFilter=\"active\" to answer \"is this compound active against target T?\"."New value: +"Filter to assays against this NCBI Gene ID (1 to 2147483647), including assays recorded only under a protein accession this compound's assay table pairs with the Gene ID (e.g. 5742 also reaches rows carrying only P23219 when another row pairs the two). Obtain Gene IDs from the GeneID:N in a pubchem_get_compound_interactions target entry's partner (kinds: [\"target\"]) or the targetGeneId field of a result here without a target filter (rows from untargeted screens carry none). Combine with outcomeFilter=\"active\" to answer \"is this compound active against target T?\"."
  4. Changed5 schema fields changed
    • addedInput schema / properties / assayType
      Added value: +{
      +  "description": "Keep only assays of these types: \"confirmatory\" (dose-response and other follow-up assays), \"screening\" (primary high-throughput screens), \"summary\" (records summarizing a project's assays), \"other\". Matched against PubChem's Assay Type regardless of case; an assay with no recorded type matches none. Combines with outcomeFilter and the target filters — an assay must pass all of them. Omit to keep every type.",
      +  "items": {
      +    "enum": [
      +      "confirmatory",
      +      "screening",
      +      "summary",
      +      "other"
      +    ],
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedOutput schema / properties / assayTypeFilter
      Added value: +{
      +  "description": "Assay types kept, comma-separated (e.g. \"confirmatory, summary\"), when assayType is set.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / filteredCount / description
      Previous value: -"Exact number of assays matching the outcome and target filters, across all pages."New value: +"Exact number of assays matching the outcome, target, and assay-type filters, across all pages."
    • addedOutput schema / properties / results / items / properties / assayType
      Added value: +{
      +  "description": "PubChem's assay type as written: Confirmatory, Screening, Summary, or Other. Omitted when PubChem records none.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / pmids
      Added value: +{
      +  "description": "PubMed IDs of the publications the assay cites, highest (most recently assigned) first. Omitted when it cites none.",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
  5. Changed17 schema fields changed
    • changedInput schema / properties / cid / maximum
      Previous value: -9007199254740991New value: +2147483647
    • changedInput schema / properties / maxResults / description
      Previous value: -"Max assay results to return per page (1-100). Well-studied compounds have thousands of records; use offset to reach the ones past this page. Default: 20."New value: +"Max assay results to return per page. The per-call cap is 100: a larger value (up to 1000) returns a page of 100 and is reported in cappedInputs. Well-studied compounds have thousands of records; use offset to reach the ones past this page. Default: 20."
    • changedInput schema / properties / maxResults / maximum
      Previous value: -100New value: +1000
    • changedInput schema / properties / outcomeFilter / description
      Previous value: -"Filter by activity outcome. \"active\" shows only assays where the compound showed activity — most useful for understanding biological profile. Default: \"all\"."New value: +"Filter by activity outcome against each assay's reported target: the target a target filter matched, else the first target the assay lists. For a multi-target assay, outcomes against its other targets (in otherTargets) do not count. \"active\" keeps assays where that outcome is Active — most useful for understanding biological profile. Default: \"all\"."
    • changedInput schema / properties / targetAccession / description
      Previous value: -"Filter to assays against this target protein accession (UniProt/GenBank), e.g. \"P35354\". Obtain accessions from pubchem_search_assays or the targetAccession field of an unfiltered result here."New value: +"Filter to assays against this target protein accession (UniProt/RefSeq/GenBank/PDB chain), e.g. \"P35354\", including assays recorded only under a Gene ID or another accession this compound's assay table pairs with it. Uppercased before matching; a PDB chain ID (the \"A\" in \"1ZHH_A\") is kept as given. With targetGeneId, both must name the same target — when the table ties them to different targets, nothing matches. Obtain accessions from pubchem_search_assays or the targetAccession field of an unfiltered result here."
    • changedInput schema / properties / targetGeneId / description
      Previous value: -"Filter to assays against this NCBI Gene ID. Obtain Gene IDs from pubchem_search_assays or the targetGeneId field of an unfiltered result here. Combine with outcomeFilter=\"active\" to answer \"is this compound active against target T?\"."New value: +"Filter to assays against this NCBI Gene ID (1 to 2147483647), including assays recorded only under a protein accession this compound's assay table pairs with the Gene ID (e.g. 5742 also reaches rows carrying only P23219 when another row pairs the two). Obtain Gene IDs from pubchem_search_assays or the targetGeneId field of an unfiltered result here. Combine with outcomeFilter=\"active\" to answer \"is this compound active against target T?\"."
    • changedInput schema / properties / targetGeneId / maximum
      Previous value: -9007199254740991New value: +2147483647
    • changedOutput schema / properties / activeCount / description
      Previous value: -"Assays with \"Active\" outcome."New value: +"Assays whose outcome against their first listed target is \"Active\", across all assays and before any filter. A multi-target assay counts by its first target only."
    • changedOutput schema / properties / cap / description
      Previous value: -"The maxResults cap that was applied."New value: +"The page size applied: maxResults, or the per-call cap when maxResults exceeds it."
    • 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 / inactiveCount / description
      Previous value: -"Assays with \"Inactive\" outcome."New value: +"Assays whose outcome against their first listed target is \"Inactive\", across all assays and before any filter. A multi-target assay counts by its first target only."
    • changedOutput schema / properties / results / items / properties / activityValues / description
      Previous value: -"Quantitative activity measurements."New value: +"Quantitative activity measurements against the reported target."
    • addedOutput schema / properties / results / items / properties / otherTargets
      Added value: +{
      +  "description": "The assay's other targets, each with its own outcome and measurements. Present only for an assay whose rows name more than one target.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "Another target of the assay, with its own outcome and values.",
      +    "properties": {
      +      "accession": {
      +        "description": "Protein accession. Omitted when the row names none.",
      +        "type": "string"
      +      },
      +      "activityValues": {
      +        "description": "Quantitative activity measurements against this target.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "Quantitative activity measurement entry.",
      +          "properties": {
      +            "name": {
      +              "description": "Measurement name (e.g. IC50, EC50, Ki). Omitted when not reported.",
      +              "type": "string"
      +            },
      +            "unit": {
      +              "description": "Unit of measurement (e.g. uM, nM). Omitted when not reported.",
      +              "type": "string"
      +            },
      +            "value": {
      +              "description": "Measured value.",
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "geneId": {
      +        "description": "NCBI Gene ID. Omitted when the row names none.",
      +        "type": "number"
      +      },
      +      "outcome": {
      +        "description": "Activity outcome against this target.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "outcome",
      +      "activityValues"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / results / items / properties / outcome / description
      Previous value: -"Activity outcome: Active, Inactive, Inconclusive, Unspecified."New value: +"Activity outcome against the reported target — the one a target filter matched, else the assay's first: Active, Inactive, Inconclusive, Unspecified."
    • changedOutput schema / properties / results / items / properties / targetAccession / description
      Previous value: -"Target protein accession (UniProt/GenBank)."New value: +"Reported target's protein accession (UniProt/RefSeq/GenBank/PDB chain)."
    • changedOutput schema / properties / results / items / properties / targetGeneId / description
      Previous value: -"Target NCBI Gene ID."New value: +"Reported target's NCBI Gene ID."
    • changedOutput schema / properties / targetFilter / description
      Previous value: -"Target filter applied (gene ID and/or protein accession), when set."New value: +"Target identifiers matched, when a target filter is set: those passed plus every Gene ID and accession the compound's assay table pairs with them. When the two inputs name different targets, only the two inputs."
  6. Changed4 schema fields changed
    • removedInput schema / properties / cid / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / cid / minimum
      Added value: +1
    • removedInput schema / properties / targetGeneId / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / targetGeneId / minimum
      Added value: +1
  7. 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": [
      +      "cid",
      +      "totalAssays",
      +      "activeCount",
      +      "inactiveCount",
      +      "results",
      +      "outcomeFilter",
      +      "filteredCount",
      +      "returnedCount",
      +      "offset"
      +    ]
      +  },
      +  {
      +    "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: -[
      -  "cid",
      -  "totalAssays",
      -  "activeCount",
      -  "inactiveCount",
      -  "results",
      -  "outcomeFilter",
      -  "filteredCount",
      -  "returnedCount",
      -  "offset"
      -]
  8. Changed1 schema field changed
    • changedInput schema / properties / maxResults / type
      Previous value: -"number"New value: +"integer"
  9. Changed9 schema fields changed
    • changedInput schema / properties / maxResults / description
      Previous value: -"Max assay results to return (1-100). Well-studied compounds have thousands of records. Default: 20."New value: +"Max assay results to return per page (1-100). Well-studied compounds have thousands of records; use offset to reach the ones past this page. Default: 20."
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Zero-based index of the first assay to return, applied after the outcome and target filters. Pass the nextOffset from a previous call to read the following page. Default: 0.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / filteredCount / description
      Previous value: -"Assays matching the outcome and target filters, before the maxResults cap."New value: +"Exact number of assays matching the outcome and target filters, across all pages."
    • addedOutput schema / properties / nextOffset
      Added value: +{
      +  "description": "Offset to pass on the next call to continue past this page. Omitted when no further assays match.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "description": "Zero-based index of the first assay returned.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Assays returned after the maxResults cap."New value: +"Assays returned on this page."
    • changedOutput schema / properties / shown / description
      Previous value: -"Assays returned after the maxResults cap."New value: +"Assays returned on this page."
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when results were capped at maxResults — more matching assays exist."New value: +"True when matching assays remain past this page."
    • changedOutput schema / required
      Previous value: -[
      -  "cid",
      -  "totalAssays",
      -  "activeCount",
      -  "inactiveCount",
      -  "results",
      -  "outcomeFilter",
      -  "filteredCount",
      -  "returnedCount"
      -]New value: +[
      +  "cid",
      +  "totalAssays",
      +  "activeCount",
      +  "inactiveCount",
      +  "results",
      +  "outcomeFilter",
      +  "filteredCount",
      +  "returnedCount",
      +  "offset"
      +]
  10. Changed3 schema fields changed
    • addedOutput schema / properties / cap
      Added value: +{
      +  "description": "The maxResults cap that was applied.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / shown
      Added value: +{
      +  "description": "Assays returned after the maxResults cap.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when results were capped at maxResults — more matching assays exist.",
      +  "type": "boolean"
      +}
  11. Changed8 schema fields changed
    • addedInput schema / properties / targetAccession
      Added value: +{
      +  "description": "Filter to assays against this target protein accession (UniProt/GenBank), e.g. \"P35354\". Obtain accessions from pubchem_search_assays or the targetAccession field of an unfiltered result here.",
      +  "type": "string"
      +}
    • addedInput schema / properties / targetGeneId
      Added value: +{
      +  "description": "Filter to assays against this NCBI Gene ID. Obtain Gene IDs from pubchem_search_assays or the targetGeneId field of an unfiltered result here. Combine with outcomeFilter=\"active\" to answer \"is this compound active against target T?\".",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / filteredCount
      Added value: +{
      +  "description": "Assays matching the outcome and target filters, before the maxResults cap.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Recovery guidance when the filter yields no results or the compound has no bioactivity data.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / outcomeFilter
      Added value: +{
      +  "description": "Outcome filter applied: active, inactive, or all.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / returnedCount
      Added value: +{
      +  "description": "Assays returned after the maxResults cap.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / targetFilter
      Added value: +{
      +  "description": "Target filter applied (gene ID and/or protein accession), when set.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "cid",
      -  "totalAssays",
      -  "activeCount",
      -  "inactiveCount",
      -  "results"
      -]New value: +[
      +  "cid",
      +  "totalAssays",
      +  "activeCount",
      +  "inactiveCount",
      +  "results",
      +  "outcomeFilter",
      +  "filteredCount",
      +  "returnedCount"
      +]
  12. Changed1 schema field changed
    • changedInput schema / properties / cid / description
      Previous value: -"PubChem Compound ID."New value: +"PubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds."
  13. Changed2 schema fields changed
    • addedOutput schema / properties / results / items / description
      Added value: +"Assay result entry."
    • addedOutput schema / properties / results / items / properties / activityValues / items / description
      Added value: +"Quantitative activity measurement entry."
  14. Changed3 schema fields changed
    • changedOutput schema / properties / results / items / properties / activityValues / items / properties / name / description
      Previous value: -"Measurement name (e.g. IC50, EC50, Ki)."New value: +"Measurement name (e.g. IC50, EC50, Ki). Omitted when not reported."
    • changedOutput schema / properties / results / items / properties / activityValues / items / properties / unit / description
      Previous value: -"Unit of measurement (e.g. uM, nM)."New value: +"Unit of measurement (e.g. uM, nM). Omitted when not reported."
    • changedOutput schema / properties / results / items / properties / activityValues / items / required
      Previous value: -[
      -  "name",
      -  "value",
      -  "unit"
      -]New value: +[
      +  "value"
      +]
  15. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so safety is covered; the description adds real behavioral context beyond that, namely how outcomes are defined per target, that ranking by potency only works within a named measurement, and how filters narrow the profile. Paging and the per-call cap are only surfaced in the schema, not the prose, which is the one notable omission.

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?

It is front-loaded with purpose, then contents, then filter axes, then motivating examples, which is a sensible order. The single dense paragraph packs in many enumerations and is readable, though a short list or sentence break before the example questions would have improved scanability without adding length.

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 ten-parameter, fully documented tool with an output schema, the description covers what a caller needs: what the profile contains, which axes can be filtered, what the outcomes mean, and when the ranking mode is appropriate. Remaining mechanical details such as paging are already handled by the schema and output schema.

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 the schema already carries parameter meaning in depth (including the potency-requires-activityName coupling). The description adds only a compressed summary of the filter axes and one example activity name (IC50), largely restating structured data rather than introducing new semantics, which fits the baseline 3.

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 opens with a specific verb and resource ("Get a compound's bioactivity profile") and then enumerates exactly what the profile contains: assays, outcomes, target identifiers, quantitative values, assay types, and PubMed IDs. It is clear about the shape of the result, but it never contrasts itself with nearby siblings such as pubchem_get_compound_interactions or pubchem_get_summary, so an agent must infer the split by content alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Usage context is stated concretely through example questions ("is this compound active against target T in confirmatory assays?", "what is its lowest IC50 against T?", "what did it do in AID N?"), which map directly onto filter combinations. What is missing is any explicit when-not guidance or pointer to an alternative tool, so it stops short of full routing guidance.

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.