Skip to main content
Glama
shreeyachand

USC WebReg/Course Catalog MCP

by shreeyachand

list_courses_by_ge

Read-onlyIdempotent

Find courses that satisfy a GE category for a term, including sections and filters for days, times, and open classes. Supply GE prefixes from list_ge_requirements.

Instructions

List all courses in a term that satisfy a General Education (GE) category, with their sections. Requires the GE requirement prefix and category prefix, which can be discovered via list_ge_requirements (e.g. GE B 'Humanistic Inquiry' = geRequirementPrefix 'ACORELIT', geCategoryPrefix 'HINQ'). 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.
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').
geCategoryPrefixYesGE category prefix from list_ge_requirements (e.g. 'HINQ' for GE B Humanistic Inquiry).
geRequirementPrefixYesGE requirement prefix from list_ge_requirements (e.g. 'ACORELIT' for Core Literacies).
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds valuable behavioral context by noting that section filters are applied client-side and that results include sections, which helps the agent set expectations about response scope and filtering semantics beyond annotation metadata.

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 compact: two sentences front-load the primary purpose, then give the prerequisite discovery step, an illustrative example, and a summary of optional filters. Every clause earns its place, and there is no redundancy with the schema or annotations.

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 read-only listing tool with a fully documented 7-parameter schema, the description covers the essential context: what it lists, what prerequisites are needed, how to discover them, and what filters exist. A small gap is that it does not describe the shape or size of the returned course/section data, which would have been useful given there is no output schema, but this is a minor omission for a list operation.

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 description coverage is 100%, so the baseline is 3. The description goes beyond the schema by explaining how geRequirementPrefix and geCategoryPrefix relate to each other and to list_ge_requirements, with a concrete example ('ACORELIT', 'HINQ'). This cross-tool parameter knowledge is genuinely useful and not present in the schema itself.

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 opens with a specific verb-resource combination: 'List all courses in a term that satisfy a General Education (GE) category, with their sections.' It clearly distinguishes this tool from list_ge_requirements by noting that the GE prefixes are discovered through that sibling, and the course-listing intent is unambiguous.

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 concrete when-to-use context: it is for listing GE-satisfying courses, and it tells the agent that the required prefixes must be obtained via list_ge_requirements. It provides a concrete mapping example, but it does not explicitly state when an alternative like list_courses_by_program or search_courses would be preferred, so it stops just short of full routing guidance.

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