Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by Greencyclepedia.

Renamed: use com.greencyclepedia/mcp

Search compounds

search_compounds
Read-onlyIdempotent

Use when you need a list of cannabis compounds, for example every compound at CB2 or every terpene. Find the compounds mapped onto the human body (curated Greencyclepedia records and database compounds with a measured, sourced value at a target placed in tissue) by name, chemical class, record type or molecular target (for example every compound acting at CB2, TRPV1, 5-HT1A or FAAH, or every terpene). Returns identity, PubChem CID, record type, targets and the Greencyclepedia url. Use get_compound for one full record. Educational reference, not medical advice. Example arguments: {"target":"CB2","limit":10}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_compounds"
  }
}

Input Schema

NameRequiredDescriptionDefault
classNoChemical class.
limitNoHow many items to return, at most 100.
queryNoPart of a name or identifier, for example "cannabidiol", "CBD", "thymol" or "CDB000032". Leave out to list all.
targetNoA receptor, channel or enzyme by name or gene, for example "CB2", "CNR1" or "PPAR-gamma".
recordTypeNocurated (Greencyclepedia records with reviewed effects and grades) or database (compounds with a measured value at a placed target).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / recordType / description
      Previous value: -"curated (atlas records with reviewed effects and grades) or database (compounds with a measured value at a placed target)."New value: +"curated (Greencyclepedia records with reviewed effects and grades) or database (compounds with a measured value at a placed target)."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by naming what is returned (identity, PubChem CID, record type, targets, Greencyclepedia URL) and by qualifying the dataset (curated records vs. database compounds with a measured, sourced value at a placed target), which tells the agent how trustworthy the returned rows are. It stops short of pagination or empty-result behavior.

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 usage trigger, then filters, then return shape, then the alternative, ending with a concrete argument example — a sensible order. It is somewhat dense in a single long sentence and repeats 'every terpene' twice, but no sentence is wasted.

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?

All five parameters are optional, there is no output schema, and the description compensates by listing returned fields and the domain caveat ('educational reference, not medical advice'). For a moderately simple search tool this is nearly complete; only result-count behavior and empty-result handling are unaddressed.

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%, and every filter in the prose (name, chemical class, record type, molecular target) maps to a parameter already documented in the schema, including enum values and the 'leave out to list all' default. The one marginal addition is the 'target placed in tissue' framing and the combined example arguments, which clarify how filters compose but do not add syntax beyond the schema.

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 pairs a specific verb ('find/search') with a specific resource (cannabis compounds mapped onto the human body) and enumerates the filter axes: name, chemical class, record type, molecular target. It explicitly distinguishes itself from get_compound ('Use get_compound for one full record'), so an agent can separate the list tool from the single-record sibling without inspecting schemas.

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?

Opens with 'Use when you need a list of cannabis compounds' and supplies concrete trigger examples (every compound at CB2, every terpene), plus the alternative get_compound for single records and a worked argument example. It does not exclude near-neighbor searches such as 'search' or 'search_conditions', so guidance is clear but not exhaustive on when-not-to-use.

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.