Skip to main content
Glama

register_commands

Replace all Discord slash commands for your Top.gg bot project by submitting an array of command definitions.

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.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed39 schema fields changedv0.0.4
    • addedInput schema / definitions / __schema0 / properties / autocomplete
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / definitions / __schema0 / properties / channel_types
      Added value: +{
      +  "items": {
      +    "maximum": 9007199254740991,
      +    "minimum": -9007199254740991,
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / definitions / __schema0 / properties / choices / items / properties / name / maxLength
      Added value: +100
    • addedInput schema / definitions / __schema0 / properties / choices / items / properties / name / minLength
      Added value: +1
    • addedInput schema / definitions / __schema0 / properties / choices / items / properties / name_localizations
      Added value: +{
      +  "additionalProperties": {
      +    "maxLength": 100,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / definitions / __schema0 / properties / choices / items / properties / value / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 100,
      +    "type": "string"
      +  },
      +  {
      +    "type": "number"
      +  }
      +]
    • addedInput schema / definitions / __schema0 / properties / choices / maxItems
      Added value: +25
    • addedInput schema / definitions / __schema0 / properties / description / maxLength
      Added value: +100
    • addedInput schema / definitions / __schema0 / properties / description / minLength
      Added value: +1
    • addedInput schema / definitions / __schema0 / properties / description_localizations / additionalProperties / maxLength
      Added value: +100
    • addedInput schema / definitions / __schema0 / properties / description_localizations / additionalProperties / minLength
      Added value: +1
    • addedInput schema / definitions / __schema0 / properties / max_length
      Added value: +{
      +  "maximum": 6000,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / definitions / __schema0 / properties / max_value
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / definitions / __schema0 / properties / min_length
      Added value: +{
      +  "maximum": 6000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / definitions / __schema0 / properties / min_value
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / definitions / __schema0 / properties / name / maxLength
      Added value: +32
    • addedInput schema / definitions / __schema0 / properties / name / minLength
      Added value: +1
    • addedInput schema / definitions / __schema0 / properties / name_localizations / additionalProperties / maxLength
      Added value: +32
    • addedInput schema / definitions / __schema0 / properties / name_localizations / additionalProperties / minLength
      Added value: +1
    • addedInput schema / definitions / __schema0 / properties / options / maxItems
      Added value: +25
    • changedInput schema / definitions / __schema0 / properties / type / maximum
      Previous value: -9007199254740991New value: +11
    • changedInput schema / definitions / __schema0 / properties / type / minimum
      Previous value: --9007199254740991New value: +1
    • addedInput schema / properties / commands / items / properties / contexts
      Added value: +{
      +  "items": {
      +    "maximum": 2,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / commands / items / properties / default_member_permissions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / commands / items / properties / default_permission
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / commands / items / properties / description / maxLength
      Added value: +100
    • addedInput schema / properties / commands / items / properties / description_localizations / additionalProperties / maxLength
      Added value: +100
    • addedInput schema / properties / commands / items / properties / dm_permission
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / commands / items / properties / handler
      Added value: +{
      +  "maximum": 2,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / commands / items / properties / integration_types
      Added value: +{
      +  "items": {
      +    "maximum": 1,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / commands / items / properties / name / maxLength
      Added value: +32
    • addedInput schema / properties / commands / items / properties / name / minLength
      Added value: +1
    • addedInput schema / properties / commands / items / properties / name_localizations / additionalProperties / maxLength
      Added value: +32
    • addedInput schema / properties / commands / items / properties / name_localizations / additionalProperties / minLength
      Added value: +1
    • addedInput schema / properties / commands / items / properties / options / maxItems
      Added value: +25
    • removedInput schema / properties / commands / items / properties / type / description
      Removed value: -"ApplicationCommandType integer."
    • changedInput schema / properties / commands / items / properties / type / maximum
      Previous value: -9007199254740991New value: +4
    • changedInput schema / properties / commands / items / properties / type / minimum
      Previous value: --9007199254740991New value: +1
    • changedInput schema / properties / commands / items / required
      Previous value: -[
      -  "type",
      -  "name",
      -  "description"
      -]New value: +[
      +  "name",
      +  "description"
      +]
  2. First observedv0.0.0

TDQS

A3.9/5.0
Behavior4/5

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

The description explicitly states 'Replace all registered Discord slash commands' which is a clear behavioral trait indicating destructive overwrite. With no annotations provided, the description carries the burden and does so adequately by disclosing the full scope of the action.

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?

The description is a single sentence that is front-loaded and contains no wasted words. It efficiently conveys the tool's purpose without redundancy.

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?

Given the tool's complexity (destructive replacement of commands) and absence of an output schema, the description is minimal. It does not mention side effects, error states, or authentication needs, which would be beneficial for complete understanding.

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% with both parameters (project, commands) described in the input schema. The description adds no extra meaning beyond the schema, so a baseline score of 3 is appropriate.

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?

The description clearly states the tool replaces all registered Discord slash commands for the current Top.gg bot project. The verb 'replace' and resource 'all registered Discord slash commands' are specific and distinguish it from sibling tools like get_project (read) or create_announcement (announcements).

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?

The description implies usage for replacing commands but provides no explicit guidance on when to use vs alternatives, nor any exclusions. It is implied that this is for bulk replacement, but no alternatives or conditions are mentioned.

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

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