Skip to main content
Glama

Search programs

search_programs
Read-only

Search youth programs in the California cities Kyds Activities serves, one city at a time (city slug, defaults to Lodi). Filters: free-text query (program name or description), category (Sports, Music, Arts, Academics, Swimming and others), child age in years, free-only, or season. Returns up to 15 matching programs with cost, schedule, location, registration status and a link to each listing.

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_programs"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoChild age in years. Returns programs whose age range includes this age.
cityNoCity slug to search in, such as 'lodi', 'galt' or 'elk-grove'. Defaults to Lodi.
limitNoMax programs to return (1-30). Default 15.
queryNoFree-text search across program name + description (case-insensitive substring match).
seasonNoFilter by season — e.g. 'Summer', 'Fall', 'Spring', 'Winter', 'Year-Round'.
categoryNoProgram category. Common values: Sports, Music, Arts, Academics, Swimming, Gymnastics, Dance, Enrichment, Free Programs.
free_onlyNoIf true, only return programs with $0 cost.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / city / description
      Previous value: -"City slug to search in (e.g. 'lodi', 'galt'). Defaults to Lodi. Call list_cities for the current list."New value: +"City slug to search in, such as 'lodi', 'galt' or 'elk-grove'. Defaults to Lodi."
  2. Changed1 schema field changed
    • addedInput schema / properties / city
      Added value: +{
      +  "description": "City slug to search in (e.g. 'lodi', 'galt'). Defaults to Lodi. Call list_cities for the current list.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the one-city-per-call scope, the default city of Lodi, and the 15-result cap. It omits pagination behavior when more than 15 matches exist and why the schema's limit can go to 30 while the description says 15.

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?

Two dense sentences: scope first, then filters, then return shape. Front-loaded and free of boilerplate. Slight waste in the redundant restatement of filters already enumerated in 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?

For a read-only search tool with no output schema, the description covers the essentials an agent needs to call it correctly: geographic scoping, default city, filter semantics, result cap and the fields returned (cost, schedule, location, registration status, link). Nothing material is missing for a first successful 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 the schema already documents every parameter including defaults and enums. The description adds little beyond restating the filter set, though the category examples ('Swimming and others') and the free-text target (name or description) loosely mirror schema text. Baseline 3 applies when the schema does the heavy lifting.

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 youth programs'), names the geographic scope (California cities Kyds Activities serves, one city at a time) and lists the exact filter dimensions available. An agent can immediately distinguish this from nearby_programs or search_daycares by the city-per-call constraint and the program-oriented filters.

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?

The 'one city at a time' constraint and the default city give situational guidance, and the filter list implies how to narrow results. However, it never names an alternative tool (e.g. nearby_programs for geo-radius search) or states when not to use this tool, so routing between program-search 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