Skip to main content
Glama
dikaglorya

telegram-mcp

by dikaglorya

Set or remove a chat photo

telegram_set_chat_photo

Upload a local image as a Telegram group or channel photo, or remove the existing photo by setting remove=true. Requires admin rights; reads the file from disk, not a URL.

Instructions

Upload a local image as the group/channel photo, or remove the photo with remove=true. Needs admin rights. The file is read from disk, never from a URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
removeNo
filePathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutation/external nature is known. The description adds genuinely useful context beyond the annotations: admin-rights prerequisite and the important constraint that the file is read from disk and never from a URL. It omits return/confirmation behavior, keeping it at 4.

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?

Three short sentences with no waste; the set/remove duality and the hard constraints (admin rights, local file) are front-loaded.

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 3-param mutation tool with no output schema, the description covers the mutation mode, permissions, and input source well. Minor gaps remain, such as image format/size limits or success confirmation, so it is strong but not exhaustive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It explains remove=true (deletion switch) and that filePath is a local disk path rather than a URL, covering two of three params meaningfully; 'chat' is only implied by the noun 'group/channel'.

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?

States a specific verb+resource ('upload a local image as the group/channel photo', or remove with remove=true) and clearly scopes it to group/channel chats, which implicitly separates it from the sibling telegram_set_my_photo (own profile). An agent can tell what it does without opening the schema.

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?

Gives the key usage conditions: remove=true selects deletion mode, and admin rights are required. It does not explicitly name a sibling alternative to route to, so it falls short of 5, but the when-to-use context 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