Skip to main content
Glama

Things To Do API

Search local events

search_events

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

TableJSON 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.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses return contents (local-timezone start times, venue, summary, tags, ticket/source links, match reasons), the geographic coverage limit and its failure mode (out-of-area returns not covered, no events), and that `from` overrides query time. It omits any auth, rate-limit, or latency behavior, keeping it short of a 5.

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 the verb and resource, and every subsequent sentence adds invocation or return-value information. The lengthy category enumeration and audience phrasing examples make it denser than strictly necessary, but nothing is filler.

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 9-parameter tool with a nested `near` object, no output schema, and no annotations, the description covers the essentials: what comes back, coverage boundaries, and pagination. Remaining gaps (sort semantics, category enum meaning, limit bounds) are minor because the schema already documents them.

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: `query` accepts natural language embedding time/place/audience, `from`/`to` override time in the query, and `offset` should be fed the returned next_offset. It does not clarify `sort`, `categories` enum values, or `limit` bounds beyond the schema.

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 then enumerates the concrete domains covered (concerts, club nights, comedy, markets, festivals, classes), so an agent knows exactly what this retrieves. The coverage statement also implicitly separates it from the sibling list_coverage/get_event without needing to name them.

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 guidance on how to invoke: pass plain words in `query`, include who it is for in the same words, and use from/to/place/near 'when you already know them exactly'. Also explains the pagination path (re-call with next_offset). It stops short of naming alternative tools or explicit when-not-to-use conditions.

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