Skip to main content
Glama

search

Retrieve scored chunks with verifiable citations from an indexed corpus to ground answers in source evidence.

Instructions

Search an indexed corpus and return scored chunks with verifiable citations.

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

Input Schema

NameRequiredDescriptionDefault
kNo
langNo
modeNohybrid
queryYes
corpusYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about permissions, index freshness, ranking/scoring behavior, pagination, or result limits. It does mention that results are scored and carry citations, which is the only behavioral signal beyond the name.

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 filler, so it is efficient. Its brevity is also the source of its gaps, but as a structural matter the sentence is tight and well-ordered.

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

Completeness2/5

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

For a five-parameter retrieval tool with zero schema coverage and no annotations, the definition is under-specified; an output schema exists so return values need not be explained, but the mode enum, k semantics, and corpus selection are all left undocumented.

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

Parameters1/5

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

Schema description coverage is 0% across five parameters, and the description never mentions query, corpus, k, lang, or the hybrid/dense/lexical mode enum. Nothing compensates for the total absence of parameter documentation, leaving critical choices like result count and retrieval mode unexplained.

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?

States a specific verb ('Search'), a specific resource ('an indexed corpus'), and the return shape ('scored chunks with verifiable citations'), which is enough to distinguish it from list_corpora or get_source by implication. It stops short of explicitly naming which sibling to use when, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or alternative-routing guidance at all. An agent must infer from the sibling names alone whether to search, list corpora first, or fetch a source directly.

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

Deploy Server

Other Tools