Skip to main content
Glama

Capture grammar mistake

capture_grammar_mistake

Records a grammar mistake from a target-language sentence the user wrote, as a grammar point in their MindDory deck (shown on the Grammar Patterns page at app.minddory.com/grammar). Takes the original text, the correction and an error_type: tense, agreement, word_choice, word_order, article, preposition, spelling, pluralization, conjugation, gender or other. One call records one mistake. lang takes the full BCP-47 variant (en-gb, pt-br) so the mistake is filed under the user's regional variant.

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": {
      "user_text": "<user_text>",
      "correction": "<correction>"
    },
    "name": "capture_grammar_mistake"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoISO target language code.
user_textYesThe exact erroneous sentence/phrase the user wrote.
correctionYesThe corrected sentence/phrase.
error_typeNoOne of: tense, agreement, word_choice, word_order, article, preposition, spelling, pluralization, conjugation, gender, other.
explanationNoShort rationale (1-2 sentences). Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world write, so the safety profile needs no restating. The description does add real context beyond that: the write lands in the user's deck, is surfaced on the Grammar Patterns page, and lang determines the regional filing bucket. It omits whether repeated identical captures are deduplicated or what the call returns/confirms, which matters for a mutation tool with no output schema.

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

Conciseness4/5

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

Front-loaded with the action and destination, then granularity, then parameter detail — a sensible order with no filler sentences. The inline error_type list duplicates the schema's own enumeration and is the one segment that doesn't fully earn its space.

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?

For a five-parameter, two-required mutation tool with no output schema, the description covers what is stored, where it is shown, per-call granularity, and the language-variant rule. Missing only confirmation/response behavior and duplicate handling, which are minor against the rest.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by clarifying lang semantics beyond the schema's vague 'ISO target language code' — it must be a full BCP-47 variant (en-gb, pt-br) and the variant controls filing. The error_type enumeration, however, is largely a restatement of the schema's existing list.

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: it 'records a grammar mistake ... as a grammar point in their MindDory deck,' and pins down the visible surface (Grammar Patterns page) plus the exact input triple (original text, correction, error_type). That is clearly distinguishable from a vocabulary-capture sibling such as capture_word without opening either schema.

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?

Gives a concrete usage rule — 'One call records one mistake' — which tells the agent to decompose multi-error sentences into separate calls. It stops short of naming an alternative tool or stating when not to use it (e.g., that vocabulary-only issues belong to capture_word).

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.