Skip to main content
Glama

Get Course Info

get_course_info
Read-onlyIdempotent

Retrieve a Piazza course page to view its description, syllabus, office hours, dates, and staff names, roles, and emails, so you can find who teaches it or when office hours are.

Instructions

Get the course page: description, syllabus, office hours, general information, dates, and the staff list with names, roles and emails. Use it to find who teaches the course or when office hours are.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
courseYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
urlNo
nameNo
termNo
staffNo
activeNo
numberNo
schoolNo
foldersNo
end_dateNo
studentsNo
syllabusNo
departmentNo
start_dateNo
descriptionNo
office_hoursNo
resource_sectionsNo
general_informationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 that staff names, roles and emails are returned, but says nothing about auth needs, rate limits, or missing-course behavior.

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 sentences, zero filler, with the returned content front-loaded and the usage scenario second.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile. The only real gap is the ambiguous format of the course identifier, which an agent needs to call it correctly.

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?

There is one required parameter (course) with 0% schema description coverage. The description never clarifies whether "course" is an ID, a code, or a title, so it fails to compensate for the schema gap.

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?

States a specific verb (get) and resource (course page) and enumerates the exact content returned: description, syllabus, office hours, dates, staff list. This clearly separates it from get_course_stats (numbers) and the post-related siblings.

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

Usage Guidelines4/5

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

"Use it to find who teaches the course or when office hours are" gives a concrete selecting scenario. It provides no exclusions or named alternatives, but the context is clear enough for routing.

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