Skip to main content
Glama
grammy-mcp
by louietyj

setMyDefaultAdministratorRights

Destructive

Sets the default administrator rights a bot suggests when added to groups or channels, so users see preset permissions they can adjust before approving the bot.

Instructions

Use this method to the change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are are free to modify the list before adding the bot. Returns True on success.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "setMyDefaultAdministratorRights"
  }
}

Input Schema

NameRequiredDescriptionDefault
rightsNoAn object describing new default administrator rights. If not specified, the default administrator rights will be cleared.
for_channelsNoPass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavioral context beyond them: the rights are only suggested to users, who may modify them before adding the bot, and success returns True. It does not restate that omitting rights clears defaults, which only the schema mentions.

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?

Three sentences, front-loaded with the action and its effect, with no filler. Minor typos ('to the change', 'they are are') slightly reduce polish but not clarity.

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 two-parameter, all-optional mutation tool with no output schema, the description plus schema cover what is needed: the effect on defaults, the group-vs-channel switch, and that success returns True. The clearing behavior on omission lives in the schema, which is acceptable.

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%, so both parameters are fully documented in the schema, and the baseline of 3 applies. The description's mention of groups versus channels loosely maps to for_channels, but adds no syntax or default-behavior detail beyond the schema.

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?

States a specific verb and resource: changing the default administrator rights the bot requests when added to groups or channels. It clearly describes the effect, though it never names getMyDefaultAdministratorRights as the read counterpart, so sibling differentiation must be inferred from names alone.

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

Usage Guidelines3/5

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

Usage is implied by the scenario described (rights requested when the bot is added as an administrator), but there is no explicit when-to-use/when-not guidance and no mention of the getter sibling for inspecting current defaults. An agent can infer intent but receives no routing help.

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