Skip to main content
Glama
discord-mcp

discord-mcp

application_get_role_connection_metadata

Read-onlyIdempotent

List an application's role-connection metadata records used for linked role criteria. Returns the metadata definitions and count by application ID.

Instructions

Purpose: List the application role-connection metadata records (used for "linked roles" criteria).

Returns: {records, count} where record.type ∈ 1..8 (INTEGER_LESS_THAN_OR_EQUAL=1, …, BOOLEAN_NOT_EQUAL=8).

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>"
    },
    "name": "application_get_role_connection_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
application_idYesBot/app application ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.22.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the return shape `{records, count}` and the meaning of `record.type` values, which is useful, but since an output schema exists, this largely restates structured data rather than disclosing new behavioral traits like pagination or scoping.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with an explicit "Purpose" and "Returns" structure and no wasted wording. The enum enumeration is slightly verbose but still informative.

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?

Annotations cover the safety profile and an output schema covers return values, so the description only needs to establish purpose, which it does clearly. A minor gap is the absence of any note on result size limits or pagination for a list operation.

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?

With only one parameter at 100% schema description coverage, the schema already documents `application_id` fully (including the pattern and "Bot/app application ID"). The description adds no additional parameter meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

A specific verb ("List") plus a precise resource ("application role-connection metadata records"), with a clarifying parenthetical about "linked roles" criteria. The read-only framing implicitly separates it from the sibling application_modify_role_connection_metadata, though the sibling is never named.

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 word "List" and the read-only annotations imply this is the retrieval counterpart to the modify tool, so the when-to-use context is inferable. However, there is no explicit statement of when to prefer this over the modify sibling or any precondition guidance, leaving usage to be inferred.

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