Skip to main content
Glama
grammy-mcp
by louietyj

setGameScoreInline

Destructive

Set or update the score of a specified user in an inline game message; optionally allow lower scores for corrections or cheating bans and skip automatic scoreboard edits.

Instructions

Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the Message is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.

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>",
      "score": "<score>"
    },
    "name": "setGameScoreInline"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoPass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters.
scoreYesNew score, must be non-negative
user_idYesUser identifier
inline_message_idYesIdentifier of the inline message
disable_edit_messageNoPass True if the game message should not be automatically edited to include the current scoreboard

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 this as a non-read-only, destructive, open-world mutation. The description adds valuable behavior beyond that: the return type depends on whether the message is inline, and a specific scoring rule causes failure unless force is used. It still does not disclose auth or rate-limit concerns, but the core mutation semantics are well covered.

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 is front-loaded, followed by return and failure behavior in two concise sentences. There is no filler, though the return-type sentence could be slightly tighter.

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 five-parameter mutation tool without an output schema, the description supplies critical return and error semantics that the schema does not cover. It remains incomplete only in its lack of explicit sibling routing and prerequisite guidance.

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%, with descriptions for all five parameters including the force and score constraints. The description reinforces the score/force interaction but adds little parameter meaning beyond what the schema already provides, so the baseline of 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?

States a specific verb and resource: setting a user's score in a game message, with inline-message context made explicit through the return behavior. It does not name the non-inline sibling setGameScore, so the distinction relies on the tool name and schema rather than direct guidance.

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?

Provides an important call condition by explaining that an error occurs when the new score is not greater than the current score and force is false. However, it gives no explicit guidance on when to choose this inline variant versus the non-inline setGameScore, and no prerequisites or authentication context.

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