Skip to main content
Glama

search

Find full-text or structural matches across project entities, knowledge records, and evidence, with ranked, explainable results and filters for scope, type, language, and path.

Instructions

Full-text and structural search across entities, knowledge records, and evidence. Returns ranked results with explainable scores.

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
limitNoMax results. Default: 20
queryYesSearch text or structural pattern
scopeNoWhere to search. Default: all
filtersNoNarrow results by entity type, language, path, etc.
token_budgetNoMax tokens in response. Default: 1500

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.3/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 behavioral burden, and it only discloses that results are ranked with explainable scores. It says nothing about read-only semantics, permission requirements, result truncation from token_budget, or pagination behavior, which matter for interpreting partial result sets.

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?

Two sentences with zero filler; the capability statement comes first and the return characteristic second. Nothing redundant given the parameters and defaults are already in the schema.

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?

For a five-parameter tool with a nested filters object and no output schema, the description covers the core capability and a note on returns. However, it omits how to compose structural patterns, how token_budget interacts with ranking, and whether filters apply across all scopes—gaps an agent would hit when calling it.

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% and defaults are documented inline (limit 20, scope all, token_budget 1500), so the schema does the heavy lifting. The description adds only the notion of "structural pattern" for the query parameter, which is not elaborated into syntax or examples.

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 plus resource set ("Full-text and structural search across entities, knowledge records, and evidence"), which maps cleanly onto the scope enum so an agent knows what surface is covered. It does not explicitly distinguish itself from siblings such as graph or get_context, so it stops short of a 5.

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?

Usage is only implied: the phrase "full-text and structural search" suggests exploratory lookup, but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool. For a general-purpose entry-point named "search", some routing guidance would be expected.

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