Skip to main content
Glama

discord_update_membership_screening

Idempotent

Updates a Discord server's membership screening form by setting the welcome description and rules new members must accept; form_fields replaces existing rule blocks and only supplied fields change.

Instructions

Update the server's membership screening form: set the welcome description and the rules new members must agree to. Only provided fields change. Passing form_fields replaces every existing field with TERMS rule blocks, which deletes any question field. Read the form first with discord_get_membership_screening. Requires the Community feature and the Manage Server permission. Returns the updated form.

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": {
      "guild_id": "<guild_id>"
    },
    "name": "discord_update_membership_screening"
  }
}

Input Schema

NameRequiredDescriptionDefault
guild_idYesDiscord server (guild) ID (snowflake).
descriptionNoWelcome message shown at the top of the screening form.
form_fieldsNoRules/agreement blocks new members must accept. Replaces the existing fields when provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / form_fields / items / additionalProperties
      Added value: +false
  2. Changed1 schema field changedv2.0.0
    • addedInput schema / properties / guild_id / pattern
      Added value: +"^\\d{17,20}$"
  3. Changed5 schema fields changedv1.6.0
    • changedInput schema / properties / form_fields / description
      Previous value: -"List of rules/questions. Each item has: label (the rule title), values (array of rule lines), required (boolean)."New value: +"Rules/agreement blocks new members must accept. Replaces the existing fields when provided."
    • changedInput schema / properties / form_fields / items / properties / label / description
      Previous value: -"Title/question for this field."New value: +"Title of this rules block."
    • changedInput schema / properties / form_fields / items / properties / required / description
      Previous value: -"Whether this field is required (default true)."New value: +"Whether the member must agree to this block. Default true."
    • changedInput schema / properties / form_fields / items / properties / values / description
      Previous value: -"Array of rule lines or answer options."New value: +"Individual rule lines shown under the label."
    • addedInput schema / properties / guild_id / description
      Added value: +"Discord server (guild) ID (snowflake)."
  4. Addedv1.5.0
  5. Removedv1.0.0
  6. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the overwrite semantics that matter most: passing form_fields replaces every existing field with TERMS rule blocks and deletes any question field. That is the single highest-risk behavior of this tool and it is stated plainly, alongside the required feature/permission and the fact that the updated form is returned.

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?

Four tight sentences, front-loaded with the action and its effect, then the destructive caveat, then the read-first pointer and prerequisites. Nothing is redundant and the riskiest fact is placed prominently rather than buried.

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?

No output schema exists, yet the description covers the return ('Returns the updated form'), the three parameters' semantics, the permission gate, and the destructive edge case. For a 3-parameter mutation on a niche Community feature, nothing an agent needs to call it safely 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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema does not: the replace-not-merge semantics of form_fields and the fact that omitted fields are left untouched. It does not elaborate on the nested label/values/required structure, but the schema already documents that fully.

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?

Names a specific verb (Update) and resource (the server's membership screening form), then enumerates exactly what can be set: the welcome description and the rules new members must agree to. The sibling discord_get_membership_screening is explicitly distinguished as the read counterpart, so an agent can choose without opening either schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent to read the form first via discord_get_membership_screening before mutating it, and states the two preconditions (Community feature enabled, Manage Server permission). It also states the partial-update rule ('Only provided fields change'), so the agent knows supplying only description is a valid, non-destructive path.

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