Skip to main content
Glama
grammy-mcp
by louietyj

uploadStickerFile

Upload a sticker file for reuse when creating, adding to, or replacing sticker set entries in Telegram.

Instructions

Use this method to upload a file with a sticker for later use in the createNewStickerSet, addStickerToSet, or replaceStickerInSet methods (the file can be used multiple times). Returns the uploaded File on success.

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": {
      "user_id": "<user_id>",
      "sticker_format": "<sticker_format>",
      "sticker": "<sticker>"
    },
    "name": "uploadStickerFile"
  }
}

Input Schema

NameRequiredDescriptionDefault
stickerYesA file with the sticker in .WEBP, .PNG, .TGS, or .WEBM format. See https://core.telegram.org/stickers for technical requirements.
user_idYesUser identifier of sticker file owner
sticker_formatYesFormat of the sticker, must be one of “static”, “animated”, “video”

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate this is not read-only, is open-world, and is not destructive. The description adds useful behavioral context: the file can be reused multiple times, and the method returns the uploaded File on success. It does not cover permissions or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single efficient sentence that front-loads the action, states the downstream use, notes reusability, and mentions the return value. No wording is wasted.

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 three-parameter upload tool with full schema coverage and annotations, the description is nearly complete: it explains purpose, intended consumers, reusability, and return type. Minor gaps remain around permissions or constraints, but the core information an agent needs is present.

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?

The input schema has 100% description coverage for all three parameters, including file formats and the sticker_format enum. The description adds no parameter-specific 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ("upload a file with a sticker") and clarifies its role as a precursor for createNewStickerSet, addStickerToSet, and replaceStickerInSet. This distinguishes it from unrelated sibling methods such as sendSticker or getStickerSet.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly states when to use this tool: to upload a sticker file for later use in three named sticker-set methods. It does not explicitly exclude cases like sending a sticker directly, but the intended workflow is clear.

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