Skip to main content
Glama

Search Team Entries by Date Range

team_search_by_date_range
Read-onlyIdempotent

Search team entries by date range with optional type and tag filters, and specify project_number to isolate results in a shared multi-tenant database.

Instructions

Search team entries within a date range with optional filters for entry type and 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
cursorNoCursor for pagination
sort_byNoSort results by timestamp (default) or importance scoretimestamp
end_dateNoEnd date (YYYY-MM-DD)
entry_typeNo
start_dateNoStart date (YYYY-MM-DD)
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.7/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 the description correctly spends its words elsewhere: the TEAM_DB_PATH requirement and, critically, that the underlying DB is a shared multi-tenant domain where omitting project_number leaks other projects' data. That is exactly the kind of non-obvious behavioral risk annotations cannot convey. Minor gap: no mention of pagination or archived-entry behavior.

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 tight sentences; the safety warning is set apart with a stop sign and comes after the core purpose. No filler.

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?

Covers purpose, environment prerequisite and the multi-tenancy hazard, and an output schema exists so return values need no explanation. With 10 parameters and 50% coverage, though, the description says nothing about pagination, sorting, or unpublished/archived inclusion, and gives no sibling routing — leaving noticeable holes for a tool this broad.

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 50%, leaving tags, limit, entry_type, project_number and include_archived undocumented in the schema. The description partially compensates by naming entry_type and tags as filters and by explaining what project_number is for, but it adds nothing about limit, cursor, sort_by or include_archived.

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 team entries') plus the retrieval axis ('within a date range') and optional filters. The 'team' qualifier implicitly separates it from the non-team search_by_date_range sibling, but it never names team_search, so differentiation is only partial.

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?

Gives a hard operational prerequisite — project_number MUST be supplied to isolate results in the shared multi-tenant domain — which is real usage guidance beyond the schema. However, it never says when to choose this over team_search or team_semantic_search, so an agent has no routing rule for sibling tools with overlapping purpose.

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