Skip to main content
Glama
discord-mcp

discord-mcp

application_modify_role_connection_metadata

Idempotent

Replace all role-connection metadata records for a Discord application, removing any existing records not included. Use it to define up to 5 metadata fields for role connections.

Instructions

Purpose: Replace the application role-connection metadata records (max 5).

This is a wholesale replace - any existing record not in records is removed.

Returns: {records, count} after the update.

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": {
      "application_id": "<application_id>",
      "records": "<records>"
    },
    "name": "application_modify_role_connection_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsYesUp to 5 metadata records - wholesale replace.
application_idYesBot/app application ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A4/5.0
Behavior4/5

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

The description discloses behavior the annotations do not convey: that any existing record absent from `records` is removed, and that the call returns `{records, count}`. This is valuable context, though there is mild tension with destructiveHint=false since wholesale replacement does drop existing records; the description is actually the more informative of the two.

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?

Three short lines, front-loaded with purpose and immediately followed by the single most consequential caveat (records not listed get removed); zero filler.

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

Completeness4/5

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

For a 2-parameter mutation with full schema coverage, an output schema, and annotations, the description covers purpose, replace semantics, limits, and return shape. Only explicit routing guidance toward the getter or partial-update alternatives is missing.

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% and the schema already states maxItems=5 and describes `records` as a wholesale replace, so the description's 'max 5' note adds little beyond what the structured field already says; it adds no meaning to `application_id` or the record fields.

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 verb and resource ('Replace the application role-connection metadata records') plus a scope constraint ('max 5'), which makes it clearly distinct from the read sibling application_get_role_connection_metadata without needing to name it.

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 'wholesale replace' framing implicitly tells the agent this is the write side of the get/modify pair, but no explicit when-to-use or when-not-to-use guidance is given, and no alternative tool is named for partial/append-style updates.

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