Skip to main content

Call an allowlisted Apollo endpoint

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEapollo.apollo_raw_request
  • Contract tier: legacy
  • Risk: destructive
  • Catalog version: 1.0.2
  • Descriptor hash: 8da34c26ae88a8d786fc432cbe8d717245fac29428f50c912b27c8c2dcea1181

Use this advanced legacy fallback only when no canonical Apollo tool covers an allowlisted API or OAuth endpoint. It contacts Apollo; non-read methods require confirm=true and may change or overwrite data. The URL host/path and body/response sizes are enforced by server allowlists.

Request Body

{
"jsonrpc": "2.0",
"id": "apollo-apollo-raw-request-example",
"method": "tools/call",
"params": {
"name": "apollo.apollo_raw_request",
"arguments": {
"method": "GET",
"url": "https://example.com/resource",
"body": "",
"params": "",
"compact": "",
"confirm": false,
"max_items": "",
"include_raw": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"method",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Allowlisted Apollo HTTPS URL."
},
"body": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
}
],
"description": "Apollo JSON request body."
},
{
"type": "null"
}
],
"default": null,
"description": "Apollo JSON request body."
},
"method": {
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS"
],
"type": "string",
"description": "HTTP method for the allowlisted Apollo request."
},
"params": {
"anyOf": [
{
"type": "object",
"description": "Apollo endpoint parameters.",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Apollo endpoint parameters."
},
"compact": {
"anyOf": [
{
"type": "boolean",
"description": "Override the server default for token-efficient list truncation."
},
{
"type": "null"
}
],
"default": null,
"description": "Override the server default for token-efficient list truncation."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Must be true for methods other than GET, HEAD, and OPTIONS."
},
"max_items": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"description": "Maximum result items returned when compact mode is enabled."
},
{
"type": "null"
}
],
"default": null,
"description": "Maximum result items returned when compact mode is enabled."
},
"include_raw": {
"type": "boolean",
"default": false,
"description": "Include the unnormalized Apollo response."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the requested operation completed successfully."
},
"data": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "Normalized provider or navigation result."
},
{
"type": "null"
}
],
"default": null,
"description": "Normalized provider or navigation result."
},
"meta": {
"type": "object",
"description": "Safe request, pagination, and truncation metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"description": "Safe error details when ok is false.",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Safe error details when ok is false."
}
},
"description": "Apollo MCP normalized response envelope.",
"additionalProperties": false
}

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": "apollo-apollo-raw-request-example",
"method": "tools/call",
"params": {
"name": "apollo.apollo_raw_request",
"arguments": {
"method": "GET",
"url": "https://example.com/resource",
"body": "",
"params": "",
"compact": "",
"confirm": false,
"max_items": "",
"include_raw": false
}
}
}'

Example Responses

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