Skip to main content
Glama

discord_update_membership_screening

Idempotent

Update your server's membership screening form by setting the welcome description and the rules new members must agree to. 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. Requires the Community feature and the Manage Server permission. Returns the updated form.

Input Schema

TableJSON 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.1/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=true. The description adds useful behavioral context beyond those annotations: 'Only provided fields change' clarifies partial-update semantics, prerequisites are disclosed, and 'Returns the updated form' tells the agent what to expect despite the absence of an output schema.

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?

Two sentences with no filler: the action and target are front-loaded, followed by the partial-update caveat, prerequisites, and return value. Every sentence earns its place.

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 an update tool with three parameters, one required, and no output schema, the description is complete. It covers what updates, what changes, what prerequisites are needed, and what is returned. The only remaining nuance, that form_fields replaces existing rules, is already present in the input schema.

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 description coverage is 100%, so the schema already documents each parameter. The description summarizes the meaning of description and form_fields, but does not add syntax, formatting, or replacement semantics beyond what the schema already provides. The baseline of 3 applies here.

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 names a specific verb and resource: 'Update the server's membership screening form' and explicitly identifies the two things it sets: 'welcome description' and 'rules new members must agree to.' This clearly distinguishes it from the sibling discord_get_membership_screening, which reads the same resource.

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 when to use the tool (to modify the membership screening form) and provides important prerequisites: the Community feature and Manage Server permission. However, it does not explicitly mention alternatives such as discord_get_membership_screening for reading the current form, nor does it state when not to use this tool.

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