Skip to main content
Glama
grammy-mcp
by louietyj

setMyShortDescription

Destructive

Change your Telegram bot's short description shown on its profile page and in shared links, optionally per language. Set or remove localized text for users.

Instructions

Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns True 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": {
      "short_description": "<short_description>"
    },
    "name": "setMyShortDescription"
  }
}

Input Schema

NameRequiredDescriptionDefault
language_codeNoA two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description.
short_descriptionYesNew short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the agent knows this mutates state. The description adds the success return value and the field's visibility surface, but does not say that the call overwrites the existing short description for that language or discuss any authorization requirements. Given the annotation coverage, a 3 is appropriate.

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?

Two short sentences, front-loaded with the purpose and surface area, followed by the return behavior. No filler or repetition.

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 simple two-parameter setter with full schema coverage and explicit annotations, the description is largely sufficient. The main omission is that the new string replaces any existing short description for that language, which the schema only hints at via the empty-string removal note.

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%: language_code's fallback behavior and short_description's 0-120 character limit and empty-string removal semantics are fully documented in the schema. The description adds no parameter-level meaning beyond that, so the 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 (change) and resource (the bot's short description), and explains where that field surfaces: the profile page and shared bot links. This distinguishes it from the read sibling getMyShortDescription by verb, though it never names the read counterpart or the distinct setMyDescription field 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 change...' implies the usage context, but there is no explicit when-to-use/when-not-to-use guidance and no routing to alternatives such as getMyShortDescription for reading or setMyDescription for the longer description field. Adequate but leaves selection to inference.

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