Skip to main content
Glama

Pinned blocks

get_group_assignments
Read-only

Lists lesson blocks assigned to a family group, filtered by child or week, showing block PUID, path, week, and child; use it to find assignments and the blockPuid/week needed to unpin.

Instructions

Lists the lesson blocks pinned in the family group on anton.app: block PUID, block path (with subject, grade and topic), week, and the child it is pinned for (subgroup = publicId; none means the whole group). Filters by child and week. Use it to see what the children see as assigned in the app, and to find the blockPuid and week that unpin_block needs. Whether the blocks were done is in check_assignment_completion.

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_group_assignments"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekNoOnly the pins of the week that starts on this Monday, e.g. "2025-09-01"
groupNoGroup name to operate on. Only needed when the parent belongs to multiple groups. Defaults to the first group or the ANTON_GROUP environment variable.
childPublicIdNoFilter to only assignments for this child publicId

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / week / description
      Previous value: -"Filter to a specific week start date (YYYY-MM-DD Monday)"New value: +"Only the pins of the week that starts on this Monday, e.g. \"2025-09-01\""
  2. First observedv1.5.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds useful context beyond them: the return field set, the subgroup/publicId semantics ('none means the whole group'), and the child/week filtering behavior. It does not address pagination or result-size limits, which is the remaining gap for a potentially long assignment list.

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 sentences, front-loaded with the purpose, then usage, then the sibling hand-off; every sentence carries information. The first sentence is parenthetical-heavy (block path detail) but that detail is necessary to know what comes back since no output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries the return-value burden and does so by naming the fields returned and their meaning. Combined with the annotation safety profile and full schema coverage, an agent has everything needed to call it 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 100%, so all three parameters (week, group, childPublicId) are already documented in the schema; the description only restates 'Filters by child and week'. The parenthetical about subgroup=publicId clarifies a return field rather than parameter syntax, so added meaning beyond the schema is modest — baseline 3.

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?

Specific verb+resource: 'Lists the lesson blocks pinned in the family group on anton.app', and it enumerates the returned fields (block PUID, path with subject/grade/topic, week, child). It clearly separates itself from unpin_block (which consumes the blockPuid/week it returns) and check_assignment_completion (which covers done-state).

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

Usage Guidelines5/5

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

Gives explicit when-to-use ('see what the children see as assigned') and explicit routing to alternatives: unpin_block for removal and check_assignment_completion for completion status. No exclusion is left implicit for the obvious sibling questions.

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