Skip to main content
Glama
grammy-mcp
by louietyj

setMyName

Destructive

Change the Telegram bot's name globally or for a specific language code; returns True on success.

Instructions

Use this method to change the bot's name. 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": {
      "name": "<name>"
    },
    "name": "setMyName"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNew bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language.
language_codeNoA two-letter ISO 639-1 language code. If empty, the name will be shown to all users for whose language there is no dedicated name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 safety profile is covered. The description contributes one genuinely useful behavioral detail beyond that — the return value 'True on success' (no output schema exists). It says nothing about how the previous name is replaced, whether the change propagates to existing chats, or any rate limits, which would be expected for a destructive self-mutation.

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?

Two short sentences, front-loaded with the action and followed by the return value. 'Use this method to' is filler that could be dropped, but there is no wasted content otherwise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one required string plus an optional language enum, no output schema), and the schema carries the parameter detail while annotations carry the safety profile. However, an agent reading only the description would not learn that this sets a language-specific name with fallback behavior, which is the tool's most consequential semantic.

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%: the name length bound, the empty-string semantics, the full ISO 639-1 enum and the fallback rule for language_code are all documented in the schema itself. The description adds no parameter meaning on top of that, so the baseline of 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?

The description states a specific verb and resource: 'change the bot's name'. It clearly contrasts in intent with the sibling getMyName, but it never surfaces the per-language scoping that distinguishes it from setMyDescription/setMyShortDescription-style profile setters.

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

Usage Guidelines2/5

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

'Use this method to change the bot's name' restates the tool's function rather than giving when-to-use guidance. There is no mention of when to prefer this over getMyName or the other setMy* tools, and no prerequisites or exclusions are stated.

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