Skip to main content
Glama

Cross-Team Search

cross_team_search
Read-onlyIdempotent

Search multiple configured team databases at once and return results labeled by team_db, so you can find relevant entries across teams without separate queries.

Instructions

Search across multiple configured team databases simultaneously. Returns results with team_db labels.

Input Schema

NameRequiredDescriptionDefault
tagsNo
limitNo
queryNo
sort_byNoSort results by timestamp (default) or importance scoretimestamp
end_dateNo
team_dbsNoSpecific team DB labels to search. Omit to search all configured DBs.
entry_typeNo
start_dateNo
fuzzy_matchNo
use_test_dbNo
workspace_idNoOptional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key.
include_archivedNo

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
countNo
errorNoHuman-readable error message
errorsNo
detailsNoAdditional error context
entriesNo
successNo
categoryNoError category (validation, query, connection, internal)
degradedNo
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
searched_dbsNo
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds that results carry team_db labels, but does not explain pagination, behavior when a configured DB is unavailable, or limits on cross-team queries.

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, front-loaded with the core scope. There is no filler or repetition.

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?

An output schema exists and annotations cover safety, which reduces the burden. However, for a 12-parameter cross-team search with low schema coverage, the description is too thin to help an agent choose parameters or understand cross-DB behavior.

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 only 25% across 12 parameters, so the description needs to compensate and does not. It gives no meaning for limit, fuzzy_match, include_archived, date ranges, entry_type, or the relationship between team_dbs and the configured databases.

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 uses a specific verb and resource: 'Search across multiple configured team databases simultaneously.' This distinguishes it from single-team siblings such as team_search and search_entries, though it does not name those alternatives explicitly.

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?

The phrase 'across multiple configured team databases simultaneously' implies when this tool is appropriate versus a single-team search, but there are no explicit when-to-use or when-not-to-use instructions and no named alternatives.

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