get_course_fces
Retrieve FCE ratings for a course including aggregated difficulty, hours per week, and instructor ratings. Returns averages and recent semester entries.
Instructions
Fetch Faculty Course Evaluations (FCE) ratings for a course.
Use this when the user asks about course difficulty, hours per week,
or instructor ratings. Returns a compact summary: aggregates over all
semesters plus the 5 most recent entries. Set include_all=True only
when the user asks for the full history.
Auth: requires the env var SCOTTYLABS_AUTH_TOKEN to be set to a valid
Clerk JWT. If the upstream backend has auth disabled, the empty token
will work too.
Args:
course_id: CMU course ID, e.g. "15-122".
include_all: Default False — entries holds the 5 most recent
rows and truncated flags whether anything was cut. Pass
True to populate entries with every row. Aggregates
(avg_hrs_per_week, avg_rating, years_covered) always
reflect the full dataset.
Returns:
FCESummary with entry_count, years_covered,
avg_hrs_per_week, avg_rating, entries, truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| include_all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_count | Yes | ||
| years_covered | No | ||
| avg_hrs_per_week | No | ||
| avg_rating | No | ||
| entries | No | ||
| truncated | No |