Skip to main content
Glama

EventApp — pasākumi Latvijā / events in Latvia

Search events in Latvia

search_events
Read-onlyIdempotent

Find events in Latvia (pasākumi Latvijā: concerts/koncerti, theatre/izrādes, exhibitions/izstādes, festivals, cinema/kino, kids' events/pasākumi bērniem, nightlife…) on a day or in a date range, optionally in one city, one category, matching words, free only, or from a time of day: 'kādi pasākumi notiek šodien?', 'what's on in Riga this weekend?'. With no dates it searches today in Riga time. The answer says today's date in Riga; showings that ended earlier today are left out. Results are in start-time order; for a short varied pick use suggest_events. Each event has its EventApp page (url) to cite, the start time with its offset, venue, city, price and the ticket link.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity or town in Latvia (pilsēta), e.g. Rīga, Riga, Liepāja, Jūrmala, Cēsis. Diacritics optional. list_cities names them all.
whenNoA named window in Riga time: today, tomorrow, weekend (Friday to Sunday; on a weekend day, what is left of it), week (today to Sunday), upcoming (everything ahead). Overrides date_from/date_to.
limitNoHow many events to return (default 20, at most 50).
queryNoWhat to look for: a performer, a venue, a kind of event or a few of the person's own words, e.g. 'jazz', 'džezs', 'koncerti bērniem'. Latvian or English, any word form, diacritics optional; filler words ('in', 'events', 'kādi', 'notiek') are ignored, and a word naming a kind of event (koncerts, izrāde, kids) also matches that category.
offsetNoSkip this many results; pass the previous answer's next_offset for the next page.
date_toNoLast day, inclusive (at most 92 days after date_from). Omit for one day, YYYY-MM-DD, Europe/Riga calendar day.
categoryNoCategory, in English or Latvian, any form: Music (concerts, koncerti), Theater (izrādes, teātris), Movie (cinema, kino), Comedy (stand-up), Dance (dejas), Exhibition (izstādes, muzeji), Festival (festivāli), Sports (sports), Food (degustācijas), Education (workshops, meistarklases, lekcijas), Family (kids, bērniem), Nightlife (ballītes, klubi), Market (tirdziņi). list_categories names them all.
date_fromNoFirst day, YYYY-MM-DD, Europe/Riga calendar day.
free_onlyNoOnly events known to be free of charge.
from_timeNoOnly showings starting at or after this Riga clock time, HH:MM (e.g. 18:00 for 'this evening'). All-day events are kept.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Category, in English or Latvian: Music (concerts), Theater, Movie (cinema), Comedy, Dance, Exhibition, Festival, Sports, Food, Education, Family (kids), Nightlife, Market. list_categories names them all."New value: +"Category, in English or Latvian, any form: Music (concerts, koncerti), Theater (izrādes, teātris), Movie (cinema, kino), Comedy (stand-up), Dance (dejas), Exhibition (izstādes, muzeji), Festival (festivāli), Sports (sports), Food (degustācijas), Education (workshops, meistarklases, lekcijas), Family (kids, bērniem), Nightlife (ballītes, klubi), Market (tirdziņi). list_categories names them all."
    • changedInput schema / properties / city / description
      Previous value: -"City or town in Latvia, e.g. Rīga, Riga, Liepāja, Jūrmala. Diacritics optional. list_cities names them all."New value: +"City or town in Latvia (pilsēta), e.g. Rīga, Riga, Liepāja, Jūrmala, Cēsis. Diacritics optional. list_cities names them all."
    • changedInput schema / properties / query / description
      Previous value: -"Words that must all appear in the title, venue, city, organizer or categories, e.g. a performer, a venue or 'jazz'. Latvian or English; diacritics optional."New value: +"What to look for: a performer, a venue, a kind of event or a few of the person's own words, e.g. 'jazz', 'džezs', 'koncerti bērniem'. Latvian or English, any word form, diacritics optional; filler words ('in', 'events', 'kādi', 'notiek') are ignored, and a word naming a kind of event (koncerts, izrāde, kids) also matches that category."
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the no-dates default to today in Riga time, suppression of showings that already ended today, start-time ordering, and pagination via next_offset. It stops short of stating rate limits or failure modes, so it improves on the annotations without being fully rich.

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?

Purpose is front-loaded in the first clause, and the query examples and result-shape sentence all earn their place. The long parenthetical list of Latvian event types is dense and slightly sprawling, but it doubles as query vocabulary the agent can reuse.

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 10-parameter, no-required-parameter search with no output schema, the description covers the default window, result ordering, pagination, and the fields returned (url, start time with offset, venue, city, price, ticket link). It documents enough to call the tool correctly without opening a schema; only edge-case behavior is absent.

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 100%, so every one of the 10 parameters is already documented in detail, including the when/date_from precedence and the query filler-word behavior. The description adds little parameter-level meaning beyond the worked query examples, so the baseline of 3 is the right ceiling.

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?

Specific verb and resource ('Find events in Latvia'), the covered event types with Latvian synonyms, and the dimensions of search (day or range, city, category, words, free, time of day). It explicitly hands off the 'short varied pick' case to suggest_events, so an agent can distinguish it from that sibling without opening a schema.

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?

States the search contexts (a day, a date range, or with no dates defaulting to today in Riga time) and gives natural-language query examples that show the intended entry point. It names one alternative (suggest_events) but doesn't cover when to prefer get_event, popular_events, or events_happening_now for near-duplicate-looking needs, so routing to those siblings is left to inference.

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