Skip to main content
Glama

Search workspace

search_workspace
Read-onlyIdempotent

Hybrid search across the user's huffl workspace documents: semantic (vector) and keyword (full-text) results fused together, so exact names, phrases, and code match as well as meaning does. Each result carries citation data: the matching snippets carry the block id and author they came from, and the document carries its revision and save/index timestamps (stale: true means the document was saved after it was last indexed).

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_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax documents to return (default 5).
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

The annotations already establish that this is a safe, read-only, idempotent operation, so the description is free to add richer behavior. It does so by explaining hybrid fusion, citation metadata, revision/save/index timestamps, and the meaning of stale: true, which is useful context beyond the structured annotations.

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?

The description is front-loaded with the core search behavior and then explains result metadata. It is dense but every sentence carries useful information, though the citation details could be slightly tighter.

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 read-only search tool with no output schema, the description does well to explain the return payload, including citation block ids, authors, revision timestamps, and the stale flag. It is not fully complete on query syntax or result ordering, but nothing critical is missing for correct invocation.

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 50%: limit is documented in the schema with a default of 5, but query has no schema description. The description partially compensates by saying search supports exact names, phrases, code, and semantic meaning, but it does not explain query syntax or the limit parameter.

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 states a specific verb and resource: hybrid search across the user's workspace documents. It clearly explains that semantic and keyword search are fused, which helps distinguish it from retrieval siblings like get_page, though it does not explicitly name alternatives.

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 implied: the tool is for finding workspace documents by meaning or exact text. However, the description gives no explicit when-to-use guidance, no exclusions, and does not mention when get_page or embedding_probe would be preferable.

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.

Resources