Skip to main content
Glama

Search activities

search_activities
Read-onlyIdempotent

Searches children's enrichment activities (camps, classes, after-school programs) in the United States by keyword, city and state or latitude/longitude radius, participant age, session date range, and category. Returns a paginated list of listings; each result carries the activity name, its "slug", the provider organization, location, age range, categories, a price range where available, and a "url" for the listing page. Results are ordered by relevance to the query and are not influenced by paid placement. The "slug" field is the identifier accepted by get_activity_details.

Input Schema

NameRequiredDescriptionDefault
cityNoCity name (e.g., 'Petaluma', 'San Francisco')
pageNoPage number (default: 1)
limitNoResults per page (default: 20, max: 50)
queryNoKeyword search (e.g., 'coding camp', 'ballet', 'science')
stateNoTwo-letter US state code (e.g., 'CA', 'OR', 'WA')
age_toNoMaximum participant age (0–19; 19 = adult)
date_toNoLatest session end date (YYYY-MM-DD)
age_fromNoMinimum participant age (0–19; 19 = adult)
latitudeNoLatitude for proximity search
date_fromNoEarliest session start date (YYYY-MM-DD)
longitudeNoLongitude for proximity search
categoriesNoComma-separated category IDs
distance_milesNoSearch radius in miles (default: 25, max: 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / page / maximum
      Added value: +1000
  2. Changed4 schema fields changed
    • changedInput schema / properties / age_from / description
      Previous value: -"Minimum participant age (4–19)"New value: +"Minimum participant age (0–19; 19 = adult)"
    • changedInput schema / properties / age_from / minimum
      Previous value: -4New value: +0
    • changedInput schema / properties / age_to / description
      Previous value: -"Maximum participant age (4–19)"New value: +"Maximum participant age (0–19; 19 = adult)"
    • changedInput schema / properties / age_to / minimum
      Previous value: -4New value: +0
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent/open-world, so the higher-value additions here are the result ordering ('by relevance, not influenced by paid placement') and pagination, both of which the agent cannot infer from structured fields. It stops short of describing page limits or total-count behavior, but the substantive traits are disclosed.

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?

Three sentences, front-loaded with the search dimensions, then return contents, then the sibling handoff. Nothing is redundant with the annotations or schema beyond the necessary parameter recap.

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?

With no output schema, the description usefully enumerates the return fields, and it covers the location-mode alternatives for 13 optional parameters. It leaves minor gaps around empty-query behavior and pagination ceilings, but nothing that would cause a mis-invocation.

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 100%, so every parameter is already documented, and the description mostly restates those dimensions. Its one genuine addition is framing 'city and state OR latitude/longitude radius' as two alternative location modes, which the schema does not say; otherwise the baseline of 3 applies.

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 (searches children's enrichment activities in the US) plus the full set of search dimensions, and explicitly separates itself from get_activity_details by naming the slug as that tool's input. An agent can tell immediately this is the discovery/list tool and the sibling is the detail tool.

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?

The final sentence gives a clear forward path: use the returned slug with get_activity_details. However, it never states when NOT to use this tool (e.g., when you already have a slug, skip straight to details) or what happens if no filters are supplied, so the routing guidance is implicit rather than fully spelled out.

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