Skip to main content
Glama

Announcements

get_announcements
Read-only

List school announcements with their full text, in the order Librus shows them. A page ends at limit or earlier when the texts are long; pass pagination.next_cursor for the rest. Each page rereads the announcements.

Instructions

List school announcements with their full text, in the order Librus shows them. A page ends at limit or earlier when the texts are long; pass pagination.next_cursor for the rest. Each page rereads the announcements. Does not mark them read in Librus.

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": {
      "account_alias": "<account_alias>"
    },
    "name": "get_announcements"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items in this page.
cursorNonext_cursor from the previous page; omit for the first page.
account_aliasYesLogin alias from list_accounts.

Output Schema

NameRequiredDescriptionDefault
itemsYes
identityYes
paginationYes
observationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.8.1
    • changedOutput schema / $defs / Observation / properties / observed_at / pattern
      Previous value: -"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:\\.[0-9]{1,6})?(?:Z|[+-][0-9]{2}:[0-9]{2})?$"New value: +"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,6})?(Z|[+-][0-9]{2}:[0-9]{2})?$"
  2. Changed8 schema fields changedv2.7.0
    • addedInput schema / $defs
      Added value: +{
      +  "PresentationCursor": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "offset": {
      +        "maximum": 4096,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "query": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "source": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "version": {
      +        "const": 1,
      +        "default": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "context",
      +      "query",
      +      "source",
      +      "offset"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/PresentationCursor"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "next_cursor from the previous page; omit for the first page."
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 256,
      +  "description": "Maximum items in this page.",
      +  "maximum": 256,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedOutput schema / $defs / Pagination
      Removed value: -{
      -  "properties": {
      -    "consistency": {
      -      "const": "best_effort",
      -      "default": "best_effort",
      -      "type": "string"
      -    },
      -    "next_cursor": {
      -      "default": null,
      -      "type": "null"
      -    },
      -    "truncated": {
      -      "const": false,
      -      "default": false,
      -      "type": "boolean"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / PresentationCursor
      Added value: +{
      +  "properties": {
      +    "context": {
      +      "pattern": "^[0-9a-f]{64}$",
      +      "type": "string"
      +    },
      +    "offset": {
      +      "maximum": 4096,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "query": {
      +      "pattern": "^[0-9a-f]{64}$",
      +      "type": "string"
      +    },
      +    "source": {
      +      "pattern": "^[0-9a-f]{64}$",
      +      "type": "string"
      +    },
      +    "version": {
      +      "const": 1,
      +      "default": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "context",
      +    "query",
      +    "source",
      +    "offset"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / SizedWindowPagination
      Added value: +{
      +  "properties": {
      +    "consistency": {
      +      "const": "best_effort",
      +      "default": "best_effort",
      +      "type": "string"
      +    },
      +    "next_cursor": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/PresentationCursor"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "reason": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "item_limit",
      +            "size_limit"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "next_cursor",
      +    "truncated",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / pagination / $ref
      Previous value: -"#/$defs/Pagination"New value: +"#/$defs/SizedWindowPagination"
    • changedOutput schema / required
      Previous value: -[
      -  "items",
      -  "identity",
      -  "observation"
      -]New value: +[
      +  "items",
      +  "identity",
      +  "observation",
      +  "pagination"
      +]
  3. Changed2 schema fields changedv2.5.0
    • removedOutput schema / $defs / Pagination / additionalProperties
      Removed value: -false
    • removedOutput schema / additionalProperties
      Removed value: -false
  4. Changed2 schema fields changedv2.3.1
    • addedInput schema / properties / account_alias / description
      Added value: +"Login alias from list_accounts."
    • changedInput schema / properties / account_alias / pattern
      Previous value: -"^(?:[^\\s\\x00-\\x1f\\x7f]|[^\\s\\x00-\\x1f\\x7f](?:[^\\s\\x00-\\x1f\\x7f]| )*[^\\s\\x00-\\x1f\\x7f])$"New value: +"^[^\\s\\x00-\\x1f\\x7f](?: *[^\\s\\x00-\\x1f\\x7f])*$"
  5. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations it discloses real behavioral traits: pages may end early when texts are long, each page rereads the announcements, and the call never mutates read state. These are exactly the non-obvious traits (pagination truncation, repeated fetch cost, side-effect absence) an agent needs before calling.

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?

Three tight sentences with the resource and ordering front-loaded, followed by pagination mechanics and the side-effect caveat. Nothing is padded, though the mismatched cursor reference slightly muddies an otherwise efficient statement.

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 an output schema present and annotations covering the safety profile, the description supplies the remaining essentials: ordering, pagination behavior, and the no-mark-as-read guarantee. Only explicit guidance on account_alias scope and failure modes is absent, and that is largely covered by the schema.

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 baseline is 3; the description does explain the pagination loop and that the cursor comes from the previous page. However, it refers to 'pagination.next_cursor' while the actual parameter is named 'cursor', a naming discrepancy that adds no extra meaning beyond the schema.

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 ('List school announcements') plus scope ('with their full text') and ordering ('in the order Librus shows them'), so an agent knows exactly what comes back. There is no announcement-related sibling in the catalog to differentiate from, so the only minor gap is the absence of an explicit boundary statement.

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 clear context for when this is the right call and implicitly contrasts with a mark-as-read action via 'Does not mark them read in Librus.' It does not name an alternative tool or state exclusions explicitly, so it falls short of full when/when-not routing.

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