get_account_opportunities_insights
Get opportunities for domain(s) with status filtering and pagination.
Read analytics
What it does
Get opportunities for domain(s) with status filtering and pagination. STATUS VALUES: NO_OPPS, OPEN, CLOSED_WON, CLOSED_LOST SORT OPTIONS: lastTouchDate (default), status, name, amount PAGINATION: Use small page sizes (25-50) with sequential calls.
Arguments
| Argument | Type | Notes | |
|---|---|---|---|
domains |
array | required | Domain strings. E.g., ['metadata.io'] |
status |
array | Filter by status. Omit for all. | |
startDate |
string | ISO 8601 format. E.g., '2025-01-01T00:00:00.000Z' | |
endDate |
string | ISO 8601 format. | |
page |
integer | 0-based page number. | |
size |
integer | Items per page (default 25, max 10000). Raise it to pull the full set in one call. | |
sort |
string | Sort field. Default: lastTouchDate one of: lastTouchDate, status, name, amount |
Request
Request template, not a complete runnable example. Replace placeholders, empty objects, arrays, and zero values with valid account-specific inputs. Read required fields and nested constraints in the full schema. Confirm the account, connected channels, and referenced assets before calling a write tool.
curl -s -X POST https://mcp-server.metadata.io/mcp \
-H "Authorization: $METADATA_PAT" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_account_opportunities_insights","arguments":{"domains":[]}}}'
Response
Recorded with these arguments. Enum values are the first the tool's own schema
declares; ids were fetched live from a list_ call immediately before.
{
"domains": [
"metadata.io"
]
}
Real, from the production server, in 573 ms. Values that identify a customer or disclose money are replaced with typed placeholders; keys, types and nesting are exactly as returned.
"[value redacted]"
Related
Other analytics tools: