Skip to main content

Process Next Discord Audit Channel

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEdiscord.daily_audit_job_next
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: discord-2026.07.12.3
  • Descriptor hash: 09aee086eb320ee2a995adb4db123444bec2297fb627b34505dc43e04b0ad298

Use this when you need to advance a resumable audit by one channel. This reads one channel and advances the in-memory cursor through Discord's API and returns the processed audit, updated cursor, progress, and task status. It requires a configured Discord bot and guild with the relevant permissions.

Request Body

{
"jsonrpc": "2.0",
"id": "discord-daily-audit-job-next-example",
"method": "tools/call",
"params": {
"name": "discord.daily_audit_job_next",
"arguments": {
"task_id": "task_id_123",
"limit": "limit_example",
"include_threads": ""
}
}
}

Arguments Schema

{
"type": "object",
"title": "daily_audit_job_next input",
"required": [
"task_id"
],
"properties": {
"limit": {
"type": "string",
"title": "Limit",
"default": "",
"description": "Maximum records or matches, expressed as a positive decimal string unless typed as integer."
},
"task_id": {
"type": "string",
"title": "Task Id",
"description": "Opaque task identifier returned by the matching submit tool."
},
"include_threads": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string"
}
],
"title": "Include Threads",
"default": false,
"description": "When true, include eligible thread messages."
}
},
"description": "Validated input for the Discord MCP daily_audit_job_next tool."
}

Output Schema

{
"oneOf": [
{
"type": "object",
"required": [
"ok",
"data",
"meta"
],
"properties": {
"ok": {
"const": true
},
"data": {
"type": "object",
"properties": {
"job": {
"type": [
"object",
"null"
],
"description": "Provider data field job returned by daily_audit_job_next.",
"additionalProperties": true
},
"status": {
"type": [
"string",
"null"
],
"description": "Provider data field status returned by daily_audit_job_next."
},
"results": {
"type": [
"object",
"null"
],
"description": "Provider data field results returned by daily_audit_job_next.",
"additionalProperties": true
},
"task_id": {
"type": [
"string",
"null"
],
"description": "Provider data field task_id returned by daily_audit_job_next."
},
"channel_id": {
"type": [
"string",
"null"
],
"description": "Provider data field channel_id returned by daily_audit_job_next."
},
"channel_result": {
"type": [
"object",
"null"
],
"description": "Provider data field channel_result returned by daily_audit_job_next.",
"additionalProperties": true
},
"completed_count": {
"type": [
"integer",
"null"
],
"description": "Provider data field completed_count returned by daily_audit_job_next."
},
"remaining_count": {
"type": [
"integer",
"null"
],
"description": "Provider data field remaining_count returned by daily_audit_job_next."
}
},
"description": "the processed audit, updated cursor, progress, and task status",
"additionalProperties": true
},
"meta": {
"type": "object",
"required": [
"duration_ms",
"rate_limit",
"warnings"
],
"properties": {
"guild_id": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"thread_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"rate_limit": {
"type": "object",
"additionalProperties": true
},
"request_id": {
"type": "string"
},
"duration_ms": {
"type": "integer",
"minimum": 0
}
},
"description": "Safe execution metadata containing no credentials or raw headers.",
"additionalProperties": true
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"error",
"meta"
],
"properties": {
"ok": {
"const": false
},
"meta": {
"type": "object",
"required": [
"duration_ms",
"rate_limit",
"warnings"
],
"properties": {
"guild_id": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"thread_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"rate_limit": {
"type": "object",
"additionalProperties": true
},
"request_id": {
"type": "string"
},
"duration_ms": {
"type": "integer",
"minimum": 0
}
},
"description": "Safe execution metadata containing no credentials or raw headers.",
"additionalProperties": true
},
"error": {
"type": "object",
"required": [
"type",
"message"
],
"properties": {
"type": {
"type": "string"
},
"message": {
"type": "string"
},
"diagnostics": {
"type": "object",
"additionalProperties": true
},
"required_perms": {
"type": "array",
"items": {
"type": "string"
}
},
"discord_error_code": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
],
"title": "Discord MCP provider result",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Normalized success or semantic-error response; ok=false is a failed call."
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "discord-daily-audit-job-next-example",
"method": "tools/call",
"params": {
"name": "discord.daily_audit_job_next",
"arguments": {
"task_id": "task_id_123",
"limit": "limit_example",
"include_threads": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool discord.daily_audit_job_next executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}