Skip to main content
Glama
telegram-api-mcp

telegram-api-mcp

by EngDawood

set_managed_bot_access_settings

Idempotent

Change a managed bot's access settings by defining whether access is restricted and which additional user IDs are allowed.

Instructions

Change the access settings of a managed bot (v10.0).

Input Schema

NameRequiredDescriptionDefault
user_idYesUser ID
added_user_idsNo
is_access_restrictedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=true and openWorld=true, so the safety profile is covered. The description adds nothing behavioral beyond a version tag '(v10.0)' — it does not say whether existing access grants are replaced or merged, whether a prior token or ownership check is required, or what happens to users not listed. For a permission-mutating tool that is a real gap.

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 single sentence is front-loaded and free of filler, which is good. However, its brevity reflects under-specification rather than efficient compression, and the trailing version tag carries little decision value.

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?

With no output schema, the agent gets no return-value information, and the mutation semantics of the three parameters are unexplained. Given the tool's complexity (permission change on a managed bot), the definition is too thin to call it complete, though the annotations do carry the safety profile.

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

Parameters2/5

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

Schema description coverage is only 33%: only user_id has a (tautological) description, while added_user_ids and is_access_restricted are undocumented in both schema and description. The critical ambiguity — whether added_user_ids is additive or an authoritative replacement list, and what is_access_restricted=true actually restricts — is left unresolved, so the description fails to compensate for the low coverage.

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 gives a specific verb ('Change') and resource ('access settings of a managed bot'), which is enough to tell it apart from the read-side sibling get_managed_bot_access_settings. It stops short of explicitly naming that sibling or clarifying the scope of 'access settings', so it is clear but not maximally distinguishing.

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?

There is no when-to-use guidance, no prerequisite (e.g. that the bot must be managed, or that get_managed_bot_access_settings should be consulted first), and no mention of alternatives such as replace_managed_bot_token. The agent must infer usage entirely from the name.

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