Skip to main content
Glama

explain_k2_algorithm

Read-only

The K2 spaced-repetition engine, described. K2 stores no review dates: each item holds a probability p that halves on a correct answer and doubles on a wrong one, and items are drawn by Monte Carlo rejection sampling, so the pool self-organizes around current weaknesses and expands when it cools. Returns the update rule (including the deliberate hinted-answer exception), the selection and pool-expansion mechanics, the live tuning constants, and notes for porting it. Read this before simulate_k2_session.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes that this is a safe reference operation. The description adds useful content scope by listing the returned material: update rule, hinted-answer exception, selection mechanics, tuning constants, and porting notes. It does not discuss auth or rate limits, but those are unlikely to be important for a read-only explanation tool.

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?

The description is front-loaded with the tool's identity and is reasonably sized for a complex algorithm explainer. It is dense, with two long sentences, but almost every phrase adds relevant scope or previews returned content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no input parameters, a read-only annotation, and no output schema, the description carries the necessary burden of explaining what the tool returns and when to use it. It explicitly lists the returned material and links the tool to simulate_k2_session, leaving no important invocation ambiguity.

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?

There are zero parameters, so parameter semantics are not a meaningful gap. The schema is empty and fully described, and the description appropriately avoids inventing parameter guidance for a no-argument tool.

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?

The description immediately identifies the resource and action: it explains/describes the K2 spaced-repetition engine and enumerates what the explanation returns. It also distinguishes itself from the sibling simulate_k2_session by positioning itself as prerequisite reading rather than execution.

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?

It gives explicit usage context: 'Read this before simulate_k2_session.' That makes the relationship to the key sibling clear, though it does not state when this tool should be used instead of other documentation-style siblings or whether it is ever unnecessary.

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