Skip to main content
Glama

Look up many names at once

lookup_many
Read-onlyIdempotent

Use when you have several compound, terpene, receptor or condition names and want each checked in one call instead of one call per name. Send 1 to 20 names or ids; each answer comes back in the same order as a short record summary (id, kind, title, link, cite_as and a one line summary) or as a soft miss with a did-you-mean. One unknown name never fails the call; names after the 20th are left out with a note. Compounds, terpenes, receptors and conditions only: a product or strain together with a condition gets the soft refusal for that one name. Educational reference, not medical advice. No doses. Example arguments: {"names":["cbd","myrcene","CB1","epilepsy"]}.

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": {
      "names": "<names>"
    },
    "name": "lookup_many"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOptional: only this kind counts as a match: compound, terpene, receptor or condition.
namesYesCompound, terpene, receptor or condition names or ids, for example ["cbd", "myrcene", "CB1", "epilepsy"]. At most 20 are answered, in this order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Well beyond the annotations, it discloses partial-failure semantics (one unknown name never fails the call), truncation behavior (names after the 20th omitted with a note), order preservation, soft-miss with did-you-mean, and the scope refusal for product/strain+condition queries. Annotations already cover readOnly/idempotent/non-destructive, yet the description still adds substantial operational context.

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 use case and tight overall — every sentence carries operational information (batch limit, return shape, soft miss, scope limits, disclaimer). It reads as a long run-on chain of clauses rather than separated points, which slightly hurts scanability despite zero 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?

There is no output schema, and the description compensates by enumerating the returned record fields (id, kind, title, link, cite_as, one-line summary) plus the soft-miss shape. Combined with the failure-partiality and truncation rules, an agent has everything needed to call and interpret this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters, including the 20-item cap and ordering. The description reinforces the 1-to-20 bounds and, importantly, adds a concrete example argument set showing expected input shape and mixing kinds in one array.

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 states a specific verb and resource — checking 'several compound, terpene, receptor or condition names' in one call — and explicitly frames it as a batch alternative to 'one call per name', distinguishing it from single-item siblings like get_compound or search_compounds.

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

Usage Guidelines5/5

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

It gives an explicit trigger ('Use when you have several ... names') plus the condition that selects it over the per-name alternative ('in one call instead of one call per name'). It also states an exclusion: products and strains combined with a condition get a soft refusal, so the agent knows what this tool will not answer.

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.