Skip to main content
Glama

Save dictionary entry

save_dictionary_entry
DestructiveIdempotent

Add a dictionary entry, or edit one by entry_id: a word, its locale, its IPA and a category.

Store only an IPA the user chose. Fields you omit on an edit stay as they are; clear erases one.

Input Schema

NameRequiredDescriptionDefault
ipaNoIPA the user picked or typed, stored exactly as given. Never one they did not choose.
typeNoFree-text category, e.g. brand, person, loanword.
wordNoThe word as written. Required to add; omit to keep it.
clearNoFields to erase on an edit, e.g. ["type"].
localeNoBCP-47 locale such as ko-kr. Required to add; omit to keep it.
entry_idNoAn entry_id from list_dictionary_entries to edit. Omit to add a new entry.
descriptionNoA note about the entry.

Output Schema

NameRequiredDescriptionDefault
ipaNo
typeNo
wordNo
localeNo
createdNo
entry_idNo
next_stepNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds useful context about omitted fields remaining unchanged and clear erasing selected fields, plus the IPA storage constraint. It does not cover permissions or broader side effects, so a 4.

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?

Two tight sentences with no waste. The add/edit distinction is front-loaded, followed by the important edit and clear semantics.

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?

With rich annotations, full schema coverage, and an output schema, the description supplies the core behavior an agent needs. It omits explicit add-time required fields and the source of entry_id, though those are covered by the schema.

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 the schema already documents every parameter thoroughly. The description restates key fields and adds the IPA-choice constraint, but does not provide much beyond the schema.

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: add or edit a dictionary entry, with entry_id selecting edit mode. This clearly distinguishes the tool from siblings like delete_dictionary_entry and list_dictionary_entries.

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?

Explains the add-vs-edit decision via entry_id and clarifies edit semantics: omitted fields stay unchanged and clear erases fields. It does not name sibling alternatives or explicitly say when not to use it, so not a 5.

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