Skip to main content
Glama

bridge_workspace_search

bridge_workspace_search
Read-only

Search workspace files for a word or phrase while enforcing depth and size limits, so you can locate relevant text without scanning oversized or deeply nested files.

Instructions

Procurar texto em arquivos do workspace, com limites de profundidade/tamanho.

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": "bridge_workspace_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoQuantidade máxima
queryYesPalavra/frase

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

C2.9/5.0
Behavior2/5

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

The annotations data already states readOnlyHint=true, so the read-only nature is known without this description. 'Com limites de profundidade/tamanho' hints that the scan is bounded, which implies results may be partial, but it never states defaults, whether binary or hidden files are skipped, or how matches are returned. It is not a contradiction, just thin added context for a search tool.

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 a single compact sentence with the core action front-loaded and no filler. It is efficient but so terse that it leaves obvious questions unanswered, so it falls short of the top score.

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?

This is a simple two-parameter read tool with a 100% documented schema and annotations data covering safety. The description is just barely sufficient for that complexity level, but it does not explain result shape or the meaning of bounded scanning, which an agent needs in order to interpret partial results.

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%, so both parameters are already documented, and the baseline is 3. The description alludes to depth and size limits, but no depth parameter exists in the schema; only the limit parameter does. The wording therefore adds no precise meaning to either 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?

Names a specific verb and resource: search text in workspace files. An agent can tell it is a content search rather than a file listing or a file read. It stops short of distinguishing itself from the nearby bridge_memory_search, so a user cannot tell from this sentence alone which one covers memory versus files.

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?

The description gives no condition for choosing this tool over bridge_memory_search, bridge_workspace_read, or bridge_workspace_list. It does not say when to use it, when not to use it, or what prerequisites exist. Only the tool name implies a grep-like search, which is too weak as usage guidance.

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