Skip to main content
Glama
optimize-overseas

LACRM MCP Server

Search Events

search_events

Search calendar events by date range, user, calendar, or contact. Returns complete event details, including attendees and recurrence patterns.

Instructions

Search for calendar events within a date range. Use this tool to find events by date, user, calendar, or contact.

RETURNS FULL DATA: Each result includes all event fields (name, dates, location, attendees, recurrence, etc.) - no need to call get_event afterward.

Supports filtering by:

  • Date range (start_date and end_date)

  • Specific users (by ID or name)

  • Specific calendars (by ID or name)

  • Specific contact

Use count_only=true for accurate counts on large datasets without returning the full result set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination
end_dateNoEnd of date range (ISO 8601)
contact_idNoFilter by contact ID (overrides other filters)
count_onlyNoWhen true, auto-paginates and returns only total count and breakdowns (no results array). Use for accurate counts on large datasets.
start_dateNoStart of date range (ISO 8601)
max_resultsNoMax results (default 500, max 10000)
user_filterNoFilter by user IDs. Mutually exclusive with user_name_filter.
sort_directionNo
calendar_filterNoFilter by calendar IDs. Mutually exclusive with calendar_name_filter.
user_name_filterNoFilter by user names (case-insensitive, auto-resolved to IDs). Mutually exclusive with user_filter.
calendar_name_filterNoFilter by calendar names (case-insensitive, auto-resolved to IDs). Mutually exclusive with calendar_filter.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behavioral traits: results include all event fields, count_only auto-paginates and returns only counts/breakdowns, and filters can be applied by various criteria. It does not mention authentication, rate limits, or the behavior when no filters are supplied, but for a search tool it covers the most relevant runtime behavior.

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 well-structured: a clear opening statement, a bold 'RETURNS FULL DATA' section, a bulleted list of filter types, and a concise tip about count_only. It is slightly longer than strictly necessary but each section serves a distinct and useful purpose.

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?

Given 11 optional parameters, no annotations, and no output schema, the description does a good job covering filtering categories, full-data return, and count_only behavior. It does not clarify what happens when no filters are provided (e.g., returns all events) or explain pagination/sort defaults, but these are partly covered by schema parameter descriptions.

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?

The input schema already describes 91% of parameters, including mutual exclusions, case-insensitive name filters, and default/max values. The description adds a high-level grouping of filters and calls out count_only, but it largely restates what the schema already explains, so it adds limited extra parameter meaning.

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 opens with 'Search for calendar events within a date range,' a specific verb+resource+scope statement. It clearly distinguishes itself from get_event by explicitly stating that the returned data is full and no subsequent get_event call is needed, making the search tool's purpose and advantage over its sibling clear.

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?

The description provides clear guidance: 'Use this tool to find events by date, user, calendar, or contact' and recommends count_only=true for large datasets. It also implicitly differentiates from get_event by saying no follow-up call is needed, but it does not explicitly state when to use alternatives like get_events_attached_to_contact or get_event for single-event lookup.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/optimize-overseas/lacrm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server