Skip to main content
Glama
Baraja MCP Server

Baraja MCP Server

by jbkroner

update_note

Modify the content of an existing Anki note by specifying its note ID and a dictionary of field names with new values.

Instructions

Update the content of an existing note's fields.

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": {
      "note_id": "<note_id>",
      "fields": "<fields>"
    },
    "name": "update_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsYesDictionary of field names to new values (e.g., {'Front': 'new question', 'Back': 'new answer'})
note_idYesThe note ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it omits critical details: whether unspecified fields are preserved or cleared, whether tags are affected, whether the note ID must be valid or the call errors, and what the response contains. For a mutation tool with a nested 'fields' object, the merge-vs-replace semantics are the single most important missing trait.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with zero filler, which is structurally clean. However, the brevity comes at the cost of the behavioral detail an agent needs, so it reads as under-specified rather than efficiently concise.

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

Completeness2/5

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

Given a mutation tool with no annotations, no output schema, and a nested object parameter, the description should specify update semantics (partial vs full replacement) and error conditions. It provides none of that, leaving the agent to guess at the most consequential behavior.

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%, and the schema already explains both note_id and the fields dictionary with an example, so the baseline is 3. The description adds nothing beyond the schema, but nothing is lost either.

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 ('Update') and resource ('an existing note's fields'), which clearly separates it from read siblings like get_notes or search_notes. It does not explicitly differentiate from delete_notes or tag-related tools, but the core operation is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as add_flashcard or delete_notes, and no prerequisites stated. The only implied constraint is that the note must already exist, which the agent must infer.

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