Skip to main content
Glama

search_subjects

Find subject offerings by subject code or title keyword, or search by programme using department and programme code. View teaching group vacancies when a single subject is found.

Instructions

Search subject offerings, two modes (eStudent Subject Search page).

By subject (default): pass query — a subject code ("COMP1011") or a title keyword. By programme: pass department (a hosting-dept code/name like "COMP") AND program (a programme code/name substring like "61425" or "BA (HONS) COMPUTING"); query is ignored in this mode.

term: an academic year/semester label like "2025/26 Semester 1" (by subject defaults to trying each offered term; by programme defaults to the most recent). When a search resolves to exactly one subject, its teaching groups with per-group vacancy are included; broader searches return subject-level results only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
termNo
departmentNo
programNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses key behaviors: two modes, parameter switching logic, default term handling, and that single-subject results include teaching groups while broader searches do not. Despite no annotations, the description provides good transparency, though it could mention read-only safety or rate limits.

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?

Fairly concise with two paragraphs; front-loads purpose and then elaborates on modes. Every sentence adds value, but it could be slightly more streamlined without losing clarity.

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?

Covers all aspects of tool usage: two modes, parameter interactions, default behaviors, and output characteristics (teaching groups for single result). With an output schema present, the description sufficiently contextualizes the tool's capabilities.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining each parameter's role: `query` as subject code or keyword, `department` and `program` for programme mode, and `term` with mode-specific defaults. Adds significant meaning beyond the schema.

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?

Clearly states 'Search subject offerings' and provides two distinct modes (by subject, by programme). It explains the verb and resource, and distinguishes itself from sibling tools like confirm_registration or get_timetable.

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?

Describes two usage scenarios (by subject or by programme) and defaults for the `term` parameter, but does not explicitly state when to use this tool over alternatives or provide exclusions. Implicit guidance is present but not explicit enough for a higher score.

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

Install Server

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/1708004874a-star/polyu-estudent-mcp'

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