Skip to main content
Glama

Lexpad – Vocabulary Notebook & Flashcards

Edit a word

update_word
DestructiveIdempotent

Changes a word's headword, part of speech, level, topic, pronunciation, hard-to-spell mark and spelling note, usage note, corrected form, collocations, expressions, related words or the user's private note. Only the fields given change; meanings and practice progress are not touched. A headword the notebook already has is refused. The previous values are replaced.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
posNoPart of speech; empty clears it.
noteNoThe user's own private note on the word; empty clears it.
levelNoCEFR level; empty clears it.
topicNoThe topic the word is filed under; empty files it under general.
word_idYesThe id of a word from another tool's result.
headwordNoThe corrected word or phrase.
correctionNoThe natural, correctly spelled form of the headword; empty clears it.
usage_noteNoA note on register, grammar or common mistakes, in the meaning language; empty clears it.
expressionsNoReplaces the word's expressions; an empty list removes them.
collocationsNoReplaces the word's collocations; an empty list removes them.
hard_spellingNoWhether the word is marked as hard to spell.
pronunciationNoIPA or a simple respelling; empty clears it.
related_wordsNoReplaces the word's related words; an empty list removes them.
spelling_noteNoWhat makes the spelling hard, in the meaning language; empty clears it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
posNo
levelNo
topicNo
addedOnYes
headwordYes
meaningsYes
progressYes
usageNoteNo
correctionNo
notebookIdYes
expressionsNo
collocationsNo
hardSpellingNo
relatedWordsNo
spellingNoteNo
pronunciationNo
originalMeaningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Beyond the 'destructiveHint' annotation, the description discloses critical behavioral traits: it only updates 'the fields given' (partial updates), and guarantees that 'meanings and practice progress are not touched.' This operational context is crucial for agent planning.

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?

The definition is dense due to the complexity of the word object (14 parameters), but it is highly structured and efficient. It front-loads the list of editable fields and immediately follows up with the operational constraints and limitations.

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?

Given the large number of parameters and the complex nature of the data structure (nested expressions/collocations), this description provides all the necessary behavioral boundaries and operational logic required for an AI agent to select and call the function correctly without ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Even though schema coverage is 100%, the description adds significant semantic value that the schema lacks. It explains the operational rules for specific fields, such as the implications of only updating specified parameters and how previous values are replaced.

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?

The description clearly identifies the action ('Changes a word') and comprehensively lists all the resources/fields that can be manipulated (headword, part of speech, level, etc.). It is specific and directly relates to editing an existing word, distinguishing it from 'add_word'.

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?

It explicitly defines when to use the tool by describing which fields are editable. Crucially, it also states a key constraint: 'A headword the notebook already has is refused,' clarifying that this tool is for modifying existing entries rather than creating new ones, providing a vital boundary against the 'add_word' sibling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources