Skip to main content
Glama

Explain Course Eligibility

explain_course_eligibility
Read-onlyIdempotent

Verifies course eligibility against official OBS prerequisite tables, with optional community cross-check and seasonality alerts.

Instructions

Explain whether a course's prerequisites are satisfied, using the official OBS branch prerequisite table (full Ve/Veya expression, per-course minimum grades, and credit requirement). Supports 3- and 4-digit codes including capstone courses like CEN 4901E. 'prerequisite_status' distinguishes 'no_prerequisites' (proven absent from the official table) from 'unknown' (table unreadable) — never read an empty result as 'no prerequisites'. 'cross_check' additionally diffs the result against an independent community dataset (third-party, not official); OBS stays authoritative and a disagreement is reported, never silently resolved either way. 'archive_seasonality', when the archive has the course, flags courses that only open in one term of the year (e.g. eligible now, but only ever offered in Güz) — check it even when eligibility alone looks fine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_yearNo
course_codeYes
program_typeNoLS
use_obs_historyNo
completed_coursesNo
completed_creditsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.1

TDQS

A3.9/5.0
Behavior5/5

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

Annotations cover the safety profile (read-only, idempotent, non-destructive, open-world), and the description adds substantial behavior beyond them: it warns never to read an empty result as 'no prerequisites', explains OBS is authoritative when cross_check disagrees and that disagreements are reported not resolved, and flags term-only offerings. This is exactly the edge-case disclosure annotations cannot carry.

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?

Front-loads the core purpose in the first clause, then adds behavioral caveats in decreasing priority. Dense but every sentence carries a distinct warning; only the quoted-token style is slightly heavy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and the behavioral framing is strong. The gap is that a 6-parameter tool with 0% schema coverage leaves the inputs undocumented, and references to 'cross_check'/'archive_seasonality' are ambiguous between inputs and outputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description explains none of the six inputs (course_code, class_year, program_type, use_obs_history, completed_courses, completed_credits). It instead discusses terms ('prerequisite_status', 'cross_check', 'archive_seasonality') that don't appear as parameters, which risks confusing the agent about what can be passed versus what is returned.

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?

Names a specific verb (explain) and resource (course eligibility/prerequisites) plus the authoritative source (official OBS branch prerequisite table), and distinguishes the tool from the community dataset it cross-checks against. An agent can tell this apart from obs_get_course_prerequisites and get_public_course_prerequisites without opening a schema.

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?

Offers some conditional guidance ('check archive_seasonality even when eligibility alone looks fine') and explains when a status is 'unknown' vs 'no_prerequisites'. However, it never explicitly routes the agent between this tool and the many sibling prerequisite tools (obs_get_course_prerequisites, get_public_course_prerequisites), so the when-to-use decision is only implied.

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

Deploy Server

Other Tools