Skip to main content
Glama
cappyeo

discord-mcp

discord_intent_plan

Read-onlyIdempotent

Plans Discord intents (lock, announce, verify) into a deterministic, reviewable step list without executing actions.

Instructions

Purpose: Normalize a small, explicit Discord outcome into a deterministic, reviewable plan.

Supported intents: lock_channel, announce, verify, and lock_and_announce (natural-language separators and the bounded Vietnamese aliases khóa kênh, thông báo, xác minh are accepted).

Safety: This tool is strictly read-only. Its planner performs no Discord REST call, grants no approval, and never executes the returned steps; normal server scope middleware may perform a read-only target lookup.

Returns: A target-bound step list, aggregated access requirements, warnings, and a stable SHA-256 plan digest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
denyNoDeny bitfield for a reviewed channel overwrite.
allowNoAllow bitfield for a reviewed channel overwrite.
intentYesOne supported explicit Discord intent.
guild_idYesTarget guild snowflake.
channel_idYesTarget channel snowflake.
announcementNoAnnouncement text for announce intents.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "access": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "permissions": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "scopes": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "permissions",
      -          "scopes"
      -        ],
      -        "type": "object"
      -      },
      -      "approval_boundary": {
      -        "enum": [
      -          "per_write",
      -          "none"
      -        ],
      -        "type": "string"
      -      },
      -      "intent": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "plan_digest": {
      -        "pattern": "^sha256:[a-f0-9]{64}$",
      -        "type": "string"
      -      },
      -      "schema_version": {
      -        "const": "discord_intent_plan.v1",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "ready",
      -          "needs_input",
      -          "unsupported"
      -        ],
      -        "type": "string"
      -      },
      -      "steps": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "access": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "auth": {
      -                  "type": "string"
      -                },
      -                "hierarchy": {
      -                  "type": "string"
      -                },
      -                "intents": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "permissions": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "scope": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "auth",
      -                "permissions",
      -                "intents",
      -                "scope",
      -                "hierarchy"
      -              ],
      -              "type": "object"
      -            },
      -            "action": {
      -              "enum": [
      -                "prepare",
      -                "write",
      -                "verify"
      -              ],
      -              "type": "string"
      -            },
      -            "args": {
      -              "additionalProperties": {},
      -              "propertyNames": {
      -                "type": "string"
      -              },
      -              "type": "object"
      -            },
      -            "depends_on": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "purpose": {
      -              "type": "string"
      -            },
      -            "requires_approval": {
      -              "type": "boolean"
      -            },
      -            "tool": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "action",
      -            "tool",
      -            "purpose",
      -            "args",
      -            "access",
      -            "depends_on",
      -            "requires_approval"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "target": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "channel_id": {
      -            "description": "Discord channel ID (snowflake)",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          },
      -          "guild_id": {
      -            "description": "Discord guild (server) ID",
      -            "pattern": "^\\d{17,20}$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "guild_id",
      -          "channel_id"
      -        ],
      -        "type": "object"
      -      },
      -      "verification_step_id": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "status",
      -      "intent",
      -      "target",
      -      "steps",
      -      "access",
      -      "approval_boundary",
      -      "verification_step_id",
      -      "plan_digest",
      -      "warnings"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "access": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "permissions": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "scopes": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "permissions",
      +          "scopes"
      +        ],
      +        "type": "object"
      +      },
      +      "approval_boundary": {
      +        "enum": [
      +          "per_write",
      +          "none"
      +        ],
      +        "type": "string"
      +      },
      +      "intent": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "plan_digest": {
      +        "pattern": "^sha256:[a-f0-9]{64}$",
      +        "type": "string"
      +      },
      +      "schema_version": {
      +        "const": "discord_intent_plan.v1",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "ready",
      +          "needs_input",
      +          "unsupported"
      +        ],
      +        "type": "string"
      +      },
      +      "steps": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "access": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "auth": {
      +                  "type": "string"
      +                },
      +                "hierarchy": {
      +                  "type": "string"
      +                },
      +                "intents": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "permissions": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "scope": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "auth",
      +                "permissions",
      +                "intents",
      +                "scope",
      +                "hierarchy"
      +              ],
      +              "type": "object"
      +            },
      +            "action": {
      +              "enum": [
      +                "prepare",
      +                "write",
      +                "verify"
      +              ],
      +              "type": "string"
      +            },
      +            "args": {
      +              "additionalProperties": {},
      +              "propertyNames": {
      +                "type": "string"
      +              },
      +              "type": "object"
      +            },
      +            "depends_on": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "purpose": {
      +              "type": "string"
      +            },
      +            "requires_approval": {
      +              "type": "boolean"
      +            },
      +            "tool": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "action",
      +            "tool",
      +            "purpose",
      +            "args",
      +            "access",
      +            "depends_on",
      +            "requires_approval"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "target": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "channel_id": {
      +            "description": "Discord channel ID (snowflake)",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          },
      +          "guild_id": {
      +            "description": "Discord guild (server) ID",
      +            "pattern": "^\\d{17,20}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "guild_id",
      +          "channel_id"
      +        ],
      +        "type": "object"
      +      },
      +      "verification_step_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "warnings": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "status",
      +      "intent",
      +      "target",
      +      "steps",
      +      "access",
      +      "approval_boundary",
      +      "verification_step_id",
      +      "plan_digest",
      +      "warnings"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Addedv0.26.0

TDQS

A4.7/5.0
Behavior5/5

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

Even though annotations already declare readOnlyHint, idempotentHint, and destructiveHint, the description adds substantial behavioral context: it performs no Discord REST call, grants no approval, never executes returned steps, and may only perform a read-only target lookup. It also discloses the stable SHA-256 plan digest and return components. No contradiction with annotations.

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 organized into four compact labeled sections: purpose, supported intents, safety, and returns. There is no filler, and the most important scoping information is front-loaded. Every sentence contributes operational value.

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 planning tool with full schema coverage, an output schema, and strong annotations, the description covers what the tool does, what inputs it accepts, what it will not do, and what it returns. The only minor ambiguity is the exact form of natural-language separators, but this is not a significant gap given the schema and output schema.

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 input schema covers all six parameters with descriptions, so the baseline is 3. The description adds real value by enumerating accepted intent values and their Vietnamese aliases, which the schema does not list, and by clarifying that the output is a target-bound plan. It does not add per-intent parameter requirements, but the schema handles most of that burden.

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 states a specific purpose: normalize a small, explicit Discord outcome into a deterministic, reviewable plan. It enumerates the exact supported intents and clearly positions the tool as a planning-only tool that never executes the returned steps, distinguishing it from the many mutating Discord sibling tools.

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?

The supported-intent list and 'small, explicit outcome' scope give clear conditions for when this tool applies. The safety section also makes it clear that this is not the tool to use when execution is desired. However, it does not explicitly name alternative sibling tools, so the guidance stops short of full routing.

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