Skip to main content
Glama
discord-mcp

discord-mcp

application_get_activity_instance

Read-onlyIdempotent

Fetches a running Discord Activity instance by application and instance ID, returning launch, location, and user data for real-time activity tracking.

Instructions

Purpose: Fetch a running Activity instance by id (Discord Activities API).

Note: discord-api-types/v10 does not yet expose Routes.applicationActivityInstance, so this tool calls the raw path /applications/{application.id}/activity-instances/{instance_id}.

Returns: {application_id, instance_id, launch_id?, location?, users?}.

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

Input Schema

NameRequiredDescriptionDefault
instance_idYesActivity instance id (returned by the activity launch event)
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.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds a genuinely useful note that the route is not yet exposed in discord-api-types and is called as a raw path, but it says nothing about auth/permissions or behavior when the instance is absent or not running.

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?

Three labeled lines, front-loaded with purpose, and the raw-path caveat is short and earns its place. The 'Returns' line restates the shape already available in the output schema, which is mild redundancy.

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?

A read-only, two-parameter tool whose annotations and output schema carry the safety and return-format burden; the description covers purpose, the workaround path, and return keys. Only failure-mode and permission context is missing, which is minor at this complexity.

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% and both parameters carry descriptions, so baseline is 3; the description adds provenance for instance_id by noting the instance is 'running' and tied to the Activities API, reinforcing where the id comes from. No format or constraint details beyond schema, so not a 5.

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?

States a specific verb and resource: 'Fetch a running Activity instance by id', and scopes it to the Discord Activities API. An agent reading only this knows exactly what is retrieved and by what key.

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 'running' implies the instance must be active, which is a weak usage constraint, but there is no explicit when-to-use/when-not guidance or alternatives. No sibling covers the same resource, so the omission is less costly, yet nothing actively routes the agent.

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