Skip to main content
Glama

list_posts

Read-only

Retrieves a class's latest Stream posts—announcements, new assignments, and materials—newest first to review recent course activity.

Instructions

Latest posts on a class's Stream: announcements (full text and attachments) and notices of new assignments and materials, newest first. course_id comes from list_courses (a class link works too).

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": {
      "course_id": "<course_id>"
    },
    "name": "list_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
course_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds ordering ('newest first'), the exact scope of returned content (full text and attachments for announcements, notices for assignments/materials), and the flexible course_id input format. It does not discuss pagination or how 'latest' is bounded, which keeps it below 5.

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 tight sentences: the first front-loads what the tool returns and in what order, the second resolves the only ambiguous input. No filler.

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?

With no output schema, the description correctly compensates by sketching the return shape (announcements with full text/attachments, assignment and material notices). The remaining gap is pagination/limit behavior, which an agent needs to page correctly.

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 0%, so the description must carry both parameters. It handles course_id well (source tool plus class-link acceptance) but says nothing about 'limit' — its default of 20, what it caps, or how it interacts with 'newest first' ordering.

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 and resource ('Latest posts on a class's Stream') and enumerates the content types returned: announcements with full text and attachments, plus notices of new assignments and materials. It does not explicitly distinguish itself from siblings like list_classwork or recent_activity, so it falls short of 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 precondition — course_id comes from list_courses, and a class link also works — which is genuinely useful routing. But there is no guidance on when to use this instead of list_classwork, recent_activity, or list_todo, so the when-not/alternative half is missing.

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