Skip to main content
Glama

Show a Telegram photo

telegram_show_photo
Read-onlyIdempotent

Display a Telegram photo to the user as a picture in the conversation. This does not let you see the image — to describe it or read anything in it, use telegram_get_photo. Use the chat_id and message_id of a message whose message_type is 'photo'. Always include the returned link as a clickable link, since not every client renders the picture. Use an already connected Session where supported; preserve source, coverage and actual errors. Do not suggest connecting or reconnecting Session unless the user explicitly asks for Session setup. Never switch sender automatically or request login codes/passwords in chat.

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": {
      "chat_id": "<chat_id>",
      "message_id": "<message_id>"
    },
    "name": "telegram_show_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_idYesChat the photo is in.
message_idYesmessage_id of the photo message.

Output Schema

NameRequiredDescriptionDefault
urlYesDirect link to the image.
captionYesCaption, if the message had one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive behavior, so the bar is lower; the description still adds genuine value by disclosing the key limitation (the agent cannot see the image) and the client-rendering caveat that makes the return link mandatory. The trailing session/login/sender boilerplate is generic and not specific to displaying a photo, which keeps it from a 5.

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

Conciseness3/5

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

The first three sentences are front-loaded, purposeful and earn their place. The remainder ('preserve source, coverage and actual errors', 'Do not suggest connecting or reconnecting Session', 'Never switch sender automatically or request login codes/passwords') is generic policy boilerplate unrelated to showing a photo, diluting an otherwise tight definition.

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?

An output schema exists, so return values need not be explained, and the description still flags the returned link and its required usage. For a simple two-parameter read tool with full annotation coverage, nothing operationally essential is missing, though the generic security tail is padding rather than completeness.

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 coverage is 100%, so both parameters are documented and the baseline is 3. The description adds real meaning beyond the schema by constraining message_id to a message whose message_type is 'photo', which tells the agent how to obtain a valid value rather than just its type.

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 opens with a specific verb and resource: 'Display a Telegram photo to the user as a picture in the conversation.' It immediately names the sibling telegram_get_photo and states the opposite capability, so an agent can distinguish the two tools without inspecting either schema.

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

Usage Guidelines5/5

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

It gives an explicit when-not ('This does not let you see the image — to describe it or read anything in it, use telegram_get_photo') with the named alternative, plus a precondition on inputs ('a message whose message_type is "photo"'). It also instructs how to render the result by always including the returned link.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources