Skip to main content
Glama

Mark word struggled

mark_struggled

Spaced-repetition degrade for a word the user just got wrong: the card comes back sooner. ease_factor drops, interval resets, repetitions reset.

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": "<word>"
    },
    "name": "mark_struggled"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage tag of the word: base ISO with an optional region (en, en-us, pt-br). Matching is on the base code, so any regional variant matches. Omit it and the user's own primary learning language is used.
wordYes
sourceNo
contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language tag of the word: base ISO with an optional region (en, en-us, pt-br). Scoped on the base, so the variant the session instructions ask you to send always matches. Omit it and the user's own primary learning language is used."New value: +"Language tag of the word: base ISO with an optional region (en, en-us, pt-br). Matching is on the base code, so any regional variant matches. Omit it and the user's own primary learning language is used."
  2. Changed1 schema field changed
    • addedInput schema / properties / lang / description
      Added value: +"Language tag of the word: base ISO with an optional region (en, en-us, pt-br). Scoped on the base, so the variant the session instructions ask you to send always matches. Omit it and the user's own primary learning language is used."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, non-destructive, closed-world mutation, so safety is covered. The description goes further by naming the exact post-conditions (ease_factor drops, interval resets, repetitions reset, card returns sooner), which is real value beyond the annotations. Remaining gaps: whether repeated calls compound the penalty, any floor on ease_factor, and whether the reset is reversible.

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 the usage condition and the resulting state changes front-loaded. Domain terms like ease_factor and interval are used precisely and nothing is padding.

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 no output schema and no parameter docs, the description carries the burden for behavior and does explain the scheduling effect. It falls short on the two undocumented optional parameters and on what the caller learns back after the mutation, but for a simple state-degrade call it is nearly sufficient.

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

Parameters2/5

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

Schema coverage is only 25% — just 'lang' is documented — and the description adds no parameter guidance at all. 'word' is self-evident, but 'source' and 'context' go unexplained in both the schema and the description, leaving the agent to guess what belongs in them.

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 concrete verb and resource: degrades spaced-repetition state for a specific word the user got wrong. It is clearly differentiated from a 'demonstrated' counterpart in concept ('just got wrong'), but never names mark_demonstrated, so the agent must infer the pairing from sibling names alone.

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?

The trigger condition is explicit and usable: call this when the user has just gotten a word wrong. What is missing is the exclusion clause — nothing states that a correct answer should route to a different tool, or what to do if the word is not yet tracked.

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.