Skip to main content
Glama

search_semantic

Pure semantic (vector) search — best for paraphrased queries, concept exploration, "papers arguing X" type questions. Uses dense vector similarity via Gemini or SPECTER2 embeddings. Skips BM25 fusion which can introduce term-matching noise. For exact terms use "search_keyword". For mixed queries use "search".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results to return
queryYesSearch query — concepts, paraphrased ideas, "papers arguing X"
dateToNoFilter: published on or before (ISO date)
detailNo'minimal' = id+title+snippet+score. 'standard' = adds metadata + chunkContext. 'full' = adds entities/selfContained/scores/licenses map
facetsNoIf true, return facets block: count breakdown by contentType + top entities mentioned
run_idNoOptional. The active methodist run_id (as returned by the methodist diagnose / get_current_dose door). Pass it whenever you call this tool while working inside a run, so the call is attributed to that run for the §8 usage crosscheck — attribution is run-anchored, so it stays correct even if your access token refreshes mid-run. Must be YOUR run: a run_id owned by a different principal, or a non-existent run_id, is rejected.
dateFromNoFilter: published on or after (ISO date)
entitiesNoSoft filter by entity (method names like "BERT", datasets like "SQuAD", metrics like "BLEU"), case-insensitive. Matching chunks rank first; chunks with no entities recorded (legacy gap) fall to the bottom rather than being dropped; chunks with non-matching entities are excluded.
strategyNo'fast' (~1s) skips reranker; 'rerank' (~10s) applies cross-encoder for higher relevancefast
categoriesNoFilter by arXiv categories (e.g. cs.AI, cs.LG)
contentTypeNoFilter chunks by type. Use [methodology] for HOW researchers approach a problem; [results] for OUTCOMES; [survey, background] for context
diversifyByNo'document' (default): max N chunks per paper. 'keyConcept': diversify by main idea. 'contentType': mix methodology/results/etc.document
vectorModelNo'gemini' for general semantic queries (default); 'specter2' for scientific paper similarity. ★ COVERAGE DIFFERS: the specter2 space does not cover the whole corpus — 77,782 chunks carry no vector in it and are therefore INVISIBLE to a specter2 search, not merely ranked lower. An empty result there means 'not indexed in this space', which is indistinguishable from 'nothing similar exists'. Use gemini when completeness matters; use specter2 to re-rank or corroborate.gemini
maxPerDocumentNoMax chunks per single key (only when diversifyBy=document)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / detail / default
      Removed value: -"full"
  2. Changed1 schema field changed
    • changedInput schema / properties / detail / default
      Previous value: -"standard"New value: +"full"
  3. Changed1 schema field changed
    • changedInput schema / properties / vectorModel / description
      Previous value: -"'gemini' for general semantic queries (default); 'specter2' for scientific paper similarity"New value: +"'gemini' for general semantic queries (default); 'specter2' for scientific paper similarity. ★ COVERAGE DIFFERS: the specter2 space does not cover the whole corpus — 77,782 chunks carry no vector in it and are therefore INVISIBLE to a specter2 search, not merely ranked lower. An empty result there means 'not indexed in this space', which is indistinguishable from 'nothing similar exists'. Use gemini when completeness matters; use specter2 to re-rank or corroborate."
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It discloses the retrieval mechanism (dense vector similarity), the embedding models used, and a deliberate behavioral choice — skipping BM25 fusion to avoid term-matching noise. This is substantive behavioral context beyond a generic 'semantic search' label, though it does not cover ranking behavior or empty-result semantics (the specter2 invisibility caveat lives only in the vectorModel parameter schema).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no waste: the core purpose is front-loaded, the mechanism follows, and the final sentence routes to alternatives. Every sentence earns its place, and there is no repetition of schema content or 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?

For a 14-parameter tool with an exceptionally rich schema (every parameter documented, enums explained, the SPECTER2 coverage caveat detailed), the description fully covers the selection and routing job: what the tool is, how it works, when to prefer it, and which sibling to use instead. Return-value behavior is already documented via the 'detail' parameter, so the absent output schema is not a real gap.

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 baseline is 3. The description adds mild semantic framing for the query parameter (paraphrased ideas, 'papers arguing X') that mirrors — but does not exceed — the schema's own query description. All 14 parameters, including enums, defaults, and bounds, are already fully documented in the input 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 states a precise verb+resource+mechanism: pure semantic (vector) search over the corpus using dense embeddings via Gemini or SPECTER2. It also names the siblings it is not ('search_keyword' for exact terms, 'search' for mixed), so an agent can differentiate it from both sibling search tools without opening a schema.

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?

Provides explicit when-to-use guidance ('best for paraphrased queries, concept exploration, papers arguing X') and explicit when-not-to with named alternatives: 'For exact terms use search_keyword. For mixed queries use search.' It additionally explains the reasoning (skips BM25 fusion to avoid term-matching noise), letting the agent reason about the tradeoff rather than just memorize a rule.

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.