Skip to main content
Glama

Unpin a block

unpin_block
Destructive

Removes a pinned lesson block from an anton.app family group so children no longer see it as assigned; identify the pin via get_group_assignments, then pass its blockPuid and week.

Instructions

Removes a pinned block from the family group on anton.app, so that the children no longer see it as assigned. Find the pin with get_group_assignments and pass its blockPuid and week; childPublicId picks one pin when several match. Fails if no pin matches. Returns the removed pin.

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": {
      "blockPuid": "<blockPuid>",
      "weekStartAt": "<weekStartAt>"
    },
    "name": "unpin_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
blockPuidYesBlock PUID of the pin to remove, e.g. "c-mat-4/ro9ajj"
weekStartAtYesWeek start date of the pin to remove (YYYY-MM-DD Monday)
childPublicIdNoOptional: publicId of the child the pin belongs to (to disambiguate)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds real value beyond that: the downstream effect on children's views, the no-match failure mode, and the return value. It does not clarify whether the underlying assignment record is deleted or merely hidden, which is the one ambiguity a destructive tool should resolve.

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?

Three short sentences, front-loaded with the action and effect, then the how-to, then the failure/return contract. No filler and no restatement of the tool name.

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, but the description states the return (the removed pin) and the failure behavior, and the group-selection fallback is fully documented in the schema. For a destructive mutation with four parameters, nothing an agent needs before calling is missing.

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 description coverage is 100%, so the baseline is 3, but the description earns a bump by tying blockPuid and weekStartAt to their source in get_group_assignments and explaining that childPublicId selects one pin among several. That relational context is not in the schema itself.

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?

States a specific verb (removes) and resource (pinned block) plus the scope (family group on anton.app) and the user-visible consequence (children no longer see it as assigned). An agent can tell this apart from pin_block, assign_lesson, or delete_assignment without opening any schema.

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 a concrete workflow: locate the pin via get_group_assignments, then pass its blockPuid and week, with childPublicId as the disambiguator when multiple pins match. It also states the failure condition (fails if no pin matches). It stops short of naming when to choose this over delete_assignment or update_assignment for overlapping intents.

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