Skip to main content
Glama

set_subject_remark

Write one student's subject remark for a term in Clickedu. Previews the current and new text first, saves only when confirmed, and clears the remark with empty text.

Instructions

Write ONE student's subject remark for one term, in the 'Observacions de les notes' page of the subject (the remarks that go to the report card or to the tutor). Replaces that one text; every other remark and grade is posted back unchanged. text "" clears it.

kind: "butlleti" (Observacions per al butlletí, printed on the report card the family sees) or "tutor" (Observacions per al tutor, internal). block: "observacions" (the subject's general remarks) or "aspectes" (Aspectes acadèmics, personals i evolutius).

Without confirm=True it returns a PREVIEW with the current and the new text and saves nothing; call again with confirm=True only after the teacher approves the exact text.

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": {
      "subject_id": "<subject_id>",
      "alu_id": "<alu_id>",
      "text": "<text>"
    },
    "name": "set_subject_remark"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNobutlleti
textYes
blockNoobservacions
alu_idYes
confirmNo
term_idNo
subject_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the whole burden and does well: it discloses that only that one text is replaced, that every other remark and grade is posted back unchanged, that text "" clears the remark, and that the default path is a non-destructive preview. It does not cover permissions/authorization or failure behavior, which keeps it below 5.

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?

The core action is front-loaded in the first sentence, and the preview/confirm rule is placed last where it matters most before invocation. Some value is lost to awkward mid-sentence line breaks inside quoted UI labels, but no sentence is filler.

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?

For a seven-parameter mutation with zero schema documentation and an output schema (so return shape needs no explanation), the description covers nearly everything an agent needs to act safely: scope of the write, clearing semantics, enumerated modes and the confirm gate. The remaining gap is term/subject/student identifier semantics and what an empty term_id implies.

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 0%, so the description must compensate, and it explains four of seven parameters meaningfully: text ("" clears), kind (butlleti vs tutor, with what each is printed for), block (observacions vs aspectes), and confirm (preview vs save). subject_id, alu_id and term_id are left undefined, including what the empty term_id default means.

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?

It states a precise verb and resource — writing exactly one student's subject remark for one term into the 'Observacions de les notes' page — and clarifies what the remark feeds into (report card or tutor). It is more specific than the bare name, but it never names a closely related sibling (e.g. add_observation or set_grade) to draw the boundary, so it stops short of a 5.

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?

It gives a concrete operating procedure: without confirm=True a PREVIEW is returned and nothing is saved, and confirm=True should be used only after the teacher approves the exact text. What's missing is any exclusion or named alternative for adjacent operations (general observations, grades, tutor conversations), so the 'when not to use' side is left to inference.

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