Skip to main content
Glama

Get discordSlashCommand

codecks_get_discord_slash_command
Read-onlyIdempotent

Retrieve a Discord slash command by ID, optionally selecting specific fields or expanding deck and guild relations to inspect its configuration and routing details.

Instructions

Get a single discordSlashCommand by ID with optional field selection.

Available fields: autoAddRoleToThread, channelId, description, karmaForCompletion, leaderboard, maxFileSizeInBytes, name, permissions, ... Relations: deck, discordGuild

Example selection: ["autoAddRoleToThread", "channelId", "description"]

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": {
      "id": "<id>"
    },
    "name": "codecks_get_discord_slash_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesModel ID
selectionNoSelection array (fields/relations)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
include_relationsNoAttempt safe first-level relation expansion with guarded fallback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a read-only, idempotent, non-destructive, open-world call, so the description's disclosure burden is lower. It usefully enumerates retrievable fields and relations and gives an example selection, but says nothing about behavior on missing IDs, permission requirements, or cost of relation expansion beyond what the schema states.

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?

The purpose statement is front-loaded in the first sentence, followed by compact field/relation lists and a single example. The trailing ellipsis in the field list is the one weak spot — it signals omission rather than delivering a complete reference.

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 single-resource read with no output schema, the definition supplies the key missing piece: which fields and relations can be requested and an example of how. Strong annotations cover the safety profile, so the remaining absence of return-shape detail is acceptable.

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 coverage is 100%, so the schema already documents id, selection, response_format, and include_relations, making 3 the baseline. The description's enumeration of available fields ('autoAddRoleToThread, channelId, ...') and the sample selection array do add practical meaning for populating the selection parameter, but the list is truncated with an ellipsis, limiting how actionable it really is.

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?

The description opens with a specific verb and resource ('Get a single discordSlashCommand by ID') and notes optional field selection, which distinguishes it from the sibling codecks_list_discord_slash_command. It stops short of explicitly naming that sibling as the alternative, but the singular-by-ID framing makes the scope unambiguous.

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?

Usage is only implied: 'by ID' signals that this is the lookup path when an ID is known, contrasting implicitly with a list operation. There is no explicit when-to-use/when-not-to-use guidance and no mention of what happens if the ID doesn't exist.

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