Skip to main content
Glama

search_courses

Read-onlyIdempotent

Search a UBC Calendar subject by keyword or course level to find courses and view prerequisite text as published.

Instructions

Search one official Calendar subject by keyword and/or course level. Preserves prerequisite text.

Input Schema

NameRequiredDescriptionDefault
levelNo
limitNo
queryNo
campusNoUBCV
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-alpha.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds a useful behavior—'Preserves prerequisite text'—but omits return format, pagination, or handling of missing subjects.

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 short sentences with the core purpose front-loaded and no redundant phrasing. Every sentence earns its place, though the second sentence could be integrated into the first for even tighter flow.

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

Completeness2/5

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

For a 5-parameter search tool with no output schema, the description is too thin. It does not explain pagination (limit), campus selection, output shape, or how results are ordered, leaving the agent to infer behavior from the schema alone.

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%, so the description must compensate. It mentions 'subject', 'keyword' (query), and 'course level' (level), but leaves 'limit' and 'campus' undocumented and gives no syntax, defaults, or enum details.

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?

States a specific verb ('Search') and resource ('courses' via 'Calendar subject') and scopes it by keyword and/or course level. However, it does not explicitly distinguish this from siblings like get_course or list_subjects, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance and no mention of alternatives. The phrase 'one official Calendar subject' implies a single-subject constraint, but the agent gets no routing help.

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