Skip to main content
Glama

search

Query molecules and functional groups across catalogs with semantic or keyword matching; filter by entity type and limit results.

Instructions

Unified cross-catalog semantic or keyword search across molecules and functional groups in the Chemist comparative chemistry manifold.

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

Input Schema

NameRequiredDescriptionDefault
qYesSearch query text (e.g. 'alkaloid neurotoxin with indole core', 'terpene biosynthesis intermediate')
modeNoSearch mode: semantic (pgvector cosine similarity), keyword (text matching), or autoauto
limitNoMaximum number of results to return (1-100)
target_typeNoFilter search results by entity type: all, molecule, or functional_groupall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the two retrieval regimes (semantic vector similarity vs. keyword text matching) and that search spans multiple entity catalogs, which helps an agent reason about result semantics, but it does not say how results are ordered, whether relevance scores are returned, or how empty results behave.

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?

A single front-loaded sentence with no redundancy, though the trailing phrase 'in the Chemist comparative chemistry manifold' is unmotivated branding that adds no actionable information. Nothing is buried, and the core operation appears first.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters fully documented in the schema and no output schema, the main open question is what a result record contains and how relevance is expressed. The description gives the entity types and search modes but not result fields, ranking, or the effect of limit on relevance, leaving a modest gap for a retrieval tool.

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 q, mode, limit, and target_type are all already documented in structured form. The description only echoes the semantic/keyword distinction and entity scope already present in the schema, adding no new syntax, defaults, or trade-off guidance. Baseline 3 applies when the schema does the work.

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 names a specific verb ('search') and the resources it covers ('molecules and functional groups'), plus the retrieval mode ('semantic or keyword'). It does not mention the search result format or any sibling tools, but no sibling in the list performs search, so an agent can still identify it as the only general retrieval entry point.

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?

'Unified cross-catalog' implies this is the general-purpose search tool, but there is no explicit guidance about when to use it instead of, for example, list_molecules or list_functional_groups with filters. No exclusions, prerequisites, or cost/latency considerations are stated, so the alternative routing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.