Skip to main content
Glama

Search Greencyclepedia

search
Read-onlyIdempotent

Use when you do not know the exact name or id, or want to see what Greencyclepedia holds on a topic. Search all of Greencyclepedia by any name: cannabis compounds (THC, CBD, CBG, terpenes, flavonoids), receptors and enzymes (CB1, CB2, TRPV1, 5-HT1A, FAAH), medical conditions with an evidence grade (epilepsy, chronic pain, sleep) and registered clinical trials. Returns results with id, title and url; pass an id to fetch for the full sourced record. Educational reference, not medical advice. Example arguments: {"query":"cannabidiol"}.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many items to return, at most 20.
queryYesAny name or words, for example "cannabidiol", "CB1", "myrcene", "epilepsy" or "chronic pain trial".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "description": "How many items to return, at most 20.",
      +  "maximum": 20,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  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 readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds what matters beyond that: the return shape (id, title, url), the fact that results are summaries requiring a follow-up fetch for the sourced record, and the educational-not-medical-advice disclaimer. It does not discuss pagination behavior for the limit parameter beyond the schema's own maximum.

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 trigger condition in the first clause, then scope, then return/follow-up behavior — a sensible priority order. The long parenthetical inventory of example terms is somewhat dense but earns its place by showing the cross-domain reach in one pass.

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?

For a read-only search with no output schema, the description supplies the essentials an agent needs: when to call it, what domains it covers, what comes back (id/title/url), and how to continue to the full record. Nothing critical is missing, though a note on result cap/paging behavior would round it out.

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 documents both parameters including example query values and the limit bounds. The description's contribution is mainly illustrating the breadth of searchable entity types (compounds, receptors, enzymes, conditions, trials), which adds a little meaning about what "query" accepts but largely overlaps the schema examples. Baseline 3 is appropriate.

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?

States a specific verb and resource ("Search all of Greencyclepedia") plus the scope it covers (compounds, receptors/enzymes, conditions with evidence grades, clinical trials), which is enough to distinguish it from the scoped siblings like search_compounds, search_conditions, and the get_* tools. An agent can tell this is the broad discovery search without opening any schema.

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?

Gives an explicit when-to-use trigger: "Use when you do not know the exact name or id, or want to see what Greencyclepedia holds on a topic" — which implicitly contrasts with exact-lookup tools. It also provides a follow-up path ("pass an id to fetch for the full sourced record"). It stops short of naming the domain-scoped search siblings as explicit alternatives, so routing among search/search_compounds/search_conditions still requires inference.

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.