Skip to main content
Glama

Find homework in a course

find_homework

Retrieves all gradable course work—tests, assignments, forums—with due dates, points, attempts left, and status (open, overdue, submitted, graded); filter by pending to see what needs action.

Instructions

All gradable work in one course (tests, prácticas, autoevaluaciones, foros) with due date, points, attempts left and a computed state: open, overdue, submitted or graded. Use state='pending' for open+overdue.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "courseId": "<courseId>"
    },
    "name": "find_homework"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoFilter by state. Default all.
courseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the returned fields and explains that the state is computed (open, overdue, submitted, graded), which is non-obvious behavior. It says nothing about read-only nature, permissions, result volume, pagination, or whether all course items are included regardless of visibility.

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?

Two dense sentences, front-loaded with what is returned and followed by the state-routing hint. Every clause carries information; the parenthetical type list is justified because those categories define scope.

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?

For a two-parameter read tool with no output schema and no annotations, the description adequately covers the return payload and state filter. Missing: courseId semantics (format/where to obtain it) and ordering/pagination behavior for a potentially long list.

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

Parameters4/5

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

Schema coverage is only 50%: the state enum is documented but courseId is bare. The description compensates by defining what the computed states mean and by clarifying that 'pending' collapses open+overdue — meaning not derivable from the enum alone. It adds nothing for courseId, which keeps it from a 5.

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 names the exact resource set (gradable work in one course) and enumerates the item types it covers (tests, prácticas, autoevaluaciones, foros), which goes well beyond the title's 'Find homework'. It does not explicitly distinguish itself from the sibling get_upcoming_homework, so it stops short of a 5.

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?

It gives one concrete usage rule — use state='pending' for open+overdue — which is genuinely actionable. However it never says when to call this tool instead of get_upcoming_homework or get_todo, and no preconditions (e.g. must be enrolled in the course) are stated.

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