Skip to main content
Glama

Search Events

search_events
Read-onlyIdempotent

Search the PredictHQ Events API for real-world events (concerts, sports, conferences, festivals, public holidays, severe weather, etc.) used for demand forecasting. Filter by free-text query, category, country, and an active-date window; results are ranked by predicted impact. Returns each event with its rank, predicted attendance, dates, and location. Example: search_events({ query: "taylor swift", country: "US", category: "concerts", start: "2026-06-01", end: "2026-12-31" }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoOnly include events active on or before this date (YYYY-MM-DD), e.g. "2026-06-30".
limitNoMax events to return (default 15, max 50).
queryNoFree-text search across event titles/descriptions, e.g. "marathon".
startNoOnly include events active on or after this date (YYYY-MM-DD), e.g. "2026-06-01".
_apiKeyNoREQUIRED — your own PredictHQ access token. Pipeworx does not front a key for PredictHQ (14-day trial, then sales contact). Free keyless alternatives for event listings: ticketmaster, seatgeek.
countryNo2-letter ISO country code, e.g. "US", "GB", "AU".
categoryNoComma-separated event categories. One or more of: concerts, sports, conferences, expos, festivals, performing-arts, community, public-holidays, observances, politics, academic, school-holidays, daylight-savings, severe-weather, airport-delays, disasters, terror, health-warnings. Example: "concerts,sports".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own PredictHQ access token for your own quota; omit to use the shared Pipeworx platform key."New value: +"REQUIRED — your own PredictHQ access token. Pipeworx does not front a key for PredictHQ (14-day trial, then sales contact). Free keyless alternatives for event listings: ticketmaster, seatgeek."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-predicthq-api-key",
      +    "category": "sports",
      +    "country": "US",
      +    "end": "2026-12-31",
      +    "query": "marathon",
      +    "start": "2026-06-01"
      +  },
      +  {
      +    "_apiKey": "your-predicthq-api-key",
      +    "category": "concerts",
      +    "country": "US",
      +    "limit": 25,
      +    "query": "taylor swift"
      +  }
      +]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this as safe, read-only, idempotent, non-destructive, so the baseline is met. The description adds valuable behavioral context: results are ranked by predicted impact and each event returns rank, predicted attendance, dates, and location. It does not repeat the annotation flags, and nothing contradicts them.

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?

Three sentences and one example, front-loaded with the core purpose and filter capabilities. The example is compact and shows realistic usage, and the description avoids redundancy with the schema. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 parameters, full schema coverage, and no output schema, the description compensates by explicitly stating the return fields (rank, predicted attendance, dates, location). It also orients the agent to the use case (demand forecasting) and gives a complete example. This makes the tool well-specified for selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions cover 100% of the 7 parameters with detailed field-level explanations and an example, so the baseline is 3. The description adds meaning by explaining that 'active-date window' uses start/end and that results are ranked by impact, plus a concrete example combining parameters. It doesn't repeat every schema field but provides enough to understand parameter interplay.

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 the PredictHQ Events API' naming both verb and resource, and specifies the domain (real-world events for demand forecasting). It lists example categories and key filters, making the tool's function unmistakable even without reading sibling names. Though it doesn't explicitly contrast with nearby_events, the scope is clearly distinct.

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 gives clear context: use for demand forecasting with free-text, category, country, and date filters, results ranked by impact. It implies when to use this tool (structured event search) but doesn't explicitly state exclusions or alternatives like nearby_events. The schema notes keyless alternatives (ticketmaster, seatgeek) but the description itself does not provide when-not-to-use guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.