Skip to main content
Glama

get_cube_algorithms

Read-only

Rubik's cube last-layer algorithm sets used by the K2 cube trainer: full OLL (57 cases), full PLL (21), the two-look beginner subsets, and full ZBLL. Each case returns its primary algorithm plus alternates, with sources and finger-trick notes where recorded. Every algorithm in these sets is verified against a cube simulator by the repo's audit script (app/cube/scripts/audit-algorithms.mjs), run before data changes land. Filter by case_id or group; omit both for the set's structure and levels.

Input Schema

NameRequiredDescriptionDefault
setYesAlgorithm set id
groupNoCase group filter, e.g. 'T Shapes', 'OCLL'
limitNoMax cases (default 20, max 50)
case_idNoSingle case id, e.g. 'oll-21' or 'pll-t'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses the payload shape (primary algorithm plus alternates, sources, finger-trick notes) and a meaningful trust property — every algorithm is validated by app/cube/scripts/audit-algorithms.mjs before data lands. It does not cover pagination behavior or the default/max limit handling, which would round this out.

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?

Four sentences, front-loaded with what the sets are and their sizes, then payload shape, then verification, then filtering. Every sentence carries information; the audit-script sentence is the longest and borders on promotional, but it does establish data quality, which is relevant to an agent deciding whether to trust the output.

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?

There is no output schema, so the description must explain return values — and it does: each case returns the primary algorithm plus alternates, sources, and finger-trick notes, or the set's structure and levels when unfiltered. Combined with complete schema documentation for the four parameters, an agent has everything needed to call it correctly.

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, and the description earns an increment by explaining the omitted-filter case ('omit both for the set's structure and levels') — semantics the schema does not convey. The set enum values and group examples are already documented in the schema, so no further credit is due there.

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 — retrieving Rubik's cube last-layer algorithm sets (OLL 57, PLL 21, two-look subsets, ZBLL) used by the K2 cube trainer — plus what each case contains. The scope is unmistakable, though it never names a sibling (e.g. explain_k2_algorithm) to contrast against, so differentiation is inferred rather than stated.

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?

The final sentence gives concrete selection guidance between the filters: 'Filter by `case_id` or `group`; omit both for the set's structure and levels.' That is useful when-to-use-a-parameter guidance, but there is no statement of when to prefer this tool over siblings like explain_k2_algorithm, nor any exclusions or prerequisites.

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