Skip to main content
Glama
grammy-mcp
by louietyj

getGameHighScores

Read-only

Retrieves a Telegram game's high score table for a specified user, returning their score, nearby neighbors, and top players when needed.

Instructions

Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects.

This method will currently return scores for the target user, plus two of their closest neighbors on each side. Will also return the top three users if the user and his neighbors are not among them. Please note that this behavior is subject to change.

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": {
      "chat_id": "<chat_id>",
      "message_id": "<message_id>",
      "user_id": "<user_id>"
    },
    "name": "getGameHighScores"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesUnique identifier for the target chat
user_idYesTarget user id
message_idYesIdentifier of the sent message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is known. Beyond that, the description discloses genuinely useful behavior the annotations cannot convey: two neighbors on each side, the top three users included when the target isn't among them, and the caveat that this window may change. Only the response ordering/format is left implicit.

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 return shape are front-loaded in the first two sentences, with the volatility caveat correctly deferred to the end. Slight redundancy between "several of their neighbors" and the more precise follow-up paragraph, but nothing wasted enough to harm scanning.

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 carries the return-value burden and does so by naming GameHighScore objects and describing the neighbor/top-three composition. What remains thin is the coupling between the three required identifiers, which the description never explains.

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 100%, so chat_id, message_id and user_id are all documented in structured form. The description adds only loose references ("specified user", "in a game") and does not clarify why a message_id is required when a user_id is given, so it stays at baseline.

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 states a specific verb and resource ("get data for high score tables") and explains the exact payload: the target user's score plus neighbors. It is clear what the tool does, but it never distinguishes itself from the sibling getGameHighScoresInline, leaving an agent to guess which variant applies.

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 only implied through the return semantics — the tool is the one that yields a user's score and neighbors. There is no explicit statement of when to prefer it over setGameScore or getGameHighScoresInline, and no prerequisites such as requiring an existing game message.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools