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

TableJSON 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 (4–19)
date_toNoLatest session end date (YYYY-MM-DD)
age_fromNoMinimum participant age (4–19)
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)

TDQS

A4.5/5.0
Behavior4/5

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

The description adds meaningful behavioral context beyond the readOnlyHint/idempotentHint annotations: results are paginated, ordered by relevance, and 'not influenced by paid placement'. It also discloses the return field structure, which is valuable since there is no output schema.

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?

The description is four sentences, each earning its place: what it searches, result contents, ordering policy, and slug linkage. It is front-loaded with the core purpose and avoids redundancy with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (13 parameters, no output schema), the description covers search criteria, pagination, result fields, ordering, and the relationship to get_activity_details. It provides a complete mental model for selecting and invoking the tool without relying on an output schema.

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 100%, so parameters are fully described. The description adds value by grouping parameters into a coherent query model (keyword, location via city/state or radius, age, date range, category), clarifying that city/state and latitude/longitude are alternative location modes. This conceptual framing goes beyond individual schema descriptions.

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?

The description clearly states the tool's function: 'Searches children's enrichment activities (camps, classes, after-school programs) in the United States' with specific filter criteria. It differentiates from siblings by explaining that the slug returned is 'the identifier accepted by get_activity_details', signaling a search-to-detail relationship.

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 description implies usage context through its search criteria and result fields, making clear this is the tool for discovering activities. It hints at the alternative get_activity_details by mentioning the slug relationship, but does not explicitly state when to avoid this tool or provide direct alternative guidance.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: search_activities returns listings, get_activity_details provides full session-level details for a specific activity, and get_provider_info focuses on provider profiles. No overlap or ambiguity exists between them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: search_activities, get_activity_details, get_provider_info. This makes the API predictable and easy to navigate.

Tool Count5/5

With 3 tools, the server is well-scoped for its purpose of discovering and viewing enrichment activities. Each tool has a clear role, and the count falls comfortably within the ideal 3-15 range.

Completeness4/5

The core consumer workflow of searching, viewing details, and checking provider info is fully covered. Registration is intentionally handled externally via share_url, so there are no dead ends. A minor missing feature could be a categories endpoint, but search already accepts category filters.

Resources