Skip to main content
Glama

get_user_profile_photos

Retrieve a list of file IDs for a Telegram user's profile photos. Provide the user ID and optionally set a limit on the number of photos.

Instructions

Return a lightweight list of Telegram profile photo file IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
user_idNo
total_countNo
photosNo
Behavior2/5

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

No annotations provided, so the description must fully disclose behavior. It only says 'lightweight list of file IDs,' which hints at limited data but does not specify read-only nature, permissions, rate limits, or behavior when no photos exist. This is insufficient for full transparency.

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 description is a single sentence of about 10 words, which is concise but arguably too brief for a tool with no schema descriptions. It could include more details without becoming verbose. It is front-loaded with the main action.

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 has an output schema, so return values are covered. However, the description does not address edge cases (e.g., no photos, invalid user_id) or clarify the 'lightweight' qualifier. For a simple tool, it is minimally complete but leaves room for improvement.

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

Parameters1/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 explain parameters. It mentions 'profile photo file IDs' but does not clarify the 'user_id' or 'limit' parameters at all. The description adds no value beyond what the schema already shows.

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 clearly states the tool returns a lightweight list of Telegram profile photo file IDs. The verb 'Return' and resource 'profile photo file IDs' are specific, and the sibling tools are all different (e.g., send_message, get_chat_info), so it distinguishes itself. However, it could explicitly mention that it is for a specific user.

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?

No guidance on when to use this tool versus alternatives. There is no mention of scenarios where other tools like get_chat_info might be more appropriate, nor any context about prerequisites or limitations.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Py2755/aiogram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server