Skip to main content
Glama
shreeyachand

USC WebReg/Course Catalog MCP

by shreeyachand

get_course

Read-onlyIdempotent

Fetch a USC course's full record by course code for a term: description, units, GE, prerequisites, sections, schedule, seats, fees, syllabus. Filter sections by days, time, or open seats.

Instructions

Get the full record for a single USC course in a term by its course code (e.g. 'CSCI-103'). Includes description, units, GE code, prerequisites, corequisites, restrictions, and all sections with schedule, instructor, seats, fees, and syllabus URL. 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.
courseCodeYes
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.5/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 description does not need to repeat that. It adds valuable context beyond the schema by disclosing that the section filters are applied client-side and by enumerating the returned record fields.

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?

Two focused sentences lead with the core action, then the return contents, then the filter behavior. Every sentence carries distinct information with no filler or redundancy.

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?

With no output schema, the description compensates by enumerating exactly what will be returned, including course metadata and section-level details. Combined with the detailed input schema and safety annotations, an agent has enough information to invoke the tool correctly and interpret the result.

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?

The schema already covers 83% of parameters with detailed descriptions, so the baseline is 3. The description adds extra meaning by grouping days, startAfter, startBefore, and openOnly as optional section filters and clarifying that they are applied client-side, which helps the agent understand how those parameters behave.

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 ('Get'), a precise resource ('full record for a single USC course in a term'), and the lookup key ('course code'). The 'single' scoping clearly separates it from the sibling search/list tools even though no sibling names are given.

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 intended use is clear: when the agent needs the complete record for one known course in a known term, with optional client-side section filtering. It does not name alternatives or provide explicit when-not-to-use guidance, so it misses the top level.

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