Skip to main content
Glama
grammy-mcp
by louietyj

getMyDefaultAdministratorRights

Read-only

Retrieve the bot's current default administrator rights for groups, supergroups, or channels. Use it to verify permissions before configuring admin roles.

Instructions

Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights 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": "getMyDefaultAdministratorRights"
  }
}

Input Schema

NameRequiredDescriptionDefault
for_channelsNoPass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description does add the return type (ChatAdministratorRights), which matters because no output schema exists, but it says nothing about defaults when unset, failure modes, or rate limits. That is a modest increment over the annotations.

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?

Two short sentences, front-loaded with the action and followed by the return type, with no wasted clauses. The 'Use this method to...' lead-in is boilerplate but costs little.

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 zero-required-parameter read tool, annotations cover the safety profile and the schema covers the one flag, while the description supplies the return type. What remains missing (default value semantics, error behavior) is minor at this complexity.

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% and the single boolean is fully explained there, including the fallback behavior for groups/supergroups. The description contributes no additional parameter meaning, so the baseline 3 applies.

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 ('get') and resource ('default administrator rights of the bot'), which cleanly contrasts with the sibling setMyDefaultAdministratorRights implied by the naming pattern. It stops short of explicitly naming a sibling, so it lands at 4 rather than 5.

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 only implied — the description says what it retrieves but never states when an agent should call this versus e.g. getChatAdministrators, nor any precondition (that a bot token/context exists). The group-vs-channel distinction lives in the schema, not the description.

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