Skip to main content
Glama

Things To Do API

Search local events

search_events
Read-onlyIdempotent

Find events happening in a city: concerts, DJ and club nights, comedy and theater, pop-ups and supper clubs, night markets and flea markets, festivals and street fairs, parties, classes, exhibitions. Pass what the user asked for in plain words as query ("techno this weekend in Oakland", "spooky things to do friday", "farmers market sunday morning"); time and place in the words are understood. Say who it is for in the same words ("comedy this weekend for my parents, they hate crowds", "things to do with my kids saturday"): what suits them comes first. Use from/to, place or near when you already know them exactly. Returns events with start times in the local timezone, the venue, a summary, tags, ticket and source links, and why each matched. Covers the San Francisco Bay Area today; a place outside it comes back as not covered, with no events. For more, call again with the offset a search returns as next_offset.

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601 end of the window.
fromNoISO 8601 start of the window. Overrides any time in the query.
nearNoA point to search around.
sortNo
limitNoHow many events, 1 to 50, default 10.
placeNoA city or neighborhood by name, e.g. "Oakland", "the Mission".
queryNoWhat to find, in plain words. May include when, where, and who it is for.
offsetNoSkip this many, for the next page: pass the next_offset a search returned.
categoriesNoOnly these categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only cover read-only/idempotent/safety): it discloses the return shape (start times in local timezone, venue, summary, tags, ticket and source links, match reasons), the geographic coverage boundary and what happens outside it, and the pagination contract via next_offset. No annotation contradiction — openWorldHint=false is consistent with the explicit Bay Area-only coverage.

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?

Front-loaded with purpose, then progressively narrower guidance on query phrasing, structured params, returns, coverage, and pagination — a logical order. It is a dense block of text and the three quoted query examples are repetitive in form, but each sentence carries actionable content for a free-text search tool, so waste is limited.

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?

For a 9-parameter, zero-required, free-text search tool with no output schema, the description supplies everything an agent needs: what to put in `query`, when to use the structured filters instead, what a result contains, the coverage boundary, and how to page. Nothing material is left to inference.

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 coverage is already 89%, so the baseline is 3, but the description adds real meaning the schema does not: `query` may itself contain when, where, and who the search is for, with worked examples, and the 'who it is for' phrasing ('comedy this weekend for my parents, they hate crowds') is nowhere in the schema. It also restates the precedence of `from`/`to` over time in the query and the meaning of `near`/`place` as exact-knowledge alternatives.

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?

States a specific verb and resource ('Find events happening in a city') and immediately enumerates the domain (concerts, club nights, comedy, markets, festivals, classes, exhibitions), which separates it from the single-event `get_event` and the coverage-listing `list_coverage` without the agent needing either schema. The scope statement ('Covers the San Francisco Bay Area today') further pins down exactly what this tool does and does not return.

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 clear routing rules for the free-text vs structured parameters: pass plain words in `query`, use `from`/`to`, `place` or `near` 'when you already know them exactly', and continue with `offset` for more results. It also flags the failure mode (place outside the Bay Area returns not covered). It stops short of naming sibling tools or stating when-not to call this one, so it is clear context rather than full when/when-not/alternatives 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.

Resources