Skip to main content
Glama

drive_search

Semantic search across your org's artifacts in AgentDrive. Returns the top-N most relevant files. Use this BEFORE writing similar artifacts to avoid duplication and surface prior context.

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query
top_kNoMax hits to return (default 10, max 50)
filterNo
workspace_idNoScope to a single workspace; omit for org-wide search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / filter / properties / agent_platform / enum
      Previous value: -[
      -  "claude-code",
      -  "codex",
      -  "cursor",
      -  "langgraph",
      -  "crewai",
      -  "autogen",
      -  "hermes",
      -  "openclaw",
      -  "opencode",
      -  "gemini-cli",
      -  "unknown"
      -]New value: +[
      +  "claude-code",
      +  "codex",
      +  "cursor",
      +  "langgraph",
      +  "crewai",
      +  "autogen",
      +  "hermes",
      +  "openclaw",
      +  "opencode",
      +  "gemini-cli",
      +  "antigravity",
      +  "unknown"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / filter / properties / agent_platform / enum
      Previous value: -[
      -  "claude-code",
      -  "codex",
      -  "cursor",
      -  "langgraph",
      -  "crewai",
      -  "autogen",
      -  "hermes",
      -  "openclaw",
      -  "unknown"
      -]New value: +[
      +  "claude-code",
      +  "codex",
      +  "cursor",
      +  "langgraph",
      +  "crewai",
      +  "autogen",
      +  "hermes",
      +  "openclaw",
      +  "opencode",
      +  "gemini-cli",
      +  "unknown"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that results are semantically ranked and capped at top-N, plus the org-wide-vs-workspace scoping default, but says nothing about permissions, result ordering guarantees, or what 'relevance' means. Adequate but with clear gaps for a read tool with zero annotation coverage.

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 short sentences, front-loaded with the core action and followed by the return shape and usage trigger. Every sentence earns its place with no redundancy.

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

Completeness4/5

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

For a search tool with no output schema, the description conveys the return concept ('top-N most relevant files') and the intended workflow. The filter object's fields are left to the schema, which covers them adequately; only deeper result semantics are absent.

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 coverage is 75%, so most parameters (query, top_k default/max, workspace_id scoping) are already documented in the schema. The description adds no parameter-level detail beyond what the schema provides, so baseline 3 applies.

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+resource: 'semantic search across your org's artifacts in AgentDrive' and adds the return shape ('top-N most relevant files'). This is clearly distinguishable from sibling list/read tools like drive_list and drive_read, though it never names them explicitly.

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

Usage Guidelines4/5

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

Gives an explicit when-to-use trigger: 'Use this BEFORE writing similar artifacts to avoid duplication and surface prior context.' That is clear actionable context, but it does not mention alternatives or when-not-to-use (e.g., vs drive_list for exact listing).

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.