Skip to main content
Glama

Search Memory & Knowledge

search
Read-onlyIdempotent

Queries project memory, cross-project code knowledge, templates, rules, known projects, and capabilities in one compact call to find relevant context and reduce token usage.

Instructions

Compact query across project/business/architecture memory, cross-project code knowledge, templates, known projects, or execute capabilities.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoauto
tagsNo
kindsNo
limitNo
queryNo
scopeNoall
statusNoactive
targetNoall
languageNo
frameworkNo
project_idNo
detail_levelNocompact
include_linksNo
workspace_rootNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so safety is covered without the description. The description adds almost no behavioral context beyond that: it says nothing about ranking, cross-project reach, what the default scope/status filters exclude, or how results are ordered or truncated.

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, which is efficient for a compact description. The comma-separated resource list is dense and slightly run-on, but every clause points at a real query surface.

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

Completeness1/5

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

For a zero-required-parameter, 14-parameter polymorphic search with no output schema, no parameter documentation, and no stated defaults or result shape, the description is far too thin. An agent cannot know what an empty query with target='all' returns or how mode interacts with target.

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

Parameters2/5

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

Schema description coverage is 0% across 14 parameters, so the description must compensate and it does not. It only loosely maps a few target categories (memory, code knowledge, templates, projects, capabilities) and leaves mode, scope, status, detail_level, include_links, language, framework, project_id, tags, kinds, limit, and workspace_root entirely 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?

The description names a specific verb ('query') and enumerates the concrete resources searched: project/business/architecture memory, cross-project code knowledge, templates, known projects, and capabilities. That is enough for an agent to distinguish a retrieval tool from the sibling 'execute', though the enumerated list is loose and 'compact' is left undefined.

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?

No statement of when to choose this over alternatives, when not to use it, or how to pick between the many targets and modes it advertises. The mention of 'execute capabilities' gestures at the sibling but does not tell the agent which to call for which intent.

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