Skip to main content
Glama

Lexpad – Vocabulary Notebook & Flashcards

Add a meaning

add_meaning

Adds one meaning, with examples, in the notebook's meaning language, to a word already in the notebook. It only adds; nothing is replaced or removed.

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": {
      "word_id": "<word_id>",
      "meaning": "<meaning>"
    },
    "name": "add_meaning"
  }
}

Input Schema

NameRequiredDescriptionDefault
meaningYes
word_idYesThe id of a word from another tool's result.

Output Schema

NameRequiredDescriptionDefault
planNo
wordYes
addedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / plan
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "aiCardsLeftToday": {
      +      "type": "integer"
      +    },
      +    "aiCardsPerDay": {
      +      "type": "integer"
      +    },
      +    "limitReached": {
      +      "type": "boolean"
      +    },
      +    "meaningSaved": {
      +      "type": [
      +        "null",
      +        "boolean"
      +      ]
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "plan": {
      +      "type": "string"
      +    },
      +    "plansUrl": {
      +      "type": "string"
      +    },
      +    "resetsAt": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "plan",
      +    "aiCardsLeftToday",
      +    "aiCardsPerDay"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the description's job is supplemental. It does add real value by confirming append-only semantics ("nothing is replaced or removed") and by flagging the meaning-language requirement, but it never warns that repeated calls will create duplicate meanings (consistent with idempotentHint=false).

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 short sentences, front-loaded with the verb and resource, with the non-destructive guarantee as a second beat. No 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?

An output schema exists, so return values need no explanation, and the nested object is fully specified in the schema. The description covers purpose, prerequisite and non-destructiveness; the only gap is duplicate handling and whether ordering of meanings matters, which an agent may need before calling twice.

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 50%, and the schema itself richly documents the nested meaning/gloss/examples structure. The description reinforces that examples are part of the payload and that word_id must reference an existing notebook word, but adds no format, limit (e.g. 5 examples) or ordering detail beyond the schema — baseline 3 for partial coverage.

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 and resource ("adds one meaning") plus the scope qualifier "to a word already in the notebook." The clause "It only adds; nothing is replaced or removed" behaviorally separates it from update_meaning, remove_meaning and reorder_meanings, though it never names those siblings.

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

Usage Guidelines3/5

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

"To a word already in the notebook" implies a prerequisite (the word must pre-exist, so use add_word for new words), but this is left to inference rather than stated. No explicit when-not-to-use or named alternative such as update_meaning for correcting an existing meaning.

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