Skip to main content
Glama

Announcements

get_announcements
Read-only

Fetch recent Google Classroom announcements for active classes or specific course IDs, with links, to answer questions about new teacher posts. Filter by days back to limit results.

Instructions

Recent announcements, each with a link to open it in Classroom. Pass course_ids or since_days to limit how far back they go, or leave empty for all active classes. Use this when the user asks 'Did my teacher post anything new?' or 'What did my teacher announce?'

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_announcements"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoHow many classes to skip. Up to 15 classes are read at a time, so pass 15 to see the next 15. Leave empty to start at the first class.
course_idsNoClassroom course IDs to check. Leave empty for all active classes.
since_daysNoOnly show announcements updated within this many days back from now. Leave empty to show every recent announcement.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "How many classes to skip. Up to 15 classes are read at a time, so pass 15 to see the next 15. Leave empty to start at the first class.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed2 schema fields changedv0.1.9
    • addedInput schema / properties / course_ids / description
      Added value: +"Classroom course IDs to check. Leave empty for all active classes."
    • addedInput schema / properties / since_days
      Added value: +{
      +  "description": "Only show announcements updated within this many days back from now. Leave empty to show every recent announcement.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  3. First observedv0.1.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description usefully adds that results link back to Classroom and that the default scope is all active classes, but says nothing about result volume, pagination windows, or auth requirements beyond what the schema's offset text implies.

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 sentences, front-loaded with what the tool returns, followed by filtering guidance and use-case triggers. The quoted example questions cost some length but serve the routing decision; nothing is redundant enough to penalize.

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?

A simple read-only list tool with fully described parameters and annotations; the description covers output shape and scoping, which is sufficient. Minor gap: no mention of the 15-classes-per-page reading behavior that the schema hints at, which would matter for an agent planning retrieval.

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 100%, so all three parameters (course_ids, since_days, offset) are already documented, including the offset pagination hint. The sentence about course_ids/since_days reinforces the filtering defaults but adds little beyond the schema, which sets the baseline at 3.

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?

Names the specific resource (announcements) and states what each item contains (a link to open it in Classroom), which is enough to distinguish it from siblings like get_course_materials or get_whats_new. It never uses a direct verb like 'list' or 'fetch', so the operation is inferred rather than stated.

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?

Gives concrete usage conditions via example user questions ('Did my teacher post anything new?') and explains the filter choices: pass course_ids or since_days, or leave empty for all active classes. It does not name an alternative sibling tool or state when NOT to use it, so it stops short of the top score.

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