Skip to main content
Glama

Search programs & events

search_programs

Search published community food programs, events, volunteer roles and jobs (free food, markets, cooking classes, community meals, …) — the same filters as GET /v1/programs: text, organizer entity, saved map, area (bbox / near / country / province / city), kind, categories, audiences, access and cost models, recurring vs one-time, and an optional date range (programs with a date in [from, to)). Ordered by next date. Paginated via cursor.

Input Schema

NameRequiredDescriptionDefault
qNoFree text over name, summary, organizer and tags
toNoISO date or date-time: has a date before this
tzNoTimezone for bare from/to dates (default America/Halifax)
bboxNo[minLng, minLat, maxLng, maxLat]
cityNoCity, case-insensitive
fromNoISO date or date-time: has a date on or after this
kindNoprogram · event · volunteer · job
nearNoA point; use with radius_km
limitNoPage size (default 25, max 100)
cursorNoOpaque cursor from the previous page (next_cursor)
countryNoISO 3166-1 code canonical (CA); any spelling matches
provinceNoISO 3166-2 code canonical (NS); any spelling matches
audiencesNo
entity_idNoPrograms this entity organizes, hosts or partners on
frequencyNo
radius_kmNoRadius around `near` (default 10, max 200)
saved_mapNoA public saved map (share token or id): programs of the organizations on it
categoriesNo
cost_modelsNo
access_modelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and discloses useful behavior: only published items are searched, results are ordered by next date, pagination uses a cursor, and the date range is interpreted as [from, to). It does not describe authentication needs, rate limits, or response shape.

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?

The description is front-loaded with the search scope and then enumerates filters and ordering/pagination behavior. It is dense but efficient, though the long middle sentence packs many parameters together.

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 20-parameter search tool with no annotations and no output schema, the description gives a strong overview of searchable content, filters, ordering, and pagination. It still leaves some gaps around returned fields, authorization, and how detail siblings should be used.

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?

The description groups and names most filter dimensions: text, organizer entity, saved map, area, kind, categories, audiences, access/cost models, frequency, and date range. It adds semantic detail like area modes and the date interval boundary, which goes beyond the 75%-covered schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource set: search published community food programs, events, volunteer roles and jobs. It is clear what the tool does, but it does not explicitly differentiate itself from siblings like get_program or list_program_occurrences.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied for filtered discovery, and it notes the same filters as GET /v1/programs. However, it gives no explicit guidance on when to use this instead of get_program, list_program_occurrences, or search_entities.

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