Skip to main content
Glama

Calculate Best 50 rating

calculate_best50
Read-onlyIdempotent

A maimai DX player's rating from their scores: the new 15 (b15) and old 35 (b35), with each chart's rating, and the scores whose next rank would raise the rating most. Achievements are integers in 1/10000 of a percent: 100.7543% is 1007543.

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": {
      "scores": "<scores>"
    },
    "name": "calculate_best50"
  }
}

Input Schema

NameRequiredDescriptionDefault
scoresYesThe scores of the player, up to 300; of a chart given twice the better one counts
serverNoGame server the player plays on: jp (default), intl, usa or cn
versionNoGame version whose new charts make the new 15 (b15): PRiSM PLUS. Default: the newest on the server.
suggestionsNoMost suggestions of scores to improve, 0 to 50. Default 10.

Output Schema

NameRequiredDescriptionDefault
b15YesBest 15 of the charts of the current version (and, since CiRCLE, the version before)
b35YesBest 35 of the older charts
ratingYesThe rating of the player: the total of b15 and b35
serverYes
sourceYes
versionYesGame version of the new 15
dataAsOfYesWhen the catalog was last updated
unmatchedYesScores not counted, with why
suggestionsYesScores to improve, by the gain of the next rank that raises the rating, highest first

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed3 schema fields changed
    • removedOutput schema / properties / source / properties / license
      Removed value: -{
      -  "const": "CC BY-NC 4.0",
      -  "type": "string"
      -}
    • removedOutput schema / properties / source / properties / licenseUrl
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / source / required
      Previous value: -[
      -  "name",
      -  "url",
      -  "license",
      -  "licenseUrl",
      -  "attribution"
      -]New value: +[
      +  "name",
      +  "url",
      +  "attribution"
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered and the description gains no credit there. It does add that output includes per-chart ratings and the scores whose next rank would raise the rating most, plus the duplicate-chart tie rule and achievement encoding. It omits the dependency of b15 on server and version, which affects results materially.

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 purpose and output contents are front-loaded in the first clause, and the achievement encoding is a compact second sentence. Only mild redundancy with the schema prevents a 5, since the achievement note duplicates the parameter description verbatim.

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?

An output schema exists, so return values need not be explained, and all four parameters are documented. The description supplies the conceptual model (b15/b35, duplicate handling, suggestions) needed to interpret the result. The remaining gap is sibling differentiation against calculate_rating, which matters because both compute ratings.

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 description coverage is 100%, so the schema already carries song identifier formats, the type/combo/difficulty enums, achievement bounds and the suggestions range. The description restates only the achievement integer encoding, which the schema also documents, and says nothing new about server, version or suggestions. Baseline 3 is appropriate.

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?

The description names a specific computation on a specific resource: a maimai DX player's rating built from the new 15 (b15) and old 35 (b35) charts, plus per-chart ratings and improvement suggestions. That is concrete enough to distinguish it from a generic rating tool, but it never names or contrasts the closest sibling, calculate_rating, so an agent must infer the boundary.

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 rather than stated: you supply a batch of scores (up to 300) and get a best-50 rating back. There is no explicit when-to-use, no when-not-to-use, and no pointer to calculate_rating or search_songs for the alternative paths, so routing depends on inference from the tool name.

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.