Skip to main content
Glama

register_commands

Replace all Discord slash commands for a Top.gg bot project. Provide command definitions such as type, name, and description.

Instructions

Replace all registered Discord slash commands for the current Top.gg bot project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoName of the configured project to target (e.g. "mybot" for TOPGG_TOKEN_MYBOT). Required when multiple tokens are configured; omit when only one is configured.
commandsYesArray of slash command definitions.
Behavior3/5

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

The description implies a destructive write operation by stating 'Replace all', but it does not explicitly disclose that existing commands are overwritten or deleted. No annotations are present to cover this gap, but the action is understandable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence that is direct and to the point. No extraneous words.

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

Completeness2/5

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

For a destructive tool with no output schema and no annotations, the description is too brief. It does not mention that all existing commands are replaced, any delay or effect, required permissions, or how to handle errors. Missing important context for the agent to use it safely.

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 coverage is 100%, so the description adds minimal value. The optional 'project' parameter is described in the schema, and 'commands' is defined as an array. The description does not provide additional semantic context beyond the schema.

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?

Description clearly states the action ('Replace all registered Discord slash commands') and the target ('current Top.gg bot project'). It is unambiguous and distinct from sibling tools, which are about votes, announcements, and project details.

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?

No guidance on when to use this tool versus others, no context about prerequisites (e.g., needing an existing bot project or token configuration), and no mention of when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Paillat-dev/topgg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server