Skip to main content
Glama
grammy-mcp
by louietyj

getGameHighScoresInline

Read-only

Retrieves high score table data for an inline game, returning the specified user's score plus their closest neighbors so you can display ranked leaderboards in your bot.

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 an inline game. On success, 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": {
      "inline_message_id": "<inline_message_id>",
      "user_id": "<user_id>"
    },
    "name": "getGameHighScoresInline"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesTarget user id
inline_message_idYesIdentifier of the inline 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?

Beyond the readOnly/openWorld annotations, the description discloses the actual result composition: the target user plus two neighbors on each side, and the top three users when neither group overlaps. It also warns the behavior is subject to change, which is meaningful caveat context the annotations cannot convey. Remaining gap: no mention of required bot/game ownership or permission conditions.

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?

Front-loaded with the action and result type, followed by the important neighbor/top-three composition rule. The closing 'please note that this behavior is subject to change' is slightly padded but earns its place as a stability warning.

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?

For a two-parameter read tool with no output schema, the description covers purpose, return type, and exact result composition. Authentication or permission preconditions are the only notable omission, and the tool is otherwise callable from this definition.

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 both parameters are already documented in the schema. The description only obliquely references 'the specified user' and adds no format, source, or constraint detail beyond what the schema states — baseline 3 applies.

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 ('get data for high score tables') and scopes it to inline games by naming 'the score of the specified user and several of their neighbors in an inline game.' This implicitly separates it from the non-inline getGameHighScores, but the sibling is never named explicitly.

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?

'Use this method to get data for high score tables' is implied guidance rather than explicit when-to-use framing. No exclusion conditions, no prerequisites, and no named alternative for the non-inline case, so the agent must infer the routing itself.

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