Skip to main content
Glama
shreeyachand

USC WebReg/Course Catalog MCP

by shreeyachand

search_courses

Read-onlyIdempotent

Search USC course catalog by keyword to find matching courses, sections, schedules, instructors, and seat availability. Filter by days, start times, or open sections.

Instructions

Search the USC course catalog for a term by keyword. Matches course codes, titles, and descriptions (e.g. 'machine learning', 'CSCI', 'art history'). Returns matching courses with their sections, including schedule, instructor, and seat availability. Supports optional section filters (days, startAfter, startBefore, openOnly) applied client-side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoSection must meet on all of the given days (e.g. ['Mon', 'Wed']). A section matches if any of its schedule entries covers every listed day.
openOnlyNoWhen true, only include sections that are not cancelled and not full (have seats available).
termCodeYesNumeric USC term code, e.g. 20263 (Fall 2026). Use list_terms to discover codes.
searchTermYes
startAfterNoOnly sections whose start time is at or after this zero-padded HH:MM time (e.g. '12:00').
startBeforeNoOnly sections whose start time is at or before this zero-padded HH:MM time (e.g. '17:00').
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only/idempotent behavior, but the description adds meaningful behavioral detail: 'optional section filters ... applied client-side' and what the response contains (courses with sections, schedule, instructor, seat availability). This goes beyond the structured annotations and helps the agent anticipate client-side filtering behavior.

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, all high-signal: purpose, matching criteria, return content, and filter behavior. No filler or repetition of schema details. The structure is front-loaded with the primary action and scopes the tool effectively.

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?

Given no output schema, the description adequately explains what is returned and highlights the client-side filtering behavior. It does not mention result ordering, pagination, or limits, which could matter for a search tool, but the description covers all core functionality and parameter semantics sufficiently for an agent to select and call it.

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 high (83%), so baseline is 3. The description adds value by explaining searchTerm semantics ('Matches course codes, titles, and descriptions') with concrete examples, which is absent from the schema. Other parameters are already documented in the schema, so the description does not need to repeat them.

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 states a specific verb ('Search'), a concrete resource ('USC course catalog'), and the matching scope ('course codes, titles, and descriptions'). It clearly differentiates from siblings like get_course (single course) and list_courses_by_program (program-based listing) by emphasizing keyword search and returning sections with schedule/instructor/availability.

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 gives clear context for when to use the tool: when searching the catalog by arbitrary keyword. It includes examples and mentions the optional filters. However, it does not explicitly name alternatives or state when NOT to use it, such as when listing all courses by program or fetching a specific course.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shreeyachand/usc-webreg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server