Report Bug
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
write - Catalog version:
portal-agent-contract-v2-2026.07.12.1 - Descriptor hash:
b38c35622b0cd766ff8d34d8021d39b30511d74ed29b67adee09bc6a1f71998e
Create a support ticket for a failed tool call.
Request Body
{
"jsonrpc": "2.0",
"id": "portal-report-bug-example",
"method": "tools/call",
"params": {
"name": "portal.report_bug",
"arguments": {
"mcpServiceId": "mcpServiceId_123",
"toolName": "toolName_example",
"query": "",
"response": "",
"errorSummary": "errorSummary_example",
"ide": "ide_123",
"authType": "authType_example",
"provider": "provider_123",
"severity": "severity_example",
"tokenUsage": {}
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"mcpServiceId",
"toolName",
"query",
"response",
"errorSummary"
],
"properties": {
"ide": {
"type": "string",
"description": "Optional calling agent or IDE."
},
"query": {
"description": "Safe failed request context with secrets removed."
},
"authType": {
"type": "string",
"description": "Optional authentication mode."
},
"provider": {
"type": "string",
"description": "Optional client provider."
},
"response": {
"description": "Safe failed response context with secrets removed."
},
"severity": {
"type": "string",
"description": "Optional impact severity."
},
"toolName": {
"type": "string",
"description": "Failed native or Portal tool name."
},
"tokenUsage": {
"type": "object",
"description": "Optional numeric token-usage metadata.",
"additionalProperties": true
},
"errorSummary": {
"type": "string",
"description": "Concise failure summary."
},
"mcpServiceId": {
"type": "string",
"description": "Canonical failed service id."
},
"classification": {
"type": "string",
"description": "Optional stable failure class."
},
"responsibility": {
"type": "string",
"description": "Optional responsible party."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"ok",
"serviceId",
"toolName",
"traceId",
"summary",
"data",
"resource",
"pagination",
"nextAction",
"error"
],
"properties": {
"ok": {
"type": "boolean"
},
"data": {
"description": "Tool result."
},
"error": {
"type": [
"object",
"null"
]
},
"summary": {
"type": "string"
},
"traceId": {
"type": "string"
},
"resource": {
"type": [
"object",
"null"
]
},
"toolName": {
"type": "string"
},
"serviceId": {
"type": "string"
},
"nextAction": {
"type": [
"string",
"null"
]
},
"pagination": {
"type": [
"object",
"null"
]
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "portal-report-bug-example",
"method": "tools/call",
"params": {
"name": "portal.report_bug",
"arguments": {
"mcpServiceId": "mcpServiceId_123",
"toolName": "toolName_example",
"query": "",
"response": "",
"errorSummary": "errorSummary_example",
"ide": "ide_123",
"authType": "authType_example",
"provider": "provider_123",
"severity": "severity_example",
"tokenUsage": {}
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "portal-report-bug-example",
"method": "tools/call",
"params": {
"name": "portal.report_bug",
"arguments": {
"mcpServiceId": "mcpServiceId_123",
"toolName": "toolName_example",
"query": "",
"response": "",
"errorSummary": "errorSummary_example",
"ide": "ide_123",
"authType": "authType_example",
"provider": "provider_123",
"severity": "severity_example",
"tokenUsage": {}
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "portal-report-bug-example",
"method": "tools/call",
"params": {
"name": "portal.report_bug",
"arguments": {
"mcpServiceId": "mcpServiceId_123",
"toolName": "toolName_example",
"query": "",
"response": "",
"errorSummary": "errorSummary_example",
"ide": "ide_123",
"authType": "authType_example",
"provider": "provider_123",
"severity": "severity_example",
"tokenUsage": {}
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool portal.report_bug executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}