Skip to main content
Glama
grammy-mcp
by louietyj

close

Destructive

Shut down the bot instance before migrating it to another local server, and delete the webhook first to prevent relaunch after a restart.

Instructions

Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns True on success. Requires no parameters.

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": "close"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive/open-world behavior, so the baseline is low, and the description meaningfully adds to them: the webhook-deletion precondition, the 429 failure window, and the True return on success. What 'close' actually does to the running bot process (e.g., stopping polling locally) is still implicit rather than stated, keeping it out of 5 territory.

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?

Four short sentences, front-loaded with the core action and scenario, each carrying a distinct operational fact. The trailing 'Requires no parameters' is redundant with the empty schema and could be dropped.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, no-output-schema tool, the description covers the purpose, prerequisite, failure mode, and return value. Nothing an agent needs in order to call it correctly at the right moment is missing.

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

Parameters4/5

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

The tool takes zero parameters, which is the baseline-4 case. The closing sentence 'Requires no parameters' merely restates the empty schema rather than adding meaning, so it does not exceed baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and object: 'close the bot instance'. The qualifier 'before moving it from one local server to another' immediately distinguishes it from the closeForumTopic/closeGeneralForumTopic siblings, which operate on topics rather than the bot instance itself. An agent can select it without opening the schema.

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

Usage Guidelines4/5

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

Gives a clear usage context (server migration) plus a hard prerequisite ('delete the webhook before calling this method') and a timing constraint (error 429 within the first 10 minutes after launch). It does not name an alternative tool or an explicit when-not-to-use rule, so it stops just short of a 5.

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