Skip to main content
Glama

Add a local assignment

assign_lesson

Adds a pending, local lesson assignment for a child to a file on this machine without sending it to anton.app; use pin_block to assign a visible block in the app.

Instructions

Adds a local lesson assignment for a child to the file on this machine, with status pending. It is not sent to anton.app, so the child does not see it; to assign a block in the app use pin_block. Returns the new assignment with its id, which update_assignment and delete_assignment take.

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": {
      "childName": "<childName>",
      "fileId": "<fileId>"
    },
    "name": "assign_lesson"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional note
fileIdYesFile id of the lesson level, as get_topic_blocks lists it in levels[].fileId
childNameYesChild name as configured, or publicId
lessonTitleNoHuman-readable lesson title (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • changedInput schema / properties / childName / description
      Previous value: -"Child name or publicId"New value: +"Child name as configured, or publicId"
    • changedInput schema / properties / fileId / description
      Previous value: -"Lesson fileId"New value: +"File id of the lesson level, as get_topic_blocks lists it in levels[].fileId"
  2. 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 cover the safety profile (not read-only, not destructive, not idempotent, not open-world), so the bar is lower. The description still adds real context beyond them: the assignment stays local and is never sent to anton.app, so the child does not see it, and the returned id is what update_assignment and delete_assignment consume. It does not discuss duplicate handling or what happens on repeated calls, which keeps it from a 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?

Three short sentences, front-loaded with the local-file scope before the alternative and the return value. Every sentence carries distinct information, with no repetition of the title or schema.

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?

For a mutation tool with full annotation coverage and no output schema, the description supplies everything an agent needs: local-only behavior, the resulting status, the sibling to use instead, and the shape of the return value. Nothing material is left unstated.

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 four parameters are already documented in the schema. The description adds only indirect meaning (that a child and a file are involved) and spends its detail on the return value instead. Baseline 3 is appropriate when the schema carries the parameter burden.

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 and resource (adds a local lesson assignment) and pins the scope to the file on this machine, with the resulting status (pending). It explicitly contrasts with pin_block, so an agent can distinguish local assignment from in-app assignment without reading either schema.

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 an explicit alternative and the condition that selects it: use pin_block when the assignment should appear in the app. The local-only framing tells the agent when this tool is the right choice, not just what it does.

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