Skip to main content
Glama

bus_search

Read-onlyIdempotent

Search messages, tasks, and shared files by content to locate prior discussions or deliverables in a shared workspace.

Instructions

Full-text search across messages, tasks, and shared files in this workspace. Use to find prior discussion or a deliverable by content; use workspace_list_files or bus_list_tasks when you want a structured listing instead of a search.

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

Input Schema

NameRequiredDescriptionDefault
agentNoOptional: your agent name. On a bus that enforces agent tokens, pass it with token to include your own direct messages; without proof only broadcasts are visible.
limitNoMaximum number of results to return.
queryYesText to search for in message bodies, task titles and bodies, and file contents.
tokenNoOptional: your agent token (see agent).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.6.0
    • addedInput schema / properties / agent
      Added value: +{
      +  "description": "Optional: your agent name. On a bus that enforces agent tokens, pass it with token to include your own direct messages; without proof only broadcasts are visible.",
      +  "type": "string"
      +}
    • addedInput schema / properties / token
      Added value: +{
      +  "description": "Optional: your agent token (see agent).",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.5.12
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of results to return."
    • addedInput schema / properties / query / description
      Added value: +"Text to search for in message bodies, task titles and bodies, and file contents."
  3. First observedv0.5.11

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety and repeatability are covered. The description adds useful scope detail — that it searches across three content categories rather than one — but says nothing about ranking, pagination behavior, or result ordering. A moderate score fits given the annotation burden is already carried.

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 short sentences, no filler. The core purpose is front-loaded and the disambiguation sentence follows immediately, so an agent can stop reading after the first clause if search is what it wants.

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?

With no output schema, the description does not indicate what a result looks like — whether hits are typed by source (message/task/file), how they are ranked, or how they relate to the 'limit' parameter. Everything else an agent needs, including token-based visibility, is covered by the schema and annotations, so the remaining gap is modest rather than disqualifying.

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 all four parameters, including the agent/token visibility rule, are already documented in structured form. The description reinforces that matching is by content across bodies, titles, and file contents but adds no syntax, matching rules, or format detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 — full-text search across messages, tasks, and shared files — and scopes it to 'this workspace.' This is enough for an agent to distinguish it from structured-listing siblings such as workspace_list_files and bus_list_tasks without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance ('find prior discussion or a deliverable by content') and names two concrete alternatives (workspace_list_files, bus_list_tasks) for the contrasting case of wanting a structured listing. The selection rule between search and listing is stated outright rather than implied.

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