Skip to main content
Glama

Write sentence exercises

write_exercises

Store 1 to 4 new sentence exercises for one of the learner's flash cards: cloze-type, cloze-choose, order-chunks or fix-the-error, each a new short everyday sentence that uses the card, never its example. Each is checked against Axad's rules first. Returns the indexes of the kept drafts and, for the others, each rule they miss with its fix.

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": {
      "card": "<card>",
      "exercises": "<exercises>"
    },
    "name": "write_exercises"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardYesThe card's id.
exercisesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare the basic write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds genuinely new behavior: every draft is validated against 'Axad's rules' before storage, storage is partial (kept vs rejected), and each rejection comes back with the rule missed plus a fix. It stops short of saying what happens if all drafts fail or whether anything pre-existing is touched.

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?

Three sentences, front-loaded with what gets stored and how many, followed by validation behavior and return shape. Densely packed but every clause carries information; only slight tightening is possible.

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, the description correctly takes on the burden of describing the return value (kept indexes plus per-draft rule-and-fix failures), which is exactly what an agent needs to handle partial success. Gaps are minor: it doesn't identify where 'Axad's rules' come from or whether a failed draft should be retried.

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 coverage is 50% and the nested item properties are already well described, so the schema does most of the work. The description still contributes real meaning beyond it: the 1–4 bound is derived from minItems/maxItems, but 'short everyday sentence' and 'must use the card, never its example' are content rules the schema never expresses. Baseline 3 is appropriate given the schema's strength.

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 ('Store 1 to 4 new sentence exercises') with the target ('one of the learner's flash cards') and the exact four exercise kinds. The 'never its example' constraint and 'new' qualifier separate it cleanly from review/answer siblings such as answer_exercise and save_cards.

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?

Usage is implied by the 'new sentence that uses the card, never its example' constraint and the count bound, so an agent can infer this is the authoring tool rather than the answering tool. However, it never explicitly says when to write exercises instead of using a sibling, nor states prerequisites such as the card needing to exist or belong to the learner.

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.