Skip to main content
Glama

Venues and cities

tw_venues
Read-onlyIdempotent

Search Tiwall venues and cities by name to retrieve IDs, addresses, coordinates, and ratings, enabling event lookups by venue or city.

Instructions

Search Tiwall venues and cities by name and get their ids, addresses, coordinates and ratings.

A venue id goes to tw_events(venue_id=...); the slug goes to tw_venue. A city id goes to tw_events(city=...).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "tw_venues"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesVenue or city name, e.g. 'لبخند', 'شیراز'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuine context beyond that: it is a lookup that yields identifiers for chaining into other tools, and it discloses the fields returned. Pagination or result-cap behavior is left unstated.

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?

Two short blocks with zero filler: capability first, then identifier routing. Every sentence earns its place and the most important behavior is front-loaded.

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?

No output schema exists, so the description must characterize returns, and it does list ids, addresses, coordinates and ratings. It is slightly thin on how venues and cities are distinguished in a mixed result set and on result-size behavior, given a hard cap of 20.

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 coverage is 50%: 'query' is already documented with examples in the schema, and 'limit' carries bounds and a default. The description adds only that the query matches either a venue or a city name, and says nothing about how limit interacts with results, so it does not fully compensate for the gap.

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 ('Search Tiwall venues and cities by name') plus the payload returned (ids, addresses, coordinates, ratings). An agent can tell this is a name-to-id resolver rather than an event or category tool without opening the 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?

Explicitly routes the output: venue id to tw_events(venue_id=...), slug to tw_venue, city id to tw_events(city=...). That is strong downstream guidance, but it never states when to pick this over tw_search or what to do when a name matches both a venue and a city.

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