Skip to main content
Glama

List course subjects

list_subjects

Retrieve all course subject codes (e.g., CS, MA, ENGR) at Purdue University, with optional filtering by name or abbreviation. Use this tool to quickly find subjects for course searches.

Instructions

All course subject codes at Purdue (CS, MA, ENGR, …), optionally filtered by name. Source: Purdue.io.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoFilter by name or abbreviation.
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the tool returns subject codes with optional name filtering and cites Purdue.io as source, but does not mention whether subjects are sorted, include inactive codes, or require authentication. The description is adequate but lacks depth for a data discovery tool.

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 a single sentence plus a source attribution, containing zero fluff. Every word adds value: it specifies the domain (Purdue), the data (subject codes), examples (CS, MA, ENGR), the optional filter, and the source. Highly efficient.

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 the tool is simple (one optional param, no nested objects, no output schema), the description sufficiently explains what the tool returns and its optional filter. It doesn't include pagination or sort order, but for a list of subject codes this is likely unnecessary. The source attribution adds credibility. Complete for its simplicity level.

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

Parameters3/5

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

Schema description coverage is 100% for the single parameter 'query', and the description mentions it filters by name or abbreviation, which adds context beyond the schema's 'Filter by name or abbreviation'. However, since there is only one optional parameter and the schema already describes it, the description's additional value is minimal, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists all course subject codes at Purdue (specific examples given: CS, MA, ENGR) and mentions an optional filter by name. It distinguishes itself from sibling tools like 'list_terms' and 'search_courses' by focusing on subject codes rather than courses or terms.

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?

The description implies the tool returns unfiltered subject codes unless a query is provided, but does not explicitly state when to use this tool vs siblings (e.g., when to call this before 'search_courses'). No explicit exclusions or alternatives are mentioned, though context signals show many sibling tools exist that might need this subject data.

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/sharziki/purdue-mcp'

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