Skip to main content
Glama

Search Team Entries

team_search
Read-onlyIdempotent

Search shared team database entries by text and tags; require project_number to restrict results to the target project.

Instructions

Search entries in the team database by text and/or tags. Requires TEAM_DB_PATH. 🛑 WARNING: Team DB is a shared multi-tenant domain. You MUST specify project_number to isolate results to the target project.

Input Schema

NameRequiredDescriptionDefault
tagsNo
limitNo
queryNo
cursorNoCursor for pagination
sort_byNoSort results by timestamp (default) or importance scoretimestamp
fuzzy_matchNo
auto_correctNo
workspace_idNoOptional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key.
project_numberNo
include_archivedNo

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
countNo
errorNoHuman-readable error message
detailsNoAdditional error context
entriesNo
successNo
categoryNoError category (validation, query, connection, internal)
suggestionNoSuggested fix for the error
next_cursorNoCursor for the next page of results
recoverableNoWhether the error is recoverable
suggestionsNoFuzzy matches when fuzzy_match=true and no exact results were found
correctedQueryNoThe corrected query when auto_correct=true and a confident match was found
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds genuinely new context the schema can't convey — the team DB is a shared multi-tenant domain and cross-project leakage is a real risk. It does not cover pagination behavior or what happens if project_number is omitted despite the 'MUST' language.

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?

Three short sentences, front-loaded with purpose, then prerequisite, then the highest-risk constraint. The emoji warning styling is mildly noisy but the content behind it earns its place for a multi-tenant search.

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 10-parameter read-only search with an output schema and full annotations, the description covers purpose, environment prerequisite, and the key isolation requirement. Gaps remain around pagination/sorting defaults and the required-vs-optional discrepancy on project_number, which an agent could trip over.

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 only 30% (10 params, 3 described), so the description must compensate. It does explain what query/tags do and turns project_number into a semantic isolation requirement, but leaves limit, fuzzy_match, auto_correct, include_archived, and cursor unexplained, and never reconciles the 'MUST specify project_number' claim with the schema marking zero required parameters.

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 and resource ('Search entries in the team database') plus the two search axes (text and/or tags), which clearly separates it from mutation siblings like team_create_entry. It does not explicitly differentiate itself from close siblings such as team_semantic_search or team_search_by_date_range, so the agent must infer which search variant applies.

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 a concrete prerequisite (TEAM_DB_PATH) and a hard usage constraint (must specify project_number to isolate results to a project). It stops short of naming alternatives — nothing tells the agent when to prefer search_entries, semantic_search, or team_search_by_date_range instead.

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