Skip to main content
Glama
grammy-mcp
by louietyj

verifyUser

Verifies a Telegram user on behalf of the bot's organization, optionally adding a custom verification description, and returns true on success.

Instructions

Verifies a user on behalf of the organization which is represented by the bot. Returns True on success.

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": {
      "user_id": "<user_id>"
    },
    "name": "verifyUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYesUnique identifier of the target user
custom_descriptionNoCustom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful context beyond that: the verification is performed on behalf of the bot's organization, and the call returns True on success. It still omits what happens on failure (exception vs false) and any permission requirements for the bot/organization.

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, purpose front-loaded, zero filler. Slightly thin given the tool is a state-changing verification operation, but nothing is wasted.

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 'Returns True on success' note is valuable, and both parameters are fully covered by the schema. However, for a non-read-only, open-world operation, the description leaves out failure behavior and the organizational authorization precondition implied by the custom_description rule.

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 user_id and custom_description are documented in the schema, establishing the baseline of 3. The description adds no additional meaning about either parameter, and notably does not explain the organization-permission constraint that the schema attaches to custom_description.

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 ('Verifies a user') plus the acting context ('on behalf of the organization which is represented by the bot'). That is clearly distinguishable from the sibling removeUserVerification, though the description never names that sibling or any alternative explicitly.

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 mention of the inverse operation (removeUserVerification) as an alternative, and no statement of prerequisites such as the bot belonging to a verification-eligible organization. The agent must infer all of this from the name and schema.

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